Interface DatePartitionProjectionConfigurationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DatePartitionProjectionConfigurationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-17T14:54:30.025Z")
@Stability(Deprecated)
@Deprecated
public interface DatePartitionProjectionConfigurationProps
extends software.amazon.jsii.JsiiSerializable
Deprecated.
(deprecated) Properties for DATE 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("date")
.type(Schema.STRING)
.build()))
.dataFormat(DataFormat.JSON)
.partitionProjection(Map.of(
"date", PartitionProjectionConfiguration.date(DatePartitionProjectionConfigurationProps.builder()
.min("2020-01-01")
.max("2023-12-31")
.format("yyyy-MM-dd")
// `step` bundles interval + unit (supply both or neither). Optional at day
// precision or coarser; required when the format is sub-day (e.g. hours).
.step(DateProjectionStep.builder().interval(1).intervalUnit(DateIntervalUnit.DAYS).build())
.build())))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classDeprecated.static final classDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Deprecated.Deprecated.getMax()Deprecated.getMin()Deprecated.default DateProjectionStepgetStep()Deprecated.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFormat
Deprecated.(deprecated) Date format for partition values.Uses Java SimpleDateFormat patterns.
- See Also:
-
getMax
Deprecated.(deprecated) End date for the partition range (inclusive).Can be either:
- Fixed date in the format specified by
formatproperty - Relative date using NOW syntax
Same format constraints as
min. - Fixed date in the format specified by
-
getMin
Deprecated.(deprecated) Start date for the partition range (inclusive).Can be either:
- Fixed date in the format specified by
formatproperty (e.g., '2020-01-01' for format 'yyyy-MM-dd') - Relative date using NOW syntax (e.g., 'NOW', 'NOW-3YEARS', 'NOW+1MONTH')
- See Also:
- Fixed date in the format specified by
-
getStep
Deprecated.(deprecated) Interval step (interval+intervalUnit) between partition values.The two are supplied together, so a partial step cannot be expressed. Required when
formatcarries sub-day precision — a field finer than a day, such as hours or AM/PM; at day or coarser precision Athena defaults the step, so it may be omitted.Default: - Athena's default step for the format's precision; required when `format` is sub-day precision
-
builder
@Stability(Deprecated) @Deprecated static DatePartitionProjectionConfigurationProps.Builder builder()Deprecated.
-