Package com.yahoo.searchlib.expression
Class AndFunctionNode
java.lang.Object
com.yahoo.vespa.objects.Selectable
com.yahoo.vespa.objects.Identifiable
- All Implemented Interfaces:
Serializable
,Cloneable
This function is an instruction to perform bitwise AND on the result of all arguments in order.
- Author:
- baldersheim, Simon Thoresen Hult
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onArgument
(ResultNode arg, IntegerResultNode result) Method for performing onArgument on integers, the only type supported for bit operations.protected int
Methods inherited from class com.yahoo.searchlib.expression.BitFunctionNode
onArgument, onPrepareResult
Methods inherited from class com.yahoo.searchlib.expression.NumericFunctionNode
equalsMultiArgFunction, onPrepare
Methods inherited from class com.yahoo.searchlib.expression.MultiArgFunctionNode
addArg, clone, equalsFunction, getArg, getNumArgs, hashCode, onCalculate, onDeserialize, onExecute, onSerialize, selectMembers, visitMembers
Methods inherited from class com.yahoo.searchlib.expression.FunctionNode
equalsExpression, getResult, setResult
Methods inherited from class com.yahoo.searchlib.expression.ExpressionNode
equals, execute, executeIterative, prepare
Methods inherited from class com.yahoo.vespa.objects.Identifiable
create, createFromId, deserialize, deserializeOptional, deserializeWithId, equals, getClassId, getRawUtf8Bytes, getUtf8, putUtf8, registerClass, serialize, serializeOptional, serializeWithId, toString
Methods inherited from class com.yahoo.vespa.objects.Selectable
select, select
-
Field Details
-
classId
public static final int classId
-
-
Constructor Details
-
AndFunctionNode
public AndFunctionNode()
-
-
Method Details
-
onGetClassId
protected int onGetClassId()- Overrides:
onGetClassId
in classBitFunctionNode
-
onArgument
Description copied from class:BitFunctionNode
Method for performing onArgument on integers, the only type supported for bit operations.- Specified by:
onArgument
in classBitFunctionNode
- Parameters:
arg
- Argument given to the bit function.result
- Place to store the result.
-