Package com.yahoo.searchlib.expression
Class MathFunctionNode
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.MathFunctionNode
- All Implemented Interfaces:
Serializable
,Cloneable
This function is an instruction to negate its argument.
- Author:
- baldersheim, Simon Thoresen Hult
- See Also:
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionclone()
protected boolean
protected void
onDeserialize
(com.yahoo.vespa.objects.Deserializer buf) protected boolean
protected int
void
protected void
onSerialize
(com.yahoo.vespa.objects.Serializer buf) void
visitMembers
(com.yahoo.vespa.objects.ObjectVisitor visitor) Methods inherited from class com.yahoo.searchlib.expression.MultiArgFunctionNode
addArg, equalsFunction, getArg, getNumArgs, hashCode, onCalculate, onPrepare, 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
-
MathFunctionNode
public MathFunctionNode() -
MathFunctionNode
-
MathFunctionNode
-
-
Method Details
-
onExecute
protected boolean onExecute()- Overrides:
onExecute
in classMultiArgFunctionNode
-
onPrepareResult
public void onPrepareResult()- Overrides:
onPrepareResult
in classMultiArgFunctionNode
-
onGetClassId
protected int onGetClassId()- Overrides:
onGetClassId
in classMultiArgFunctionNode
-
onSerialize
protected void onSerialize(com.yahoo.vespa.objects.Serializer buf) - Overrides:
onSerialize
in classMultiArgFunctionNode
-
onDeserialize
protected void onDeserialize(com.yahoo.vespa.objects.Deserializer buf) - Overrides:
onDeserialize
in classMultiArgFunctionNode
-
equalsMultiArgFunction
- Specified by:
equalsMultiArgFunction
in classMultiArgFunctionNode
-
clone
- Overrides:
clone
in classMultiArgFunctionNode
-
visitMembers
public void visitMembers(com.yahoo.vespa.objects.ObjectVisitor visitor) - Overrides:
visitMembers
in classMultiArgFunctionNode
-