public class Collate extends UnaryFieldExpression
Locale used for collation will be the locale specified on the QueryRequest.
| Modifier and Type | Class and Description |
|---|---|
static class |
Collate.Decomposition |
static class |
Collate.Strength |
FieldExpression.StringMode| Modifier and Type | Field and Description |
|---|---|
static Collate.Decomposition |
DEFAULT_DECOMPOSITION |
static Collate.Strength |
DEFAULT_STRENGTH |
expressionalias, EMPTY_ARRAY| Constructor and Description |
|---|
Collate(FieldExpression expression) |
Collate(FieldExpression expression,
Collate.Strength strength) |
Collate(FieldExpression expression,
Collate.Strength strength,
Collate.Decomposition decomposition) |
Collate(FieldExpression expression,
Collate.Strength strength,
Collate.Decomposition decomposition,
String alias) |
Collate(FieldExpression expression,
String alias) |
| Modifier and Type | Method and Description |
|---|---|
Collate |
clone() |
protected Collate |
clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
Collate.Decomposition |
getDecomposition() |
Collate.Strength |
getStrength() |
SchemaField.Type |
getType(Schema schema)
Resolve the type for this expression.
|
int |
hashCode() |
protected boolean |
parametersEqual(FieldExpression other)
Returns
true if other's parameters are the same as this. |
void |
setDecomposition(Collate.Decomposition value) |
void |
setStrength(Collate.Strength value) |
protected void |
toString(StringBuilder buffer,
FieldExpression.StringMode mode)
Writes the string representation of this field expression to
buffer. |
equalsIgnoreAlias, getExpression, getFieldName, hasChildren, isConstant, rewrite, rewriteChildren, setExpressionas, containsAlias, copyOf, equals, equalsIgnoreAlias, getAlias, getDefaultAlias, handleFieldExpression, isConstant, quote, rewrite, setAlias, toString, toStringpublic static final Collate.Strength DEFAULT_STRENGTH
public static final Collate.Decomposition DEFAULT_DECOMPOSITION
public Collate(FieldExpression expression)
public Collate(FieldExpression expression, Collate.Strength strength)
public Collate(FieldExpression expression, String alias)
public Collate(FieldExpression expression, Collate.Strength strength, Collate.Decomposition decomposition)
public Collate(FieldExpression expression, Collate.Strength strength, Collate.Decomposition decomposition, String alias)
public SchemaField.Type getType(Schema schema)
getType in class FieldExpressionpublic Collate.Strength getStrength()
public void setStrength(Collate.Strength value)
public Collate.Decomposition getDecomposition()
public void setDecomposition(Collate.Decomposition value)
protected void toString(StringBuilder buffer, FieldExpression.StringMode mode)
buffer.
NOTE: the alias will not be written to buffer by this function.
toString in class FieldExpressionpublic int hashCode()
hashCode in class UnaryFieldExpressionprotected boolean parametersEqual(FieldExpression other)
true if other's parameters are the same as this.parametersEqual in class UnaryFieldExpressionpublic Collate clone()
clone in class UnaryFieldExpressionprotected Collate clone(FieldExpression e)
clone in class UnaryFieldExpressionCopyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.