public static class DerivedField.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DerivedField |
build() |
DerivedField.Builder |
configValues(ConfigValues configValues) |
DerivedField.Builder |
copy(DerivedField model) |
DerivedField.Builder |
description(String description) |
DerivedField.Builder |
expr(Expression expr) |
DerivedField.Builder |
isUseInferredType(Boolean isUseInferredType)
Specifies whether to use inferred expression output type as output type of the derived
field.
|
DerivedField.Builder |
key(String key) |
DerivedField.Builder |
labels(List<String> labels)
Labels are keywords or labels that you can add to data assets, dataflows and so on.
|
DerivedField.Builder |
modelVersion(String modelVersion) |
DerivedField.Builder |
name(String name) |
DerivedField.Builder |
objectStatus(Integer objectStatus) |
DerivedField.Builder |
parentRef(ParentReference parentRef) |
DerivedField.Builder |
type(String type)
The type of the field.
|
public DerivedField.Builder key(String key)
public DerivedField.Builder modelVersion(String modelVersion)
public DerivedField.Builder parentRef(ParentReference parentRef)
public DerivedField.Builder configValues(ConfigValues configValues)
public DerivedField.Builder objectStatus(Integer objectStatus)
public DerivedField.Builder name(String name)
public DerivedField.Builder description(String description)
public DerivedField.Builder expr(Expression expr)
public DerivedField.Builder type(String type)
The type of the field.
type
- the value to setpublic DerivedField.Builder isUseInferredType(Boolean isUseInferredType)
Specifies whether to use inferred expression output type as output type of the derived field. Default value of this flag is false.
isUseInferredType
- the value to setpublic DerivedField.Builder labels(List<String> labels)
Labels are keywords or labels that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content.
labels
- the value to setpublic DerivedField build()
public DerivedField.Builder copy(DerivedField model)
Copyright © 2016–2024. All rights reserved.