Package com.yahoo.searchlib.expression
Class OrFunctionNode
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 OR on the result of all arguments.
- Author:
- baldersheim, Simon Thoresen Hult
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonArgument(ResultNode arg, IntegerResultNode result) Method for performing onArgument on integers, the only type supported for bit operations.protected intMethods inherited from class com.yahoo.searchlib.expression.BitFunctionNode
onArgument, onPrepareResultMethods inherited from class com.yahoo.searchlib.expression.NumericFunctionNode
equalsMultiArgFunction, onPrepareMethods inherited from class com.yahoo.searchlib.expression.MultiArgFunctionNode
addArg, clone, equalsFunction, getArg, getNumArgs, hashCode, onCalculate, onDeserialize, onExecute, onSerialize, selectMembers, visitMembersMethods inherited from class com.yahoo.searchlib.expression.FunctionNode
equalsExpression, getResult, setResultMethods inherited from class com.yahoo.searchlib.expression.ExpressionNode
equals, execute, executeIterative, prepareMethods inherited from class com.yahoo.vespa.objects.Identifiable
create, createFromId, deserialize, deserializeOptional, deserializeWithId, equals, getClassId, getRawUtf8Bytes, getUtf8, putUtf8, registerClass, serialize, serializeOptional, serializeWithId, toStringMethods inherited from class com.yahoo.vespa.objects.Selectable
select, select
-
Field Details
-
classId
public static final int classId
-
-
Constructor Details
-
OrFunctionNode
public OrFunctionNode()
-
-
Method Details
-
onGetClassId
protected int onGetClassId()- Overrides:
onGetClassIdin classBitFunctionNode
-
onArgument
Description copied from class:BitFunctionNodeMethod for performing onArgument on integers, the only type supported for bit operations.- Specified by:
onArgumentin classBitFunctionNode- Parameters:
arg- Argument given to the bit function.result- Place to store the result.
-