Interface Type
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Type.Jsii$Proxy
@Generated(value="jsii-pacmak/1.128.0 (build 749b9a9)",
date="2026-05-08T13:05:29.780Z")
@Stability(Experimental)
public interface Type
extends software.amazon.jsii.JsiiSerializable
(experimental) Represents a type of a column in a table schema.
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")
.interval(1) // optional, defaults to 1
.intervalUnit(DateIntervalUnit.DAYS)
.build())))
.build();
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Type.Builderbuilder()(experimental) Glue InputString for this type.(experimental) Indicates whether this type is a primitive data type.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInputString
(experimental) Glue InputString for this type. -
getIsPrimitive
(experimental) Indicates whether this type is a primitive data type. -
builder
- Returns:
- a
Type.BuilderofType
-