Uses of Interface
org.apache.drill.exec.planner.index.IndexDescriptor
Packages that use IndexDescriptor
Package
Description
-
Uses of IndexDescriptor in org.apache.drill.exec.planner.index
Classes in org.apache.drill.exec.planner.index that implement IndexDescriptorModifier and TypeClassDescriptionclass
Abstract base class for an Index descriptorclass
Fields in org.apache.drill.exec.planner.index with type parameters of type IndexDescriptorModifier and TypeFieldDescriptionprotected List<IndexDescriptor>
AbstractIndexCollection.indexes
A set of indexes for a particular tableMethods in org.apache.drill.exec.planner.index that return IndexDescriptorModifier and TypeMethodDescriptionFunctionalIndexInfo.getIndexDesc()
IndexProperties.getIndexDesc()
IndexSelector.DrillIndexProperties.getIndexDesc()
Methods in org.apache.drill.exec.planner.index that return types with arguments of type IndexDescriptorModifier and TypeMethodDescriptionIndexConditionInfo.Builder.getFirstKeyIndexConditionMap()
Get a map of Index=>IndexConditionInfo, each IndexConditionInfo has the separated condition and remainder condition.IndexConditionInfo.Builder.getIndexConditionMap()
Get a map of Index=>IndexConditionInfo, each IndexConditionInfo has the separated condition and remainder condition.IndexConditionInfo.Builder.getIndexConditionMap
(List<IndexDescriptor> indexList) Get a map of Index=>IndexConditionInfo, each IndexConditionInfo has the separated condition and remainder condition.AbstractIndexCollection.iterator()
Methods in org.apache.drill.exec.planner.index with parameters of type IndexDescriptorModifier and TypeMethodDescriptionboolean
AbstractIndexCollection.addIndex
(IndexDescriptor index) boolean
IndexCollection.addIndex
(IndexDescriptor index) Add a new index to the collection.void
IndexSelector.addIndex
(IndexDescriptor indexDesc, boolean isCovering, int numProjectedFields) static org.apache.calcite.rel.RelCollation
IndexPlanUtils.buildCollationCoveringIndexScan
(IndexDescriptor indexDesc, IndexCallContext context) Build the collation property for index scanstatic org.apache.calcite.rel.RelCollation
IndexPlanUtils.buildCollationForExpressions
(Map<LogicalExpression, Integer> projectExprs, IndexDescriptor indexDesc, IndexCallContext context) Given index, compute the collations for a list of projected expressions(from Scan's rowType or Project's ) in the contextstatic org.apache.calcite.rel.RelCollation
IndexPlanUtils.buildCollationNonCoveringIndexScan
(IndexDescriptor indexDesc, org.apache.calcite.rel.type.RelDataType indexScanRowType, org.apache.calcite.rel.type.RelDataType restrictedScanRowType, IndexCallContext context) static ScanPrel
IndexPlanUtils.buildCoveringIndexScan
(DrillScanRelBase origScan, IndexGroupScan indexGroupScan, IndexCallContext indexContext, IndexDescriptor indexDesc) IndexDiscoverBase.buildDrillTable
(IndexDescriptor idxDesc) Abstract function getDrillTable will be implemented the IndexDiscover within storage plugin(e.g.Statistics.buildUniqueIndexIdentifier
(IndexDescriptor idx) Returns a unique index identifierIndexPlanUtils.conditionIndexed
(IndexableExprMarker exprMarker, IndexDescriptor indexDesc) Check if any of the fields of the index are present in a list of LogicalExpressions supplied as part of IndexableExprMarkerIndexDiscoverBase.getExternalDrillTable
(IndexDescriptor idxDesc) When there is storageName in IndexDescriptor, get a DrillTable instance based on the StorageName and other informaiton in idxDesc that helps identifying the table.abstract DrillTable
IndexDiscoverBase.getNativeDrillTable
(IndexDescriptor idxDesc) When it is native index(index provided by native storage plugin), the actual IndexDiscover should provide the implementation to get the DrillTable object of index, Otherwise, we call IndexDiscoverable interface exposed from external storage plugin's SchemaFactory to get the desired DrillTable.boolean
IndexConditionInfo.Builder.isConditionPrefix
(IndexDescriptor indexDesc, org.apache.calcite.rex.RexNode initCondition) Given a RexNode corresponding to the condition expression tree and the index descriptor, check if one or more columns involved in the condition tree form a prefix of the columns in the index keys.org.apache.calcite.rex.RexNode
IndexSelector.DrillIndexProperties.remainderCondition
(IndexDescriptor indexDesc, IndexConditionInfo.Builder builder, org.apache.calcite.rex.RexNode initCondition) boolean
AbstractIndexCollection.removeIndex
(IndexDescriptor index) boolean
IndexCollection.removeIndex
(IndexDescriptor index) Remove an index (identified by table name and index name) from the collection.Method parameters in org.apache.drill.exec.planner.index with type arguments of type IndexDescriptorModifier and TypeMethodDescriptionIndexConditionInfo.Builder.getIndexConditionMap
(List<IndexDescriptor> indexList) Get a map of Index=>IndexConditionInfo, each IndexConditionInfo has the separated condition and remainder condition.static IndexConditionInfo.Builder
IndexConditionInfo.newBuilder
(org.apache.calcite.rex.RexNode condition, Iterable<IndexDescriptor> indexes, org.apache.calcite.rex.RexBuilder builder, org.apache.calcite.rel.RelNode scan) Constructors in org.apache.drill.exec.planner.index with parameters of type IndexDescriptorModifierConstructorDescriptionBuilder
(org.apache.calcite.rex.RexNode condition, IndexDescriptor index, org.apache.calcite.rex.RexBuilder builder, DrillScanRel scan) DrillIndexProperties
(IndexDescriptor indexDescriptor, boolean isCovering, org.apache.calcite.rex.RexNode otherColumnsRemainderFilter, org.apache.calcite.rex.RexBuilder rexBuilder, int numProjectedFields, double totalRows, DrillScanRelBase primaryTableScan) Constructor parameters in org.apache.drill.exec.planner.index with type arguments of type IndexDescriptorModifierConstructorDescriptionBuilder
(org.apache.calcite.rex.RexNode condition, Iterable<IndexDescriptor> indexes, org.apache.calcite.rex.RexBuilder builder, org.apache.calcite.rel.RelNode scan) -
Uses of IndexDescriptor in org.apache.drill.exec.planner.index.generators
Fields in org.apache.drill.exec.planner.index.generators declared as IndexDescriptorModifier and TypeFieldDescriptionprotected final IndexDescriptor
CoveringIndexPlanGenerator.indexDesc
protected final IndexDescriptor
CoveringPlanNoFilterGenerator.indexDesc
Method parameters in org.apache.drill.exec.planner.index.generators with type arguments of type IndexDescriptorModifier and TypeMethodDescriptionorg.apache.calcite.rel.RelNode
IndexIntersectPlanGenerator.buildIntersectPlan
(Map.Entry<IndexDescriptor, org.apache.calcite.rex.RexNode> pair, org.apache.calcite.rel.RelNode right, boolean generateDistribution) Constructors in org.apache.drill.exec.planner.index.generators with parameters of type IndexDescriptorModifierConstructorDescriptionNonCoveringIndexPlanGenerator
(IndexLogicalPlanCallContext indexContext, IndexDescriptor indexDesc, IndexGroupScan indexGroupScan, org.apache.calcite.rex.RexNode indexCondition, org.apache.calcite.rex.RexNode remainderCondition, org.apache.calcite.rex.RexBuilder builder, PlannerSettings settings) Constructor parameters in org.apache.drill.exec.planner.index.generators with type arguments of type IndexDescriptorModifierConstructorDescriptionIndexIntersectPlanGenerator
(IndexLogicalPlanCallContext indexContext, Map<IndexDescriptor, IndexConditionInfo> indexInfoMap, org.apache.calcite.rex.RexBuilder builder, PlannerSettings settings)