Class EsPhysicalOperationProviders.DefaultShardContext
java.lang.Object
org.elasticsearch.xpack.esql.planner.EsPhysicalOperationProviders.DefaultShardContext
- All Implemented Interfaces:
ShardContext,EsPhysicalOperationProviders.ShardContext
- Enclosing class:
EsPhysicalOperationProviders
public static class EsPhysicalOperationProviders.DefaultShardContext
extends Object
implements EsPhysicalOperationProviders.ShardContext
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultShardContext(int index, SearchExecutionContext ctx, AliasFilter aliasFilter) -
Method Summary
Modifier and TypeMethodDescriptionblockLoader(String name, boolean asUnsupportedSource, MappedFieldType.FieldExtractPreference fieldExtractPreference) Returns something to load values from this field into aBlock.buildSort(List<SortBuilder<?>> sorts) intindex()Build something to load source_source.org.apache.lucene.search.IndexSearchersearcher()org.apache.lucene.search.QuerytoQuery(QueryBuilder queryBuilder) Convert aQueryBuilderinto a reallucene query.
-
Constructor Details
-
DefaultShardContext
-
-
Method Details
-
index
public int index()- Specified by:
indexin interfaceShardContext
-
searcher
public org.apache.lucene.search.IndexSearcher searcher()- Specified by:
searcherin interfaceShardContext
-
buildSort
- Specified by:
buildSortin interfaceShardContext- Throws:
IOException
-
shardIdentifier
- Specified by:
shardIdentifierin interfaceShardContext
-
newSourceLoader
Description copied from interface:EsPhysicalOperationProviders.ShardContextBuild something to load source_source.- Specified by:
newSourceLoaderin interfaceEsPhysicalOperationProviders.ShardContext
-
toQuery
Description copied from interface:EsPhysicalOperationProviders.ShardContextConvert aQueryBuilderinto a reallucene query.- Specified by:
toQueryin interfaceEsPhysicalOperationProviders.ShardContext
-
blockLoader
public BlockLoader blockLoader(String name, boolean asUnsupportedSource, MappedFieldType.FieldExtractPreference fieldExtractPreference) Description copied from interface:EsPhysicalOperationProviders.ShardContextReturns something to load values from this field into aBlock.- Specified by:
blockLoaderin interfaceEsPhysicalOperationProviders.ShardContext
-