public class Formatting extends Object
Formatter
.
Reference the Formatter
documentation for the capabilities and limitations
of the formatting that is available. The format specification is not validated before being
used. Therefore errors in the format specification are not discovered until execution.
ScalarValuedFunction
,
DeriveFields
Constructor and Description |
---|
Formatting() |
Modifier and Type | Method and Description |
---|---|
static ScalarValuedFunction |
format(String format,
List<ScalarValuedFunction> exprs)
Format the output values of the given functions using the given format.
|
static ScalarValuedFunction |
format(String format,
ScalarValuedFunction... exprs)
Format output values of the given functions using the given format.
|
static ScalarValuedFunction |
formatValues(String format,
String[] fieldNames)
Format values for the fields within a record token using the given format.
|
public static ScalarValuedFunction formatValues(String format, String[] fieldNames)
format
- format specification indicating how to format the token valuesfieldNames
- names of the fields to supply to the formatter, order is relevantpublic static ScalarValuedFunction format(String format, ScalarValuedFunction... exprs)
format
- format specification indicating how to format the token valuesexprs
- functions providing outputs to be formattedpublic static ScalarValuedFunction format(String format, List<ScalarValuedFunction> exprs)
format
- format specification indicating how to format the token valuesexprs
- functions providing outputs to be formattedCopyright © 2024 Actian Corporation. All rights reserved.