@Generated(value="software.amazon.awssdk:codegen") public final class PhysicalTable extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PhysicalTable.Builder,PhysicalTable>
A view of a data source that contains information about the shape of the data in the underlying source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PhysicalTable.Builder |
static class |
PhysicalTable.Type |
| Modifier and Type | Method and Description |
|---|---|
static PhysicalTable.Builder |
builder() |
CustomSql |
customSql()
A physical table type built from the results of the custom SQL query.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static PhysicalTable |
fromCustomSql(Consumer<CustomSql.Builder> customSql)
Create an instance of this class with
customSql() initialized to the given value. |
static PhysicalTable |
fromCustomSql(CustomSql customSql)
Create an instance of this class with
customSql() initialized to the given value. |
static PhysicalTable |
fromRelationalTable(Consumer<RelationalTable.Builder> relationalTable)
Create an instance of this class with
relationalTable() initialized to the given value. |
static PhysicalTable |
fromRelationalTable(RelationalTable relationalTable)
Create an instance of this class with
relationalTable() initialized to the given value. |
static PhysicalTable |
fromS3Source(Consumer<S3Source.Builder> s3Source)
Create an instance of this class with
s3Source() initialized to the given value. |
static PhysicalTable |
fromS3Source(S3Source s3Source)
Create an instance of this class with
s3Source() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
RelationalTable |
relationalTable()
A physical table type for relational data sources.
|
S3Source |
s3Source()
A physical table type for as S3 data source.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PhysicalTable.Builder> |
serializableBuilderClass() |
PhysicalTable.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
PhysicalTable.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final RelationalTable relationalTable()
A physical table type for relational data sources.
public final CustomSql customSql()
A physical table type built from the results of the custom SQL query.
public final S3Source s3Source()
A physical table type for as S3 data source.
public PhysicalTable.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PhysicalTable.Builder,PhysicalTable>public static PhysicalTable.Builder builder()
public static Class<? extends PhysicalTable.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static PhysicalTable fromRelationalTable(RelationalTable relationalTable)
relationalTable() initialized to the given value.
A physical table type for relational data sources.
relationalTable - A physical table type for relational data sources.public static PhysicalTable fromRelationalTable(Consumer<RelationalTable.Builder> relationalTable)
relationalTable() initialized to the given value.
A physical table type for relational data sources.
relationalTable - A physical table type for relational data sources.public static PhysicalTable fromCustomSql(CustomSql customSql)
customSql() initialized to the given value.
A physical table type built from the results of the custom SQL query.
customSql - A physical table type built from the results of the custom SQL query.public static PhysicalTable fromCustomSql(Consumer<CustomSql.Builder> customSql)
customSql() initialized to the given value.
A physical table type built from the results of the custom SQL query.
customSql - A physical table type built from the results of the custom SQL query.public static PhysicalTable fromS3Source(S3Source s3Source)
s3Source() initialized to the given value.
A physical table type for as S3 data source.
s3Source - A physical table type for as S3 data source.public static PhysicalTable fromS3Source(Consumer<S3Source.Builder> s3Source)
s3Source() initialized to the given value.
A physical table type for as S3 data source.
s3Source - A physical table type for as S3 data source.public PhysicalTable.Type type()
PhysicalTable.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be PhysicalTable.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.