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

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for Type
    static final class 
    An implementation for Type
  • Method Summary

    Modifier and Type
    Method
    Description
     
    (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

      @Stability(Experimental) @NotNull String getInputString()
      (experimental) Glue InputString for this type.
    • getIsPrimitive

      @Stability(Experimental) @NotNull Boolean getIsPrimitive()
      (experimental) Indicates whether this type is a primitive data type.
    • builder

      @Stability(Experimental) static Type.Builder builder()
      Returns:
      a Type.Builder of Type