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
    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