public static class PivotField.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PivotField |
build() |
PivotField.Builder |
columnNamePattern(String columnNamePattern)
column name pattern can be used to generate the name structure of the generated columns.
|
PivotField.Builder |
configValues(ConfigValues configValues) |
PivotField.Builder |
copy(PivotField model) |
PivotField.Builder |
description(String description) |
PivotField.Builder |
expr(Expression expr) |
PivotField.Builder |
key(String key) |
PivotField.Builder |
modelVersion(String modelVersion) |
PivotField.Builder |
name(String name) |
PivotField.Builder |
objectStatus(Integer objectStatus) |
PivotField.Builder |
parentRef(ParentReference parentRef) |
PivotField.Builder |
type(BaseType type) |
PivotField.Builder |
useType(ConfiguredType useType) |
public PivotField.Builder key(String key)
public PivotField.Builder modelVersion(String modelVersion)
public PivotField.Builder parentRef(ParentReference parentRef)
public PivotField.Builder configValues(ConfigValues configValues)
public PivotField.Builder objectStatus(Integer objectStatus)
public PivotField.Builder name(String name)
public PivotField.Builder description(String description)
public PivotField.Builder expr(Expression expr)
public PivotField.Builder useType(ConfiguredType useType)
public PivotField.Builder type(BaseType type)
public PivotField.Builder columnNamePattern(String columnNamePattern)
column name pattern can be used to generate the name structure of the generated columns. By default column names are of %PIVOT_KEY_VALUE% or %MACRO_INPUT%%PIVOT_KEY_VALUE%, but we can change it something by passing something like MY_PREFIX%PIVOT_KEY_VALUE%MY_SUFFIX or MY_PREFIX%MACRO_INPUT%%PIVOT_KEY_VALUE%MY_SUFFIX which will add custom prefix and suffix to the column name.
columnNamePattern
- the value to setpublic PivotField build()
public PivotField.Builder copy(PivotField model)
Copyright © 2016–2024. All rights reserved.