Package com.yahoo.searchlib.expression
Class StrLenFunctionNode
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.StrLenFunctionNode
- All Implemented Interfaces:
Serializable,Cloneable
This function is an instruction to negate its argument.
- 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 argument. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanprotected intvoidvoidMethods inherited from class com.yahoo.searchlib.expression.UnaryFunctionNode
equalsMultiArgFunction, getArgMethods inherited from class com.yahoo.searchlib.expression.MultiArgFunctionNode
addArg, clone, equalsFunction, getArg, getNumArgs, hashCode, onCalculate, onDeserialize, onSerialize, selectMembers, visitMembersMethods inherited from class com.yahoo.searchlib.expression.FunctionNode
equalsExpression, getResult, setResultMethods 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, putUtf8, registerClass, serialize, serializeOptional, serializeWithId, toStringMethods inherited from class com.yahoo.vespa.objects.Selectable
select, select
-
Field Details
-
classId
public static final int classId
-
-
Constructor Details
-
StrLenFunctionNode
public StrLenFunctionNode()Constructs an empty result node. NOTE: This instance is broken until non-optional member data is set. -
StrLenFunctionNode
Constructs an instance of this class with given argument.- Parameters:
arg- The argument for this function.
-
-
Method Details
-
onPrepareResult
public void onPrepareResult()- Overrides:
onPrepareResultin classUnaryFunctionNode
-
onPrepare
public void onPrepare()- Overrides:
onPreparein classUnaryFunctionNode
-
onExecute
public boolean onExecute()- Overrides:
onExecutein classMultiArgFunctionNode
-
onGetClassId
protected int onGetClassId()- Overrides:
onGetClassIdin classUnaryFunctionNode
-
equalsUnaryFunction
- Specified by:
equalsUnaryFunctionin classUnaryFunctionNode
-