Class DatasetResolutionService
java.lang.Object
org.elasticsearch.xpack.esql.datasources.dataset.DatasetResolutionService
Resolves dataset name expressions (including wildcards) to
Dataset instances, following the same
resolution flow as ViewResolutionService. Wildcards may expand across
the wider index namespace and are filtered down to datasets, while an explicit name must resolve to a dataset;
explicit missing, hidden, or co-resident foreign resources are reported as not-found. This is deliberately
stricter than view resolution, which returns an empty result for an explicit name that only matches a
co-resident foreign resource rather than 404-ing it; see the dataset-strict contract from #152497.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionDatasetResolutionService(IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and TypeMethodDescriptionresolveDatasets(ProjectState projectState, String[] indexPatterns, IndicesOptions indicesOptions, ResolvedIndexExpressions resolvedIndexExpressions)
-
Constructor Details
-
DatasetResolutionService
-
-
Method Details
-
resolveDatasets
public DatasetResolutionService.DatasetResolutionResult resolveDatasets(ProjectState projectState, String[] indexPatterns, IndicesOptions indicesOptions, ResolvedIndexExpressions resolvedIndexExpressions)
-