Interface Type
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Type.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.608Z")
@Stability(Experimental)
public interface Type
extends software.amazon.jsii.JsiiSerializable
(experimental) Represents a type of a column in a table schema.
Example:
Database myDatabase; Table.Builder.create(this, "MyTable") .database(myDatabase) .tableName("my_table") .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
-
Method Summary
Modifier and TypeMethodDescriptionstatic Type.Builder
builder()
(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.Builder
ofType
-