java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.glue.alpha.Schema
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-17T14:54:30.183Z") @Stability(Deprecated) @Deprecated public class Schema extends software.amazon.jsii.JsiiObject
Deprecated.
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("NOW-3YEARS")
                         .max("NOW")
                         .format("yyyy-MM-dd")
                         .build())))
         .build();
 

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Type
    Deprecated.
    static final Type
    Deprecated.
    static final Type
    Deprecated.
    static final Type
    Deprecated.
    static final Type
    Deprecated.
    static final Type
    Deprecated.
    static final Type
    Deprecated.
    static final Type
    Deprecated.
    static final Type
    Deprecated.
    static final Type
    Deprecated.
    static final Type
    Deprecated.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    Deprecated.
    protected
    Schema(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    Deprecated.
     
    protected
    Schema(software.amazon.jsii.JsiiObjectRef objRef)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Type
    array(Type itemType)
    Deprecated.
    static Type
    custom(String inputString)
    Deprecated.
    static Type
    custom(String inputString, Boolean isPrimitive)
    Deprecated.
    static Type
    decimal(Number precision)
    Deprecated.
    static Type
    decimal(Number precision, Number scale)
    Deprecated.
    static Type
    doChar(Number length)
    Deprecated.
    static Type
    map(Type keyType, Type valueType)
    Deprecated.
    static Type
    struct(List<? extends Column> columns)
    Deprecated.
    static Type
    varchar(Number length)
    Deprecated.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Field Details

    • BIG_INT

      @Stability(Deprecated) @Deprecated public static final Type BIG_INT
      Deprecated.
      (deprecated) A 64-bit signed INTEGER in two’s complement format, with a minimum value of -2^63 and a maximum value of 2^63-1.
    • BINARY

      @Stability(Deprecated) @Deprecated public static final Type BINARY
      Deprecated.
    • BOOLEAN

      @Stability(Deprecated) @Deprecated public static final Type BOOLEAN
      Deprecated.
    • DATE

      @Stability(Deprecated) @Deprecated public static final Type DATE
      Deprecated.
      (deprecated) Date type.
    • DOUBLE

      @Stability(Deprecated) @Deprecated public static final Type DOUBLE
      Deprecated.
    • FLOAT

      @Stability(Deprecated) @Deprecated public static final Type FLOAT
      Deprecated.
    • INTEGER

      @Stability(Deprecated) @Deprecated public static final Type INTEGER
      Deprecated.
      (deprecated) A 32-bit signed INTEGER in two’s complement format, with a minimum value of -2^31 and a maximum value of 2^31-1.
    • SMALL_INT

      @Stability(Deprecated) @Deprecated public static final Type SMALL_INT
      Deprecated.
      (deprecated) A 16-bit signed INTEGER in two’s complement format, with a minimum value of -2^15 and a maximum value of 2^15-1.
    • STRING

      @Stability(Deprecated) @Deprecated public static final Type STRING
      Deprecated.
      (deprecated) Arbitrary-length string type.
    • TIMESTAMP

      @Stability(Deprecated) @Deprecated public static final Type TIMESTAMP
      Deprecated.
      (deprecated) Timestamp type (date and time).
    • TINY_INT

      @Stability(Deprecated) @Deprecated public static final Type TINY_INT
      Deprecated.
      (deprecated) A 8-bit signed INTEGER in two’s complement format, with a minimum value of -2^7 and a maximum value of 2^7-1.
  • Constructor Details

    • Schema

      protected Schema(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
    • Schema

      protected Schema(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      Deprecated.
    • Schema

      @Stability(Deprecated) @Deprecated public Schema()
      Deprecated.
  • Method Details

    • array

      @Stability(Deprecated) @Deprecated @NotNull public static Type array(@NotNull Type itemType)
      Deprecated.
      (deprecated) Creates an array of some other type.

      Parameters:
      itemType - type contained by the array. This parameter is required.
    • doChar

      @Stability(Deprecated) @Deprecated @NotNull public static Type doChar(@NotNull Number length)
      Deprecated.
      (deprecated) Fixed length character data, with a specified length between 1 and 255.

      Parameters:
      length - length between 1 and 255. This parameter is required.
    • custom

      @Stability(Deprecated) @Deprecated @NotNull public static Type custom(@NotNull String inputString, @Nullable Boolean isPrimitive)
      Deprecated.
      (deprecated) Creates a custom type from a raw Glue input string.

      Escape hatch for column types the other Schema factories don't model. The inputString is emitted verbatim and is not validated.

      Parameters:
      inputString - the Glue input string for the type (for example interval_day_to_second). This parameter is required.
      isPrimitive - whether the type is a primitive (non-nested) data type.
    • custom

      @Stability(Deprecated) @Deprecated @NotNull public static Type custom(@NotNull String inputString)
      Deprecated.
      (deprecated) Creates a custom type from a raw Glue input string.

      Escape hatch for column types the other Schema factories don't model. The inputString is emitted verbatim and is not validated.

      Parameters:
      inputString - the Glue input string for the type (for example interval_day_to_second). This parameter is required.
    • decimal

      @Stability(Deprecated) @Deprecated @NotNull public static Type decimal(@NotNull Number precision, @Nullable Number scale)
      Deprecated.
      (deprecated) Creates a decimal type.

      Parameters:
      precision - the total number of digits, between 1 and 38. This parameter is required.
      scale - the number of digits in the fractional part, between 0 and 38;.
      See Also:
    • decimal

      @Stability(Deprecated) @Deprecated @NotNull public static Type decimal(@NotNull Number precision)
      Deprecated.
      (deprecated) Creates a decimal type.

      Parameters:
      precision - the total number of digits, between 1 and 38. This parameter is required.
      See Also:
    • map

      @Stability(Deprecated) @Deprecated @NotNull public static Type map(@NotNull Type keyType, @NotNull Type valueType)
      Deprecated.
      (deprecated) Creates a map of some primitive key type to some value type.

      Parameters:
      keyType - type of key, must be a primitive. This parameter is required.
      valueType - type fo the value indexed by the key. This parameter is required.
    • struct

      @Stability(Deprecated) @Deprecated @NotNull public static Type struct(@NotNull List<? extends Column> columns)
      Deprecated.
      (deprecated) Creates a nested structure containing individually named and typed columns.

      Parameters:
      columns - the columns of the structure. This parameter is required.
    • varchar

      @Stability(Deprecated) @Deprecated @NotNull public static Type varchar(@NotNull Number length)
      Deprecated.
      (deprecated) Variable length character data, with a specified length between 1 and 65535.

      Parameters:
      length - length between 1 and 65535. This parameter is required.