Package com.yahoo.searchlib.expression
Class FunctionNode
java.lang.Object
com.yahoo.vespa.objects.Selectable
com.yahoo.vespa.objects.Identifiable
com.yahoo.searchlib.expression.ExpressionNode
com.yahoo.searchlib.expression.FunctionNode
- All Implemented Interfaces:
Serializable,Cloneable
- Direct Known Subclasses:
AttributeNode,MultiArgFunctionNode
This abstract expression node represents a function to execute.
- Author:
- baldersheim, Simon Thoresen Hult
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()protected final booleanprotected abstract booleanfinal ResultNodeGet the result of this expression.protected voidonDeserialize(com.yahoo.vespa.objects.Deserializer buf) protected intprotected voidonSerialize(com.yahoo.vespa.objects.Serializer buf) setResult(ResultNode res) voidvisitMembers(com.yahoo.vespa.objects.ObjectVisitor visitor) Methods inherited from class com.yahoo.searchlib.expression.ExpressionNode
equals, execute, executeIterative, onArgument, onExecute, onPrepare, prepareMethods inherited from class com.yahoo.vespa.objects.Identifiable
create, createFromId, deserialize, deserializeOptional, deserializeWithId, equals, getClassId, getRawUtf8Bytes, getUtf8, hashCode, putUtf8, registerClass, serialize, serializeOptional, serializeWithId, toStringMethods inherited from class com.yahoo.vespa.objects.Selectable
select, select, selectMembers
-
Field Details
-
classId
public static final int classId
-
-
Constructor Details
-
FunctionNode
public FunctionNode()
-
-
Method Details
-
setResult
-
getResult
Description copied from class:ExpressionNodeGet the result of this expression.- Specified by:
getResultin classExpressionNode- Returns:
- the result as a ResultNode.
-
onGetClassId
protected int onGetClassId()- Overrides:
onGetClassIdin classExpressionNode
-
onSerialize
protected void onSerialize(com.yahoo.vespa.objects.Serializer buf) - Overrides:
onSerializein classExpressionNode
-
onDeserialize
protected void onDeserialize(com.yahoo.vespa.objects.Deserializer buf) - Overrides:
onDeserializein classExpressionNode
-
clone
- Overrides:
clonein classExpressionNode
-
visitMembers
public void visitMembers(com.yahoo.vespa.objects.ObjectVisitor visitor) - Overrides:
visitMembersin classExpressionNode
-
equalsExpression
- Specified by:
equalsExpressionin classExpressionNode
-
equalsFunction
-