Package org.apache.druid.query.policy
Class NoRestrictionPolicy
java.lang.Object
org.apache.druid.query.policy.NoRestrictionPolicy
- All Implemented Interfaces:
Policy
Represents a special kind of policy restriction, indicating that this table is restricted, but doesn't impose any restriction
to a user.
-
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static NoRestrictionPolicyinstance()toString()visit(CursorBuildSpec spec) Apply this policy to aCursorBuildSpecto seamlessly enforce policies for cursor-based queries.
-
Method Details
-
instance
-
visit
Description copied from interface:PolicyApply this policy to aCursorBuildSpecto seamlessly enforce policies for cursor-based queries. The application must encapsulate 100% of the requirements of this policy.Any transforms done to the spec must be sure to update
CursorBuildSpec.getPhysicalColumns()andCursorBuildSpec.getVirtualColumns()as needed to ensure the underlyingCursorHolderthat is being restricted has accurate information about the set of required columns. -
toString
-
equals
-
hashCode
public int hashCode()
-