Record Class CompoundOutputEvaluator.Factory
java.lang.Object
java.lang.Record
org.elasticsearch.xpack.esql.evaluator.command.CompoundOutputEvaluator.Factory
- All Implemented Interfaces:
ColumnExtractOperator.Evaluator.Factory
- Enclosing class:
CompoundOutputEvaluator
public static record CompoundOutputEvaluator.Factory(DataType inputType, Source source, CompoundOutputEvaluator.OutputFieldsCollectorProvider outputFieldsCollectorProvider)
extends Record
implements ColumnExtractOperator.Evaluator.Factory
-
Constructor Summary
ConstructorsConstructorDescriptionFactory(DataType inputType, Source source, CompoundOutputEvaluator.OutputFieldsCollectorProvider outputFieldsCollectorProvider) Creates an instance of aFactoryrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncreate(DriverContext driverContext) describe()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 theinputTyperecord component.Returns the value of theoutputFieldsCollectorProviderrecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Factory
public Factory(DataType inputType, Source source, CompoundOutputEvaluator.OutputFieldsCollectorProvider outputFieldsCollectorProvider) Creates an instance of aFactoryrecord class.- Parameters:
inputType- the value for theinputTyperecord componentsource- the value for thesourcerecord componentoutputFieldsCollectorProvider- the value for theoutputFieldsCollectorProviderrecord component
-
-
Method Details
-
create
- Specified by:
createin interfaceColumnExtractOperator.Evaluator.Factory
-
describe
- Specified by:
describein interfaceColumnExtractOperator.Evaluator.Factory
-
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). -
inputType
Returns the value of theinputTyperecord component.- Returns:
- the value of the
inputTyperecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
outputFieldsCollectorProvider
Returns the value of theoutputFieldsCollectorProviderrecord component.- Returns:
- the value of the
outputFieldsCollectorProviderrecord component
-