Class ConcatFunction


  • public class ConcatFunction
    extends Object
    A concatenation mapping function, combining the string values of the given parameters. (At least 1 parameter is required)

    Uses:

    • If a single StringValueStream is passed in, a StringValue representing the concatenation of the values for each document is returned. No ordering is guaranteed while concatenating.
    • If a StringValue and a StringValueStream are passed in, a StringValueStream representing the concatenation of the Value and each of the values of the ValueStream for a document is returned. (Or the other way, since the Value and ValueStream can be used in either order)
    • If any number (more than 0) of StringValues are passed in, a StringValue representing the concatenation of all values is returned. If any values don't exist, the overall concatenation value will still exist with an empty string used for any missing values. If none of the parameter values exist, then the overall concatenation value will not exist.