Class Schema
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
FieldsModifier and TypeFieldDescriptionstatic final TypeDeprecated.static final TypeDeprecated.static final TypeDeprecated.static final TypeDeprecated.static final TypeDeprecated.static final TypeDeprecated.static final TypeDeprecated.static final TypeDeprecated.static final TypeDeprecated.static final TypeDeprecated.static final TypeDeprecated. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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
Deprecated. -
BOOLEAN
Deprecated. -
DATE
Deprecated.(deprecated) Date type. -
DOUBLE
Deprecated. -
FLOAT
Deprecated. -
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
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
Deprecated.(deprecated) Arbitrary-length string type. -
TIMESTAMP
Deprecated.(deprecated) Timestamp type (date and time). -
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
Deprecated.
-
-
Method Details
-
array
Deprecated.(deprecated) Creates an array of some other type.- Parameters:
itemType- type contained by the array. This parameter is required.
-
doChar
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
Schemafactories don't model. TheinputStringis emitted verbatim and is not validated.- Parameters:
inputString- the Glue input string for the type (for exampleinterval_day_to_second). This parameter is required.isPrimitive- whether the type is a primitive (non-nested) data type.
-
custom
Deprecated.(deprecated) Creates a custom type from a raw Glue input string.Escape hatch for column types the other
Schemafactories don't model. TheinputStringis emitted verbatim and is not validated.- Parameters:
inputString- the Glue input string for the type (for exampleinterval_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
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
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.
-