Package com.yahoo.searchlib.expression
Class InterpolatedDocumentFieldLookupNode
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.InterpolatedLookupNode
com.yahoo.searchlib.expression.InterpolatedDocumentFieldLookupNode
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructs an empty result node.InterpolatedDocumentFieldLookupNode
(String field, ExpressionNode arg) Constructs an instance of this class with given field name and lookup argument. -
Method Summary
Modifier and TypeMethodDescriptionprotected int
void
visitMembers
(com.yahoo.vespa.objects.ObjectVisitor visitor) Methods inherited from class com.yahoo.searchlib.expression.InterpolatedLookupNode
equalsUnaryFunction, getAttributeName, hashCode, onDeserialize, onSerialize, setAttributeName, visitSuperMembers
Methods inherited from class com.yahoo.searchlib.expression.UnaryFunctionNode
equalsMultiArgFunction, getArg, onPrepare, onPrepareResult
Methods inherited from class com.yahoo.searchlib.expression.MultiArgFunctionNode
addArg, clone, equalsFunction, getArg, getNumArgs, onCalculate, onExecute, 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
-
InterpolatedDocumentFieldLookupNode
public InterpolatedDocumentFieldLookupNode()Constructs an empty result node. NOTE: This instance is broken until non-optional member data is set. -
InterpolatedDocumentFieldLookupNode
Constructs an instance of this class with given field name and lookup argument.- Parameters:
field
- The field to retrieve.arg
- Expression evaluating to the lookup argument.
-
-
Method Details
-
onGetClassId
protected int onGetClassId()- Overrides:
onGetClassId
in classInterpolatedLookupNode
-
getFieldName
-
visitMembers
public void visitMembers(com.yahoo.vespa.objects.ObjectVisitor visitor) - Overrides:
visitMembers
in classInterpolatedLookupNode
-