Package com.yahoo.searchlib.expression
Class ToStringFunctionNode
java.lang.Object
com.yahoo.vespa.objects.Selectable
com.yahoo.vespa.objects.Identifiable
com.yahoo.searchlib.expression.ExpressionNode
com.yahoo.searchlib.expression.FunctionNode
com.yahoo.searchlib.expression.MultiArgFunctionNode
com.yahoo.searchlib.expression.UnaryFunctionNode
com.yahoo.searchlib.expression.ToStringFunctionNode
- All Implemented Interfaces:
Serializable
,Cloneable
This function is an instruction to negate its argument.
- Author:
- baldersheim, Simon Thoresen Hult
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructs an instance of this class with given argument. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
protected int
void
Methods inherited from class com.yahoo.searchlib.expression.UnaryFunctionNode
equalsMultiArgFunction, getArg, onPrepare
Methods inherited from class com.yahoo.searchlib.expression.MultiArgFunctionNode
addArg, clone, equalsFunction, getArg, getNumArgs, hashCode, onCalculate, onDeserialize, 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, 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
-
ToStringFunctionNode
public ToStringFunctionNode() -
ToStringFunctionNode
Constructs an instance of this class with given argument.- Parameters:
arg
- The argument for this function.
-
-
Method Details
-
onGetClassId
protected int onGetClassId()- Overrides:
onGetClassId
in classUnaryFunctionNode
-
onPrepareResult
public void onPrepareResult()- Overrides:
onPrepareResult
in classUnaryFunctionNode
-
onExecute
public boolean onExecute()- Overrides:
onExecute
in classMultiArgFunctionNode
-
equalsUnaryFunction
- Specified by:
equalsUnaryFunction
in classUnaryFunctionNode
-