Interface Type
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Type.Jsii$Proxy
@Generated(value="jsii-pacmak/1.94.0 (build b380f01)",
date="2024-01-13T02:49:34.261Z")
@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("col1")
.type(Schema.STRING)
.build()))
.partitionKeys(List.of(Column.builder()
.name("year")
.type(Schema.SMALL_INT)
.build(), Column.builder()
.name("month")
.type(Schema.SMALL_INT)
.build()))
.dataFormat(DataFormat.JSON)
.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
-