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 classCollate.Decompositionstatic classCollate.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.DecompositionDEFAULT_DECOMPOSITIONstatic Collate.StrengthDEFAULT_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 Collateclone()protected Collateclone(FieldExpression e)Create a new instance of this FieldExpression, with a different argument.booleanequals(java.lang.Object other)Collate.DecompositiongetDecomposition()Collate.StrengthgetStrength()SchemaField.TypegetType(Schema schema)Resolve the type for this expression.inthashCode()voidsetDecomposition(Collate.Decomposition value)voidsetStrength(Collate.Strength value)protected voidtoString(java.lang.StringBuilder buffer, FieldExpression.StringMode mode)Writes the string representation of this field expression tobuffer.static CollatevalueOf(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:
getTypein 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:
toStringin classFieldExpression
-
hashCode
public int hashCode()
- Overrides:
hashCodein classUnaryFieldExpression
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classUnaryFieldExpression
-
clone
public Collate clone()
- Overrides:
clonein classUnaryFieldExpression
-
clone
protected Collate clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.- Overrides:
clonein classUnaryFieldExpression
-
valueOf
public static Collate valueOf(StringParser reader)
-
-