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 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 a PreAnalysisResult record class.
      Parameters:
      indices - the value for the indices record component
      lookupIndices - the value for the lookupIndices record component
      enrichResolution - the value for the enrichResolution record component
      fieldNames - the value for the fieldNames record component
      wildcardJoinIndices - the value for the wildcardJoinIndices record component
      inferenceResolution - the value for the inferenceResolution record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • indices

      public IndexResolution indices()
      Returns the value of the indices record component.
      Returns:
      the value of the indices record component
    • lookupIndices

      public Map<String,IndexResolution> lookupIndices()
      Returns the value of the lookupIndices record component.
      Returns:
      the value of the lookupIndices record component
    • enrichResolution

      public EnrichResolution enrichResolution()
      Returns the value of the enrichResolution record component.
      Returns:
      the value of the enrichResolution record component
    • fieldNames

      public Set<String> fieldNames()
      Returns the value of the fieldNames record component.
      Returns:
      the value of the fieldNames record component
    • wildcardJoinIndices

      public Set<String> wildcardJoinIndices()
      Returns the value of the wildcardJoinIndices record component.
      Returns:
      the value of the wildcardJoinIndices record component
    • inferenceResolution

      public InferenceResolution inferenceResolution()
      Returns the value of the inferenceResolution record component.
      Returns:
      the value of the inferenceResolution record component