@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:30:02.176Z") @Stability(value=Experimental) public class Schema extends software.amazon.jsii.JsiiObject
https://docs.aws.amazon.com/athena/latest/ug/data-types.html| Modifier and Type | Field and Description |
|---|---|
static Type |
BIG_INT
(experimental) 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.
|
static Type |
BINARY |
static Type |
BOOLEAN |
static Type |
DATE
(experimental) Date type.
|
static Type |
DOUBLE |
static Type |
FLOAT |
static Type |
INTEGER
(experimental) 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.
|
static Type |
SMALL_INT
(experimental) 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.
|
static Type |
STRING
(experimental) Arbitrary-length string type.
|
static Type |
TIMESTAMP
(experimental) Timestamp type (date and time).
|
static Type |
TINY_INT
(experimental) 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.
|
| Modifier | Constructor and Description |
|---|---|
|
Schema() |
protected |
Schema(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Schema(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static Type |
array(Type itemType)
(experimental) Creates an array of some other type.
|
static Type |
decimal(Number precision)
(experimental) Creates a decimal type.
|
static Type |
decimal(Number precision,
Number scale)
(experimental) Creates a decimal type.
|
static Type |
doChar(Number length)
(experimental) Fixed length character data, with a specified length between 1 and 255.
|
static Type |
map(Type keyType,
Type valueType)
(experimental) Creates a map of some primitive key type to some value type.
|
static Type |
struct(List<? extends Column> columns)
(experimental) Creates a nested structure containing individually named and typed columns.
|
static Type |
varchar(Number length)
(experimental) Variable length character data, with a specified length between 1 and 65535.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Experimental) public static final Type BIG_INT
@Stability(value=Experimental) public static final Type BINARY
@Stability(value=Experimental) public static final Type BOOLEAN
@Stability(value=Experimental) public static final Type DATE
@Stability(value=Experimental) public static final Type DOUBLE
@Stability(value=Experimental) public static final Type FLOAT
@Stability(value=Experimental) public static final Type INTEGER
@Stability(value=Experimental) public static final Type SMALL_INT
@Stability(value=Experimental) public static final Type STRING
@Stability(value=Experimental) public static final Type TIMESTAMP
@Stability(value=Experimental) public static final Type TINY_INT
protected Schema(software.amazon.jsii.JsiiObjectRef objRef)
protected Schema(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) public Schema()
@Stability(value=Experimental) @NotNull public static Type array(@NotNull Type itemType)
itemType - type contained by the array. This parameter is required.@Stability(value=Experimental) @NotNull public static Type doChar(@NotNull Number length)
length - length between 1 and 255. This parameter is required.@Stability(value=Experimental) @NotNull public static Type decimal(@NotNull Number precision, @Nullable Number scale)
TODO: Bounds
precision - the total number of digits. This parameter is required.scale - the number of digits in fractional part, the default is 0.@Stability(value=Experimental) @NotNull public static Type decimal(@NotNull Number precision)
TODO: Bounds
precision - the total number of digits. This parameter is required.@Stability(value=Experimental) @NotNull public static Type map(@NotNull Type keyType, @NotNull Type valueType)
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.@Stability(value=Experimental) @NotNull public static Type struct(@NotNull List<? extends Column> columns)
columns - the columns of the structure. This parameter is required.Copyright © 2021. All rights reserved.