Record Class AnalyzerContext
java.lang.Object
java.lang.Record
org.elasticsearch.xpack.esql.analysis.AnalyzerContext
public record AnalyzerContext(Configuration configuration, EsqlFunctionRegistry functionRegistry, IndexResolution indexResolution, Map<String,IndexResolution> lookupResolution, EnrichResolution enrichResolution)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAnalyzerContext(Configuration configuration, EsqlFunctionRegistry functionRegistry, IndexResolution indexResolution, Map<String, IndexResolution> lookupResolution, EnrichResolution enrichResolution) Creates an instance of aAnalyzerContextrecord class.AnalyzerContext(Configuration configuration, EsqlFunctionRegistry functionRegistry, IndexResolution indexResolution, EnrichResolution enrichResolution) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfigurationrecord component.Returns the value of theenrichResolutionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefunctionRegistryrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theindexResolutionrecord component.Returns the value of thelookupResolutionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AnalyzerContext
public AnalyzerContext(Configuration configuration, EsqlFunctionRegistry functionRegistry, IndexResolution indexResolution, EnrichResolution enrichResolution) -
AnalyzerContext
public AnalyzerContext(Configuration configuration, EsqlFunctionRegistry functionRegistry, IndexResolution indexResolution, Map<String, IndexResolution> lookupResolution, EnrichResolution enrichResolution) Creates an instance of aAnalyzerContextrecord class.- Parameters:
configuration- the value for theconfigurationrecord componentfunctionRegistry- the value for thefunctionRegistryrecord componentindexResolution- the value for theindexResolutionrecord componentlookupResolution- the value for thelookupResolutionrecord componentenrichResolution- the value for theenrichResolutionrecord 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). -
configuration
Returns the value of theconfigurationrecord component.- Returns:
- the value of the
configurationrecord component
-
functionRegistry
Returns the value of thefunctionRegistryrecord component.- Returns:
- the value of the
functionRegistryrecord component
-
indexResolution
Returns the value of theindexResolutionrecord component.- Returns:
- the value of the
indexResolutionrecord component
-
lookupResolution
Returns the value of thelookupResolutionrecord component.- Returns:
- the value of the
lookupResolutionrecord component
-
enrichResolution
Returns the value of theenrichResolutionrecord component.- Returns:
- the value of the
enrichResolutionrecord component
-