Interface CfnTable.TableInputProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTable.TableInputProperty.Jsii$Proxy
- Enclosing class:
CfnTable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;
Object parameters;
Object skewedColumnValueLocationMaps;
TableInputProperty tableInputProperty = TableInputProperty.builder()
.description("description")
.name("name")
.owner("owner")
.parameters(parameters)
.partitionKeys(List.of(ColumnProperty.builder()
.name("name")
// the properties below are optional
.comment("comment")
.type("type")
.build()))
.retention(123)
.storageDescriptor(StorageDescriptorProperty.builder()
.bucketColumns(List.of("bucketColumns"))
.columns(List.of(ColumnProperty.builder()
.name("name")
// the properties below are optional
.comment("comment")
.type("type")
.build()))
.compressed(false)
.inputFormat("inputFormat")
.location("location")
.numberOfBuckets(123)
.outputFormat("outputFormat")
.parameters(parameters)
.schemaReference(SchemaReferenceProperty.builder()
.schemaId(SchemaIdProperty.builder()
.registryName("registryName")
.schemaArn("schemaArn")
.schemaName("schemaName")
.build())
.schemaVersionId("schemaVersionId")
.schemaVersionNumber(123)
.build())
.serdeInfo(SerdeInfoProperty.builder()
.name("name")
.parameters(parameters)
.serializationLibrary("serializationLibrary")
.build())
.skewedInfo(SkewedInfoProperty.builder()
.skewedColumnNames(List.of("skewedColumnNames"))
.skewedColumnValueLocationMaps(skewedColumnValueLocationMaps)
.skewedColumnValues(List.of("skewedColumnValues"))
.build())
.sortColumns(List.of(OrderProperty.builder()
.column("column")
.sortOrder(123)
.build()))
.storedAsSubDirectories(false)
.build())
.tableType("tableType")
.targetTable(TableIdentifierProperty.builder()
.catalogId("catalogId")
.databaseName("databaseName")
.name("name")
.region("region")
.build())
.viewExpandedText("viewExpandedText")
.viewOriginalText("viewOriginalText")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTable.TableInputPropertystatic final classAn implementation forCfnTable.TableInputProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA description of the table.default StringgetName()The table name.default StringgetOwner()The table owner.default ObjectThese key-value pairs define properties associated with the table.default ObjectA list of columns by which the table is partitioned.default NumberThe retention time for this table.default ObjectA storage descriptor containing information about the physical storage of this table.default StringThe type of this table.default ObjectATableIdentifierstructure that describes a target table for resource linking.default StringIncluded for Apache Hive compatibility.default StringIncluded for Apache Hive compatibility.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
A description of the table.- See Also:
-
getName
The table name.For Hive compatibility, this is folded to lowercase when it is stored.
- See Also:
-
getOwner
The table owner.Included for Apache Hive compatibility. Not used in the normal course of AWS Glue operations.
- See Also:
-
getParameters
These key-value pairs define properties associated with the table.- See Also:
-
getPartitionKeys
A list of columns by which the table is partitioned. Only primitive types are supported as partition keys.When you create a table used by Amazon Athena, and you do not specify any
partitionKeys, you must at least set the value ofpartitionKeysto an empty list. For example:"PartitionKeys": []Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTable.ColumnProperty>- See Also:
-
getRetention
The retention time for this table.- See Also:
-
getStorageDescriptor
A storage descriptor containing information about the physical storage of this table.Returns union: either
IResolvableorCfnTable.StorageDescriptorProperty- See Also:
-
getTableType
The type of this table.AWS Glue will create tables with the
EXTERNAL_TABLEtype. Other services, such as Athena, may create tables with additional table types.AWS Glue related table types:
- EXTERNAL_TABLE - Hive compatible attribute - indicates a non-Hive managed table.
- GOVERNED - Used by AWS Lake Formation . The AWS Glue Data Catalog understands
GOVERNED.
- See Also:
-
getTargetTable
ATableIdentifierstructure that describes a target table for resource linking.Returns union: either
IResolvableorCfnTable.TableIdentifierProperty- See Also:
-
getViewExpandedText
Included for Apache Hive compatibility.Not used in the normal course of AWS Glue operations.
- See Also:
-
getViewOriginalText
Included for Apache Hive compatibility.Not used in the normal course of AWS Glue operations. If the table is a
VIRTUAL_VIEW, certain Athena configuration encoded in base64.- See Also:
-
builder
-