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 index, List<Enrich> enriches, List<IndexPattern> lookupIndices)
extends Record
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPreAnalysis(IndexMode indexMode, IndexPattern index, List<Enrich> enriches, List<IndexPattern> lookupIndices) 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.index()Returns the value of theindexrecord component.Returns the value of theindexModerecord component.Returns the value of thelookupIndicesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
EMPTY
-
-
Constructor Details
-
PreAnalysis
public PreAnalysis(IndexMode indexMode, IndexPattern index, List<Enrich> enriches, List<IndexPattern> lookupIndices) Creates an instance of aPreAnalysisrecord class.- Parameters:
indexMode- the value for theindexModerecord componentindex- the value for theindexrecord componentenriches- the value for theenrichesrecord componentlookupIndices- the value for thelookupIndicesrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
indexMode
Returns the value of theindexModerecord component.- Returns:
- the value of the
indexModerecord component
-
index
Returns the value of theindexrecord component.- Returns:
- the value of the
indexrecord 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
-