Record Class PreAnalyzer.PreAnalysis
java.lang.Object
java.lang.Record
org.elasticsearch.xpack.esql.analysis.PreAnalyzer.PreAnalysis
- Enclosing class:
PreAnalyzer
public static record PreAnalyzer.PreAnalysis(IndexMode indexMode, IndexPattern indexPattern, List<Enrich> enriches, List<IndexPattern> lookupIndices, boolean supportsAggregateMetricDouble, boolean supportsDenseVector)
extends Record
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPreAnalysis(IndexMode indexMode, IndexPattern indexPattern, List<Enrich> enriches, List<IndexPattern> lookupIndices, boolean supportsAggregateMetricDouble, boolean supportsDenseVector) Creates an instance of aPreAnalysisrecord class. -
Method Summary
Modifier and TypeMethodDescriptionenriches()Returns the value of theenrichesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theindexModerecord component.Returns the value of theindexPatternrecord component.Returns the value of thelookupIndicesrecord component.booleanReturns the value of thesupportsAggregateMetricDoublerecord component.booleanReturns the value of thesupportsDenseVectorrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
EMPTY
-
-
Constructor Details
-
PreAnalysis
public PreAnalysis(IndexMode indexMode, IndexPattern indexPattern, List<Enrich> enriches, List<IndexPattern> lookupIndices, boolean supportsAggregateMetricDouble, boolean supportsDenseVector) Creates an instance of aPreAnalysisrecord class.- Parameters:
indexMode- the value for theindexModerecord componentindexPattern- the value for theindexPatternrecord componentenriches- the value for theenrichesrecord componentlookupIndices- the value for thelookupIndicesrecord componentsupportsAggregateMetricDouble- the value for thesupportsAggregateMetricDoublerecord componentsupportsDenseVector- the value for thesupportsDenseVectorrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
indexMode
Returns the value of theindexModerecord component.- Returns:
- the value of the
indexModerecord component
-
indexPattern
Returns the value of theindexPatternrecord component.- Returns:
- the value of the
indexPatternrecord component
-
enriches
Returns the value of theenrichesrecord component.- Returns:
- the value of the
enrichesrecord component
-
lookupIndices
Returns the value of thelookupIndicesrecord component.- Returns:
- the value of the
lookupIndicesrecord component
-
supportsAggregateMetricDouble
public boolean supportsAggregateMetricDouble()Returns the value of thesupportsAggregateMetricDoublerecord component.- Returns:
- the value of the
supportsAggregateMetricDoublerecord component
-
supportsDenseVector
public boolean supportsDenseVector()Returns the value of thesupportsDenseVectorrecord component.- Returns:
- the value of the
supportsDenseVectorrecord component
-