Record Class EsqlSession.PreAnalysisResult
java.lang.Object
java.lang.Record
org.elasticsearch.xpack.esql.session.EsqlSession.PreAnalysisResult
- Enclosing class:
EsqlSession
public static record EsqlSession.PreAnalysisResult(IndexResolution indices, Map<String,IndexResolution> lookupIndices, EnrichResolution enrichResolution, Set<String> fieldNames, Set<String> wildcardJoinIndices, InferenceResolution inferenceResolution)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPreAnalysisResult(EnrichResolution enrichResolution, Set<String> fieldNames, Set<String> wildcardJoinIndices) PreAnalysisResult(IndexResolution indices, Map<String, IndexResolution> lookupIndices, EnrichResolution enrichResolution, Set<String> fieldNames, Set<String> wildcardJoinIndices, InferenceResolution inferenceResolution) Creates an instance of aPreAnalysisResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theenrichResolutionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefieldNamesrecord component.final inthashCode()Returns a hash code value for this object.indices()Returns the value of theindicesrecord component.Returns the value of theinferenceResolutionrecord component.Returns the value of thelookupIndicesrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thewildcardJoinIndicesrecord component.
-
Constructor Details
-
PreAnalysisResult
public PreAnalysisResult(EnrichResolution enrichResolution, Set<String> fieldNames, Set<String> wildcardJoinIndices) -
PreAnalysisResult
public PreAnalysisResult(IndexResolution indices, Map<String, IndexResolution> lookupIndices, EnrichResolution enrichResolution, Set<String> fieldNames, Set<String> wildcardJoinIndices, InferenceResolution inferenceResolution) Creates an instance of aPreAnalysisResultrecord class.- Parameters:
indices- the value for theindicesrecord componentlookupIndices- the value for thelookupIndicesrecord componentenrichResolution- the value for theenrichResolutionrecord componentfieldNames- the value for thefieldNamesrecord componentwildcardJoinIndices- the value for thewildcardJoinIndicesrecord componentinferenceResolution- the value for theinferenceResolutionrecord 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). -
indices
Returns the value of theindicesrecord component.- Returns:
- the value of the
indicesrecord component
-
lookupIndices
Returns the value of thelookupIndicesrecord component.- Returns:
- the value of the
lookupIndicesrecord component
-
enrichResolution
Returns the value of theenrichResolutionrecord component.- Returns:
- the value of the
enrichResolutionrecord component
-
fieldNames
Returns the value of thefieldNamesrecord component.- Returns:
- the value of the
fieldNamesrecord component
-
wildcardJoinIndices
Returns the value of thewildcardJoinIndicesrecord component.- Returns:
- the value of the
wildcardJoinIndicesrecord component
-
inferenceResolution
Returns the value of theinferenceResolutionrecord component.- Returns:
- the value of the
inferenceResolutionrecord component
-