Package com.yahoo.searchlib.expression
Class GetDocIdNamespaceSpecificFunctionNode
java.lang.Object
com.yahoo.vespa.objects.Selectable
com.yahoo.vespa.objects.Identifiable
com.yahoo.searchlib.expression.ExpressionNode
com.yahoo.searchlib.expression.DocumentAccessorNode
com.yahoo.searchlib.expression.GetDocIdNamespaceSpecificFunctionNode
- All Implemented Interfaces:
Serializable,Cloneable
The node is a request to retrieve the namespace-specific content of a document id.
- Author:
- baldersheim, Simon Thoresen Hult
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an empty result node.Constructs an instance of this class with given result. -
Method Summary
Modifier and TypeMethodDescriptionclone()protected booleanGet the result of this expression.protected voidonDeserialize(com.yahoo.vespa.objects.Deserializer buf) protected intprotected voidonSerialize(com.yahoo.vespa.objects.Serializer buf) setResult(ResultNode result) Sets the result of this function.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
-
GetDocIdNamespaceSpecificFunctionNode
public GetDocIdNamespaceSpecificFunctionNode()Constructs an empty result node. NOTE: This instance is broken until non-optional member data is set. -
GetDocIdNamespaceSpecificFunctionNode
Constructs an instance of this class with given result.- Parameters:
result- The result to assign to this.
-
-
Method Details
-
setResult
Sets the result of this function.- Parameters:
result- The result to set.- Returns:
- This, to allow chaining.
-
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 classDocumentAccessorNode
-
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
-
equalsExpression
- Specified by:
equalsExpressionin classExpressionNode
-
visitMembers
public void visitMembers(com.yahoo.vespa.objects.ObjectVisitor visitor) - Overrides:
visitMembersin classExpressionNode
-