Interface ExternalTableProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,TableBaseProps
- All Known Implementing Classes:
ExternalTableProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:41.428Z")
@Stability(Experimental)
public interface ExternalTableProps
extends software.amazon.jsii.JsiiSerializable, TableBaseProps
Example:
Connection myConnection; Database myDatabase; ExternalTable.Builder.create(this, "MyTable") .connection(myConnection) .externalDataLocation("default_db_public_example") // A table in Redshift // ... .database(myDatabase) .columns(List.of(Column.builder() .name("col1") .type(Schema.STRING) .build())) .dataFormat(DataFormat.JSON) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forExternalTableProps
static final class
An implementation forExternalTableProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExternalTableProps.Builder
builder()
(experimental) The connection the table will use when performing reads and writes.(experimental) The data source location of the glue table, (e.g.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.glue.alpha.TableBaseProps
getColumns, getCompressed, getDatabase, getDataFormat, getDescription, getEnablePartitionFiltering, getParameters, getPartitionIndexes, getPartitionKeys, getStorageParameters, getStoredAsSubDirectories, getTableName
-
Method Details
-
getConnection
(experimental) The connection the table will use when performing reads and writes.Default: - No connection
-
getExternalDataLocation
(experimental) The data source location of the glue table, (e.g.default_db_public_example
for Redshift).If this property is set, it will override both
bucket
ands3Prefix
.Default: - No outsourced data source location
-
builder
- Returns:
- a
ExternalTableProps.Builder
ofExternalTableProps
-