@Generated(value="software.amazon.awssdk:codegen") public final class StorageDescriptor extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StorageDescriptor.Builder,StorageDescriptor>
Describes the physical storage of table data.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StorageDescriptor.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
bucketColumns()
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
|
static StorageDescriptor.Builder |
builder() |
List<Column> |
columns()
A list of the
Columns in the table. |
Boolean |
compressed()
True if the data in the table is compressed, or False if not. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasBucketColumns()
Returns true if the BucketColumns property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasColumns()
Returns true if the Columns property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasParameters()
Returns true if the Parameters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasSortColumns()
Returns true if the SortColumns property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
String |
inputFormat()
The input format:
SequenceFileInputFormat (binary), or TextInputFormat, or a custom
format. |
String |
location()
The physical location of the table.
|
Integer |
numberOfBuckets()
Must be specified if the table contains any dimension columns.
|
String |
outputFormat()
The output format:
SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or
a custom format. |
Map<String,String> |
parameters()
The user-supplied properties in key-value form.
|
SchemaReference |
schemaReference()
An object that references a schema stored in the AWS Glue Schema Registry.
|
List<SdkField<?>> |
sdkFields() |
SerDeInfo |
serdeInfo()
The serialization/deserialization (SerDe) information.
|
static Class<? extends StorageDescriptor.Builder> |
serializableBuilderClass() |
SkewedInfo |
skewedInfo()
The information about values that appear frequently in a column (skewed values).
|
List<Order> |
sortColumns()
A list specifying the sort order of each bucket in the table.
|
Boolean |
storedAsSubDirectories()
True if the table data is stored in subdirectories, or False if not. |
StorageDescriptor.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasColumns()
public List<Column> columns()
A list of the Columns in the table.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasColumns() to see if a value was sent in this field.
Columns in the table.public String location()
The physical location of the table. By default, this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
public String inputFormat()
The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom
format.
SequenceFileInputFormat (binary), or TextInputFormat, or a
custom format.public String outputFormat()
The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or
a custom format.
SequenceFileOutputFormat (binary), or
IgnoreKeyTextOutputFormat, or a custom format.public Boolean compressed()
True if the data in the table is compressed, or False if not.
True if the data in the table is compressed, or False if not.public Integer numberOfBuckets()
Must be specified if the table contains any dimension columns.
public SerDeInfo serdeInfo()
The serialization/deserialization (SerDe) information.
public boolean hasBucketColumns()
public List<String> bucketColumns()
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasBucketColumns() to see if a value was sent in this field.
public boolean hasSortColumns()
public List<Order> sortColumns()
A list specifying the sort order of each bucket in the table.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSortColumns() to see if a value was sent in this field.
public boolean hasParameters()
public Map<String,String> parameters()
The user-supplied properties in key-value form.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasParameters() to see if a value was sent in this field.
public SkewedInfo skewedInfo()
The information about values that appear frequently in a column (skewed values).
public Boolean storedAsSubDirectories()
True if the table data is stored in subdirectories, or False if not.
True if the table data is stored in subdirectories, or False if not.public SchemaReference schemaReference()
An object that references a schema stored in the AWS Glue Schema Registry.
When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference.
When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference.
public StorageDescriptor.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StorageDescriptor.Builder,StorageDescriptor>public static StorageDescriptor.Builder builder()
public static Class<? extends StorageDescriptor.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.