public static interface DataModel.Builder extends SdkPojo, CopyableBuilder<DataModel.Builder,DataModel>
| Modifier and Type | Method and Description |
|---|---|
DataModel.Builder |
dimensionMappings(Collection<DimensionMapping> dimensionMappings)
Source to target mappings for dimensions.
|
DataModel.Builder |
dimensionMappings(Consumer<DimensionMapping.Builder>... dimensionMappings)
Source to target mappings for dimensions.
|
DataModel.Builder |
dimensionMappings(DimensionMapping... dimensionMappings)
Source to target mappings for dimensions.
|
DataModel.Builder |
measureNameColumn(String measureNameColumn)
|
DataModel.Builder |
mixedMeasureMappings(Collection<MixedMeasureMapping> mixedMeasureMappings)
Source to target mappings for measures.
|
DataModel.Builder |
mixedMeasureMappings(Consumer<MixedMeasureMapping.Builder>... mixedMeasureMappings)
Source to target mappings for measures.
|
DataModel.Builder |
mixedMeasureMappings(MixedMeasureMapping... mixedMeasureMappings)
Source to target mappings for measures.
|
default DataModel.Builder |
multiMeasureMappings(Consumer<MultiMeasureMappings.Builder> multiMeasureMappings)
Source to target mappings for multi-measure records.
|
DataModel.Builder |
multiMeasureMappings(MultiMeasureMappings multiMeasureMappings)
Source to target mappings for multi-measure records.
|
DataModel.Builder |
timeColumn(String timeColumn)
Source column to be mapped to time.
|
DataModel.Builder |
timeUnit(String timeUnit)
The granularity of the timestamp unit.
|
DataModel.Builder |
timeUnit(TimeUnit timeUnit)
The granularity of the timestamp unit.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDataModel.Builder timeColumn(String timeColumn)
Source column to be mapped to time.
timeColumn - Source column to be mapped to time.DataModel.Builder timeUnit(String timeUnit)
The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds,
nanoseconds, or other supported values. Default is MILLISECONDS.
timeUnit - The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds,
nanoseconds, or other supported values. Default is MILLISECONDS.TimeUnit,
TimeUnitDataModel.Builder timeUnit(TimeUnit timeUnit)
The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds,
nanoseconds, or other supported values. Default is MILLISECONDS.
timeUnit - The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds,
nanoseconds, or other supported values. Default is MILLISECONDS.TimeUnit,
TimeUnitDataModel.Builder dimensionMappings(Collection<DimensionMapping> dimensionMappings)
Source to target mappings for dimensions.
dimensionMappings - Source to target mappings for dimensions.DataModel.Builder dimensionMappings(DimensionMapping... dimensionMappings)
Source to target mappings for dimensions.
dimensionMappings - Source to target mappings for dimensions.DataModel.Builder dimensionMappings(Consumer<DimensionMapping.Builder>... dimensionMappings)
Source to target mappings for dimensions.
This is a convenience method that creates an instance of theDimensionMapping.Builder avoiding the need to
create one manually via
DimensionMapping.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #dimensionMappings(List.
dimensionMappings - a consumer that will call methods on
DimensionMapping.Builder#dimensionMappings(java.util.Collection) DataModel.Builder multiMeasureMappings(MultiMeasureMappings multiMeasureMappings)
Source to target mappings for multi-measure records.
multiMeasureMappings - Source to target mappings for multi-measure records.default DataModel.Builder multiMeasureMappings(Consumer<MultiMeasureMappings.Builder> multiMeasureMappings)
Source to target mappings for multi-measure records.
This is a convenience method that creates an instance of theMultiMeasureMappings.Builder avoiding
the need to create one manually via MultiMeasureMappings.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to multiMeasureMappings(MultiMeasureMappings).
multiMeasureMappings - a consumer that will call methods on MultiMeasureMappings.BuildermultiMeasureMappings(MultiMeasureMappings)DataModel.Builder mixedMeasureMappings(Collection<MixedMeasureMapping> mixedMeasureMappings)
Source to target mappings for measures.
mixedMeasureMappings - Source to target mappings for measures.DataModel.Builder mixedMeasureMappings(MixedMeasureMapping... mixedMeasureMappings)
Source to target mappings for measures.
mixedMeasureMappings - Source to target mappings for measures.DataModel.Builder mixedMeasureMappings(Consumer<MixedMeasureMapping.Builder>... mixedMeasureMappings)
Source to target mappings for measures.
This is a convenience method that creates an instance of theMixedMeasureMapping.Builder avoiding the need
to create one manually via
MixedMeasureMapping.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #mixedMeasureMappings(List.
mixedMeasureMappings - a consumer that will call methods on
MixedMeasureMapping.Builder#mixedMeasureMappings(java.util.Collection) DataModel.Builder measureNameColumn(String measureNameColumn)
measureNameColumn - Copyright © 2023. All rights reserved.