Package com.yahoo.searchlib.expression
Class MD5BitFunctionNode
java.lang.Object
com.yahoo.vespa.objects.Selectable
com.yahoo.vespa.objects.Identifiable
- All Implemented Interfaces:
Serializable
,Cloneable
This function is a request to calculate the MD5 of the result of its argument.
- Author:
- baldersheim, Simon Thoresen Hult
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructs an empty result node.MD5BitFunctionNode
(ExpressionNode arg, int numBits) Constructs an instance of this class with given argument and number of bits. -
Method Summary
Methods inherited from class com.yahoo.searchlib.expression.UnaryBitFunctionNode
equalsUnaryFunction, getNumBits, hashCode, onDeserialize, onSerialize, setNumBits, visitMembers
Methods inherited from class com.yahoo.searchlib.expression.UnaryFunctionNode
equalsMultiArgFunction, getArg, onPrepare, onPrepareResult
Methods inherited from class com.yahoo.searchlib.expression.MultiArgFunctionNode
addArg, clone, equalsFunction, getArg, getNumArgs, onCalculate, onExecute, selectMembers
Methods inherited from class com.yahoo.searchlib.expression.FunctionNode
equalsExpression, getResult, setResult
Methods inherited from class com.yahoo.searchlib.expression.ExpressionNode
equals, execute, executeIterative, onArgument, prepare
Methods inherited from class com.yahoo.vespa.objects.Identifiable
create, createFromId, deserialize, deserializeOptional, deserializeWithId, equals, getClassId, getRawUtf8Bytes, getUtf8, putUtf8, registerClass, 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
-
MD5BitFunctionNode
public MD5BitFunctionNode()Constructs an empty result node. NOTE: This instance is broken until non-optional member data is set. -
MD5BitFunctionNode
Constructs an instance of this class with given argument and number of bits.- Parameters:
arg
- The argument for this function.numBits
- The number of bits to operate on.
-
-
Method Details
-
onGetClassId
protected int onGetClassId()- Overrides:
onGetClassId
in classUnaryBitFunctionNode
-