Class ConcatFunction.SeparatedConcatFunction
- java.lang.Object
-
- org.apache.solr.analytics.function.mapping.ConcatFunction.SeparatedConcatFunction
-
- Enclosing class:
- ConcatFunction
public static class ConcatFunction.SeparatedConcatFunction extends Object
A concatenation mapping function, combining the string values of the given parameters with a given separating string.
The usage is exactly the same as theConcatFunction
, however aConstantStringValue
separator is added as the first argument of every usage. So the acceptable inputs are as follows:- "concat_sep" (
ConstantStringValue
,StringValueStream
) - "concat_sep" (
ConstantStringValue
,StringValueStream
,StringValue
) - "concat_sep" (
ConstantStringValue
,StringValue
,StringValueStream
) - "concat_sep" (
ConstantStringValue
,StringValue
... )
ConstantStringValue
separator is used to separate every two (or more) string during concatenation. If only one string value exists, then the separator will not be used.
-
-
Field Summary
Fields Modifier and Type Field Description static ExpressionFactory.CreatorFunction
creatorFunction
static String
name
-
Constructor Summary
Constructors Constructor Description SeparatedConcatFunction()
-
-
-
Field Detail
-
name
public static final String name
- See Also:
- Constant Field Values
-
creatorFunction
public static final ExpressionFactory.CreatorFunction creatorFunction
-
-