Class IndexResolver
java.lang.Object
org.elasticsearch.xpack.esql.session.IndexResolver
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordInformation for resolving a field.static interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IndicesOptionsstatic final IndexResolver.OriginalIndexExtractorstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexResolutionmergedMappings(String indexPattern, IndexResolver.FieldsInfo fieldsInfo, IndexResolver.OriginalIndexExtractor originalIndexExtractor) voidresolveFlatWorldIndicesVersioned(String indexPattern, String projectRouting, Set<String> fieldNames, QueryBuilder requestFilter, boolean includeAllDimensions, boolean useAggregateMetricDoubleWhenNotSupported, boolean useDenseVectorWhenNotSupported, ActionListener<Versioned<IndexResolution>> listener) voidresolveIndices(String indexPattern, Set<String> fieldNames, ActionListener<IndexResolution> listener) Resolves a pattern to one (potentially compound meaning that spawns multiple indices) mapping.voidresolveIndicesVersioned(String indexPattern, Set<String> fieldNames, QueryBuilder requestFilter, boolean includeAllDimensions, boolean useAggregateMetricDoubleWhenNotSupported, boolean useDenseVectorWhenNotSupported, IndicesExpressionGrouper indicesExpressionGrouper, ActionListener<Versioned<IndexResolution>> listener) Resolves a pattern to one (potentially compound meaning that spawns multiple indices) mapping.
-
Field Details
-
ALL_FIELDS
-
INDEX_METADATA_FIELD
-
UNMAPPED
- See Also:
-
DEFAULT_OPTIONS
-
DO_NOT_GROUP
-
-
Constructor Details
-
IndexResolver
-
-
Method Details
-
resolveIndices
public void resolveIndices(String indexPattern, Set<String> fieldNames, ActionListener<IndexResolution> listener) Resolves a pattern to one (potentially compound meaning that spawns multiple indices) mapping. -
resolveIndicesVersioned
public void resolveIndicesVersioned(String indexPattern, Set<String> fieldNames, QueryBuilder requestFilter, boolean includeAllDimensions, boolean useAggregateMetricDoubleWhenNotSupported, boolean useDenseVectorWhenNotSupported, IndicesExpressionGrouper indicesExpressionGrouper, ActionListener<Versioned<IndexResolution>> listener) Resolves a pattern to one (potentially compound meaning that spawns multiple indices) mapping. Also retrieves the minimum transport version available in the cluster (and remotes). -
resolveFlatWorldIndicesVersioned
public void resolveFlatWorldIndicesVersioned(String indexPattern, String projectRouting, Set<String> fieldNames, QueryBuilder requestFilter, boolean includeAllDimensions, boolean useAggregateMetricDoubleWhenNotSupported, boolean useDenseVectorWhenNotSupported, ActionListener<Versioned<IndexResolution>> listener) -
mergedMappings
public static IndexResolution mergedMappings(String indexPattern, IndexResolver.FieldsInfo fieldsInfo, IndexResolver.OriginalIndexExtractor originalIndexExtractor)
-