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 MultiValueModeDEFAULT_MULTI_VALUE_MODEThe 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 Concatclone()protected Concatclone(FieldExpression... x)Create a new instance of this FieldExpression, with different arguments.booleanequals(java.lang.Object other)MultiValueModegetMultiValueMode()Get theMultiValueMode.SchemaField.TypegetType(Schema schema)Resolve the type for this expression.inthashCode()voidsetMultiValueMode(MultiValueMode mode)Set theMultiValueMode.protected voidtoString(java.lang.StringBuilder buffer, FieldExpression.StringMode mode)Writes the string representation of this field expression tobuffer.static ConcatvalueOf(MultiValueMode mode, StringParser parser)static ConcatvalueOf(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:
getTypein 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:
toStringin classFieldExpression
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classMultiaryFieldExpression
-
hashCode
public int hashCode()
- Overrides:
hashCodein classMultiaryFieldExpression
-
clone
public Concat clone()
- Overrides:
clonein classFieldExpression
-
clone
protected Concat clone(FieldExpression... x)
Create a new instance of this FieldExpression, with different arguments.- Specified by:
clonein classMultiaryFieldExpression
-
valueOf
public static Concat valueOf(StringParser parser)
-
valueOf
public static Concat valueOf(MultiValueMode mode, StringParser parser)
-
-