public class DrillIndexCollection extends AbstractIndexCollection
IndexCollection.IndexCollectionTypeindexes| Constructor and Description |
|---|
DrillIndexCollection(org.apache.calcite.rel.RelNode scanRel,
Set<DrillIndexDescriptor> indexes) |
| Modifier and Type | Method and Description |
|---|---|
IndexGroupScan |
getGroupScan()
If this IndexCollection exposes a single GroupScan, return the GroupScan instance.
|
IndexCollection.IndexCollectionType |
getIndexCollectionType()
Get the type of this index based on
IndexCollection.IndexCollectionType |
double |
getRows(org.apache.calcite.rex.RexNode indexCondition)
Get the estimated row count for a single index condition
|
boolean |
supportsFullTextSearch()
Whether or not the index supports full-text search (to allow pushing down such filters)
|
boolean |
supportsIndexSelection()
Whether or not this index collection supports index selection (selecting an
appropriate index out of multiple candidates).
|
boolean |
supportsRowCountStats()
Whether or not the index supports getting row count statistics
|
addIndex, clearAll, isColumnIndexed, iterator, removeIndexclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic DrillIndexCollection(org.apache.calcite.rel.RelNode scanRel,
Set<DrillIndexDescriptor> indexes)
public boolean supportsIndexSelection()
IndexCollectionsupportsIndexSelection in interface IndexCollectionsupportsIndexSelection in class AbstractIndexCollectionpublic boolean supportsRowCountStats()
IndexCollectionsupportsRowCountStats in interface IndexCollectionsupportsRowCountStats in class AbstractIndexCollectionpublic boolean supportsFullTextSearch()
IndexCollectionsupportsFullTextSearch in interface IndexCollectionsupportsFullTextSearch in class AbstractIndexCollectionpublic double getRows(org.apache.calcite.rex.RexNode indexCondition)
IndexCollectiongetRows in interface IndexCollectiongetRows in class AbstractIndexCollectionindexCondition - The index condition (e.g index_col1 < 10 AND index_col2 = 'abc')public IndexGroupScan getGroupScan()
IndexCollectionpublic IndexCollection.IndexCollectionType getIndexCollectionType()
IndexCollectionIndexCollection.IndexCollectionTypeIndexCollection.IndexCollectionTypeCopyright © 2021 The Apache Software Foundation. All rights reserved.