Record Class BooleanLogicExpressionEvaluator.Factory
java.lang.Object
java.lang.Record
org.elasticsearch.xpack.esql.expression.predicate.logical.BooleanLogicExpressionEvaluator.Factory
- All Implemented Interfaces:
ExpressionEvaluator.Factory
- Enclosing class:
BooleanLogicExpressionEvaluator
public static record BooleanLogicExpressionEvaluator.Factory(BinaryLogic bl, ExpressionEvaluator.Factory leftEval, ExpressionEvaluator.Factory rightEval)
extends Record
implements ExpressionEvaluator.Factory
-
Constructor Summary
ConstructorsConstructorDescriptionFactory(BinaryLogic bl, ExpressionEvaluator.Factory leftEval, ExpressionEvaluator.Factory rightEval) Creates an instance of aFactoryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbl()Returns the value of theblrecord component.final booleanIndicates whether some other object is "equal to" this one.get(DriverContext driverContext) final inthashCode()Returns a hash code value for this object.leftEval()Returns the value of theleftEvalrecord component.Returns the value of therightEvalrecord component.toString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.compute.expression.ExpressionEvaluator.Factory
eagerEvalSafeInLazy
-
Constructor Details
-
Factory
public Factory(BinaryLogic bl, ExpressionEvaluator.Factory leftEval, ExpressionEvaluator.Factory rightEval) Creates an instance of aFactoryrecord class.- Parameters:
bl- the value for theblrecord componentleftEval- the value for theleftEvalrecord componentrightEval- the value for therightEvalrecord component
-
-
Method Details
-
get
- Specified by:
getin interfaceExpressionEvaluator.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). -
bl
Returns the value of theblrecord component.- Returns:
- the value of the
blrecord component
-
leftEval
Returns the value of theleftEvalrecord component.- Returns:
- the value of the
leftEvalrecord component
-
rightEval
Returns the value of therightEvalrecord component.- Returns:
- the value of the
rightEvalrecord component
-