Package com.attivio.sdk.search.fields
Class Collate
- java.lang.Object
-
- com.attivio.sdk.search.fields.FieldExpression
-
- com.attivio.sdk.search.fields.UnaryFieldExpression
-
- com.attivio.sdk.search.fields.Collate
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class Collate extends UnaryFieldExpression
Collation field expression.Locale used for collation will be the locale specified on the
QueryRequest
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Collate.Decomposition
static class
Collate.Strength
-
Nested classes/interfaces inherited from class com.attivio.sdk.search.fields.FieldExpression
FieldExpression.StringMode
-
-
Field Summary
Fields Modifier and Type Field Description static Collate.Decomposition
DEFAULT_DECOMPOSITION
static Collate.Strength
DEFAULT_STRENGTH
-
Fields inherited from class com.attivio.sdk.search.fields.UnaryFieldExpression
expression
-
Fields inherited from class com.attivio.sdk.search.fields.FieldExpression
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description Collate(FieldExpression expression)
Collate(FieldExpression expression, Collate.Strength strength)
Collate(FieldExpression expression, Collate.Strength strength, Collate.Decomposition decomposition)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Collate
clone()
protected Collate
clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.boolean
equals(java.lang.Object other)
Collate.Decomposition
getDecomposition()
Collate.Strength
getStrength()
SchemaField.Type
getType(Schema schema)
Resolve the type for this expression.int
hashCode()
void
setDecomposition(Collate.Decomposition value)
void
setStrength(Collate.Strength value)
protected void
toString(java.lang.StringBuilder buffer, FieldExpression.StringMode mode)
Writes the string representation of this field expression tobuffer
.static Collate
valueOf(StringParser reader)
-
Methods inherited from class com.attivio.sdk.search.fields.UnaryFieldExpression
forEachField, getExpression, getFieldName, hasChildren, isConstant, rewrite, setExpression
-
Methods inherited from class com.attivio.sdk.search.fields.FieldExpression
apply, copyOf, forEachPhrase, forEachQuery, getDefaultName, isConstant, parse, quote, rewrite, rewriteChildren, toString, toString, valueOf
-
-
-
-
Field Detail
-
DEFAULT_STRENGTH
public static final Collate.Strength DEFAULT_STRENGTH
-
DEFAULT_DECOMPOSITION
public static final Collate.Decomposition DEFAULT_DECOMPOSITION
-
-
Constructor Detail
-
Collate
public Collate(FieldExpression expression)
-
Collate
public Collate(FieldExpression expression, Collate.Strength strength)
-
Collate
public Collate(FieldExpression expression, Collate.Strength strength, Collate.Decomposition decomposition)
-
-
Method Detail
-
getType
public SchemaField.Type getType(Schema schema)
Resolve the type for this expression.- Specified by:
getType
in classFieldExpression
-
getStrength
public Collate.Strength getStrength()
-
setStrength
public void setStrength(Collate.Strength value)
-
getDecomposition
public Collate.Decomposition getDecomposition()
-
setDecomposition
public void setDecomposition(Collate.Decomposition value)
-
toString
protected void toString(java.lang.StringBuilder buffer, FieldExpression.StringMode mode)
Writes the string representation of this field expression tobuffer
.- Specified by:
toString
in classFieldExpression
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classUnaryFieldExpression
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classUnaryFieldExpression
-
clone
public Collate clone()
- Overrides:
clone
in classUnaryFieldExpression
-
clone
protected Collate clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.- Overrides:
clone
in classUnaryFieldExpression
-
valueOf
public static Collate valueOf(StringParser reader)
-
-