Interface IntegerPartitionProjectionConfigurationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IntegerPartitionProjectionConfigurationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-17T14:54:05.050Z")
@Stability(Stable)
public interface IntegerPartitionProjectionConfigurationProps
extends software.amazon.jsii.JsiiSerializable
Properties for INTEGER partition projection configuration.
Example:
Database myDatabase;
S3Table.Builder.create(this, "MyTable")
.database(myDatabase)
.columns(List.of(Column.builder()
.name("data")
.type(Schema.STRING)
.build()))
.partitionKeys(List.of(Column.builder()
.name("year")
.type(Schema.INTEGER)
.build()))
.dataFormat(DataFormat.JSON)
.partitionProjection(Map.of(
"year", PartitionProjectionConfiguration.integer(IntegerPartitionProjectionConfigurationProps.builder()
.min(2020)
.max(2023)
.interval(1) // optional, defaults to 1
.digits(4)
.build())))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forIntegerPartitionProjectionConfigurationPropsstatic final classAn implementation forIntegerPartitionProjectionConfigurationProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberNumber of digits to pad the partition value with leading zeros.default NumberInterval between partition values.getMax()Maximum value for the integer partition range (inclusive).getMin()Minimum value for the integer partition range (inclusive).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMax
Maximum value for the integer partition range (inclusive). -
getMin
Minimum value for the integer partition range (inclusive). -
getDigits
Number of digits to pad the partition value with leading zeros.With digits: 4, partition values: 0001, 0002, ..., 0100
Default: - no static number of digits and no leading zeroes
-
getInterval
Interval between partition values.Default: 1
-
builder
-