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 useAggregateMetricDoubleWhenNotSupported, boolean useDenseVectorWhenNotSupported)
extends Record
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPreAnalysis(IndexMode indexMode, IndexPattern indexPattern, List<Enrich> enriches, List<IndexPattern> lookupIndices, boolean useAggregateMetricDoubleWhenNotSupported, boolean useDenseVectorWhenNotSupported) 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.final StringtoString()Returns a string representation of this record class.booleanReturns the value of theuseAggregateMetricDoubleWhenNotSupportedrecord component.booleanReturns the value of theuseDenseVectorWhenNotSupportedrecord component.
-
Field Details
-
EMPTY
-
-
Constructor Details
-
PreAnalysis
public PreAnalysis(IndexMode indexMode, IndexPattern indexPattern, List<Enrich> enriches, List<IndexPattern> lookupIndices, boolean useAggregateMetricDoubleWhenNotSupported, boolean useDenseVectorWhenNotSupported) 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 componentuseAggregateMetricDoubleWhenNotSupported- the value for theuseAggregateMetricDoubleWhenNotSupportedrecord componentuseDenseVectorWhenNotSupported- the value for theuseDenseVectorWhenNotSupportedrecord 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
-
useAggregateMetricDoubleWhenNotSupported
public boolean useAggregateMetricDoubleWhenNotSupported()Returns the value of theuseAggregateMetricDoubleWhenNotSupportedrecord component.- Returns:
- the value of the
useAggregateMetricDoubleWhenNotSupportedrecord component
-
useDenseVectorWhenNotSupported
public boolean useDenseVectorWhenNotSupported()Returns the value of theuseDenseVectorWhenNotSupportedrecord component.- Returns:
- the value of the
useDenseVectorWhenNotSupportedrecord component
-