Package com.yahoo.searchlib.expression
Class UcaFunctionNode
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.UcaFunctionNode
- All Implemented Interfaces:
Serializable
,Cloneable
This function is a request to use the Unicode Collation Algorithm specification when sorting this field.
- Author:
- baldersheim
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionUcaFunctionNode
(ExpressionNode arg, String locale) Create an UCA node with a specific locale.UcaFunctionNode
(ExpressionNode arg, String locale, String strength) Create an UCA node with a specific locale and strength setting. -
Method Summary
Modifier and TypeMethodDescriptionclone()
protected boolean
protected void
onDeserialize
(com.yahoo.vespa.objects.Deserializer buf) protected int
protected void
onSerialize
(com.yahoo.vespa.objects.Serializer buf) void
visitMembers
(com.yahoo.vespa.objects.ObjectVisitor visitor) Methods inherited from class com.yahoo.searchlib.expression.UnaryFunctionNode
equalsMultiArgFunction, getArg, onPrepare, onPrepareResult
Methods inherited from class com.yahoo.searchlib.expression.MultiArgFunctionNode
addArg, equalsFunction, getArg, getNumArgs, hashCode, 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
-
UcaFunctionNode
public UcaFunctionNode() -
UcaFunctionNode
Create an UCA node with a specific locale.- Parameters:
arg
- The argument for this function.locale
- The locale to use.
-
UcaFunctionNode
Create an UCA node with a specific locale and strength setting.- Parameters:
arg
- The argument for this function.locale
- The locale to use.strength
- The strength setting to use.
-
-
Method Details
-
onGetClassId
protected int onGetClassId()- Overrides:
onGetClassId
in classUnaryFunctionNode
-
onSerialize
protected void onSerialize(com.yahoo.vespa.objects.Serializer buf) - Overrides:
onSerialize
in classMultiArgFunctionNode
-
onDeserialize
protected void onDeserialize(com.yahoo.vespa.objects.Deserializer buf) - Overrides:
onDeserialize
in classMultiArgFunctionNode
-
equalsUnaryFunction
- Specified by:
equalsUnaryFunction
in classUnaryFunctionNode
-
clone
- Overrides:
clone
in classMultiArgFunctionNode
-
visitMembers
public void visitMembers(com.yahoo.vespa.objects.ObjectVisitor visitor) - Overrides:
visitMembers
in classMultiArgFunctionNode
-