Package com.yahoo.searchlib.expression
Class RelevanceNode
java.lang.Object
com.yahoo.vespa.objects.Selectable
com.yahoo.vespa.objects.Identifiable
com.yahoo.searchlib.expression.ExpressionNode
com.yahoo.searchlib.expression.RelevanceNode
- All Implemented Interfaces:
Serializable,Cloneable
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 booleanGet the result of this expression.protected voidonDeserialize(com.yahoo.vespa.objects.Deserializer buf) booleanprotected intvoidprotected voidonSerialize(com.yahoo.vespa.objects.Serializer buf) voidvisitMembers(com.yahoo.vespa.objects.ObjectVisitor visitor) Methods inherited from class com.yahoo.searchlib.expression.ExpressionNode
equals, execute, executeIterative, onArgument, 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
-
RelevanceNode
public RelevanceNode()
-
-
Method Details
-
onPrepare
public void onPrepare()- Overrides:
onPreparein classExpressionNode
-
onExecute
public boolean onExecute()- Overrides:
onExecutein classExpressionNode
-
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
-
getResult
Description copied from class:ExpressionNodeGet the result of this expression.- Specified by:
getResultin classExpressionNode- Returns:
- the result as a ResultNode.
-
equalsExpression
- Specified by:
equalsExpressionin classExpressionNode
-