Uses of Interface
org.apache.druid.query.policy.Policy
Packages that use Policy
-
Uses of Policy in org.apache.druid.query
Methods in org.apache.druid.query that return PolicyMethods in org.apache.druid.query with parameters of type PolicyModifier and TypeMethodDescriptionstatic RestrictedDataSourceRestrictedDataSource.create(DataSource base, Policy policy) Method parameters in org.apache.druid.query with type arguments of type PolicyModifier and TypeMethodDescriptiondefault DataSourceDataSource.withPolicies(Map<String, Optional<Policy>> policyMap, PolicyEnforcer policyEnforcer) Returns an updated datasource based on the policy restrictions on tables.RestrictedDataSource.withPolicies(Map<String, Optional<Policy>> policyMap, PolicyEnforcer policyEnforcer) TableDataSource.withPolicies(Map<String, Optional<Policy>> policyMap, PolicyEnforcer policyEnforcer) -
Uses of Policy in org.apache.druid.query.policy
Classes in org.apache.druid.query.policy that implement PolicyModifier and TypeClassDescriptionclassRepresents a special kind of policy restriction, indicating that this table is restricted, but doesn't impose any restriction to a user.classRepresents a basic row filter policy restriction.Methods in org.apache.druid.query.policy with parameters of type PolicyModifier and TypeMethodDescriptionbooleanbooleanReturns true if the policy complies with the policy enforcer.booleandefault voidPolicyEnforcer.validateOrElseThrow(TableDataSource ds, Policy policy) Validates aDataSourceagainst the policy enforcer.default voidPolicyEnforcer.validateOrElseThrow(Segment segment, Policy policy) Validates aSegmentagainst the policy enforcer. -
Uses of Policy in org.apache.druid.segment
Fields in org.apache.druid.segment declared as PolicyConstructors in org.apache.druid.segment with parameters of type PolicyModifierConstructorDescriptionRestrictedCursorFactory(CursorFactory delegate, Policy policy) RestrictedSegment(Segment delegate, Policy policy)