Class TableProps.Jsii$Proxy
- All Implemented Interfaces:
S3TableProps
,TableBaseProps
,TableProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
TableProps
TableProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.glue.alpha.TableProps
TableProps.Builder, TableProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(TableProps.Builder builder) Constructor that initializes the object based on literal property values passed by theTableProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final IBucket
(experimental) S3 bucket in which to store data.(experimental) Columns of the table.final Boolean
(experimental) Indicates whether the table's data is compressed or not.final IDatabase
(experimental) Database in which to store the table.final DataFormat
(experimental) Storage type of the table's data.final String
(experimental) Description of the table.final Boolean
(experimental) Enables partition filtering.final TableEncryption
(experimental) The kind of encryption to secure the data with.final IKey
(experimental) External KMS key to use for bucket encryption.(experimental) The key/value pairs define properties associated with the table.final List<PartitionIndex>
(experimental) Partition indexes on the table.(experimental) Partition columns of the table.final String
(experimental) S3 prefix under which table objects are stored.final List<StorageParameter>
(experimental) The user-supplied properties for the description of the physical storage of this table.final Boolean
(experimental) Indicates whether the table data is stored in subdirectories.final String
(experimental) Name of the table.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theTableProps.Builder
.
-
-
Method Details
-
getBucket
Description copied from interface:S3TableProps
(experimental) S3 bucket in which to store data.Default: one is created for you
- Specified by:
getBucket
in interfaceS3TableProps
-
getEncryption
Description copied from interface:S3TableProps
(experimental) The kind of encryption to secure the data with.You can only provide this option if you are not explicitly passing in a bucket.
If you choose
SSE-KMS
, you can provide an un-managed KMS key withencryptionKey
. If you chooseCSE-KMS
, you must provide an un-managed KMS key withencryptionKey
.Default: BucketEncryption.S3_MANAGED
- Specified by:
getEncryption
in interfaceS3TableProps
-
getEncryptionKey
Description copied from interface:S3TableProps
(experimental) External KMS key to use for bucket encryption.The
encryption
property must beSSE-KMS
orCSE-KMS
.Default: key is managed by KMS.
- Specified by:
getEncryptionKey
in interfaceS3TableProps
-
getS3Prefix
Description copied from interface:S3TableProps
(experimental) S3 prefix under which table objects are stored.Default: - No prefix. The data will be stored under the root of the bucket.
- Specified by:
getS3Prefix
in interfaceS3TableProps
-
getColumns
Description copied from interface:TableBaseProps
(experimental) Columns of the table.- Specified by:
getColumns
in interfaceTableBaseProps
-
getDatabase
Description copied from interface:TableBaseProps
(experimental) Database in which to store the table.- Specified by:
getDatabase
in interfaceTableBaseProps
-
getDataFormat
Description copied from interface:TableBaseProps
(experimental) Storage type of the table's data.- Specified by:
getDataFormat
in interfaceTableBaseProps
-
getCompressed
Description copied from interface:TableBaseProps
(experimental) Indicates whether the table's data is compressed or not.Default: false
- Specified by:
getCompressed
in interfaceTableBaseProps
-
getDescription
Description copied from interface:TableBaseProps
(experimental) Description of the table.Default: generated
- Specified by:
getDescription
in interfaceTableBaseProps
-
getEnablePartitionFiltering
Description copied from interface:TableBaseProps
(experimental) Enables partition filtering.Default: - The parameter is not defined
- Specified by:
getEnablePartitionFiltering
in interfaceTableBaseProps
- See Also:
-
getParameters
Description copied from interface:TableBaseProps
(experimental) The key/value pairs define properties associated with the table.The key/value pairs that are allowed to be submitted are not limited, however their functionality is not guaranteed.
Default: - The parameter is not defined
- Specified by:
getParameters
in interfaceTableBaseProps
- See Also:
-
getPartitionIndexes
Description copied from interface:TableBaseProps
(experimental) Partition indexes on the table.A maximum of 3 indexes are allowed on a table. Keys in the index must be part of the table's partition keys.
Default: table has no partition indexes
- Specified by:
getPartitionIndexes
in interfaceTableBaseProps
-
getPartitionKeys
Description copied from interface:TableBaseProps
(experimental) Partition columns of the table.Default: table is not partitioned
- Specified by:
getPartitionKeys
in interfaceTableBaseProps
-
getStorageParameters
Description copied from interface:TableBaseProps
(experimental) The user-supplied properties for the description of the physical storage of this table.These properties help describe the format of the data that is stored within the crawled data sources.
The key/value pairs that are allowed to be submitted are not limited, however their functionality is not guaranteed.
Some keys will be auto-populated by glue crawlers, however, you can override them by specifying the key and value in this property.
Default: - The parameter is not defined
Example:
IDatabase glueDatabase; Table table = Table.Builder.create(this, "Table") .storageParameters(List.of(StorageParameter.skipHeaderLineCount(1), StorageParameter.compressionType(CompressionType.GZIP), StorageParameter.custom("foo", "bar"), StorageParameter.custom("separatorChar", ","), StorageParameter.custom(StorageParameters.WRITE_PARALLEL, "off"))) // ... .database(glueDatabase) .columns(List.of(Column.builder() .name("col1") .type(Schema.STRING) .build())) .dataFormat(DataFormat.CSV) .build();
- Specified by:
getStorageParameters
in interfaceTableBaseProps
- See Also:
-
getStoredAsSubDirectories
Description copied from interface:TableBaseProps
(experimental) Indicates whether the table data is stored in subdirectories.Default: false
- Specified by:
getStoredAsSubDirectories
in interfaceTableBaseProps
-
getTableName
Description copied from interface:TableBaseProps
(experimental) Name of the table.Default: - generated by CDK.
- Specified by:
getTableName
in interfaceTableBaseProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-