Package com.attivio.sdk.search.fields
Class Concat
- java.lang.Object
-
- com.attivio.sdk.search.fields.FieldExpression
-
- com.attivio.sdk.search.fields.MultiaryFieldExpression
-
- com.attivio.sdk.search.fields.Concat
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class Concat extends MultiaryFieldExpression
Concat the string representation of multiple FieldExpressions together.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.attivio.sdk.search.fields.MultiaryFieldExpression
MultiaryFieldExpression.Method
-
Nested classes/interfaces inherited from class com.attivio.sdk.search.fields.FieldExpression
FieldExpression.StringMode
-
-
Field Summary
Fields Modifier and Type Field Description static MultiValueMode
DEFAULT_MULTI_VALUE_MODE
The default MultiValueMode for the Concat expression.-
Fields inherited from class com.attivio.sdk.search.fields.MultiaryFieldExpression
args
-
Fields inherited from class com.attivio.sdk.search.fields.FieldExpression
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description Concat()
Concat(FieldExpression... args)
Concat(FieldExpression[] args, MultiValueMode mode)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Concat
clone()
protected Concat
clone(FieldExpression... x)
Create a new instance of this FieldExpression, with different arguments.boolean
equals(java.lang.Object other)
MultiValueMode
getMultiValueMode()
Get theMultiValueMode
.SchemaField.Type
getType(Schema schema)
Resolve the type for this expression.int
hashCode()
void
setMultiValueMode(MultiValueMode mode)
Set theMultiValueMode
.protected void
toString(java.lang.StringBuilder buffer, FieldExpression.StringMode mode)
Writes the string representation of this field expression tobuffer
.static Concat
valueOf(MultiValueMode mode, StringParser parser)
static Concat
valueOf(StringParser parser)
-
Methods inherited from class com.attivio.sdk.search.fields.MultiaryFieldExpression
forEachField, getArgument, getArgumentCount, getArguments, hasChildren, isConstant, rewrite, setArguments, setArguments, setArguments
-
Methods inherited from class com.attivio.sdk.search.fields.FieldExpression
apply, copyOf, forEachPhrase, forEachQuery, getDefaultName, getFieldName, isConstant, parse, quote, rewrite, rewriteChildren, toString, toString, valueOf
-
-
-
-
Field Detail
-
DEFAULT_MULTI_VALUE_MODE
public static final MultiValueMode DEFAULT_MULTI_VALUE_MODE
The default MultiValueMode for the Concat expression.
-
-
Constructor Detail
-
Concat
public Concat()
-
Concat
public Concat(FieldExpression... args)
-
Concat
public Concat(FieldExpression[] args, MultiValueMode mode)
-
-
Method Detail
-
getType
public SchemaField.Type getType(Schema schema)
Resolve the type for this expression.- Specified by:
getType
in classFieldExpression
-
getMultiValueMode
public MultiValueMode getMultiValueMode()
Get theMultiValueMode
.
-
setMultiValueMode
public void setMultiValueMode(MultiValueMode mode)
Set theMultiValueMode
.
-
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
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classMultiaryFieldExpression
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classMultiaryFieldExpression
-
clone
public Concat clone()
- Overrides:
clone
in classFieldExpression
-
clone
protected Concat clone(FieldExpression... x)
Create a new instance of this FieldExpression, with different arguments.- Specified by:
clone
in classMultiaryFieldExpression
-
valueOf
public static Concat valueOf(StringParser parser)
-
valueOf
public static Concat valueOf(MultiValueMode mode, StringParser parser)
-
-