@Generated(value="software.amazon.awssdk:codegen") public class StorageDescriptor extends Object implements StructuredPojo, 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
inputFormat()
The input format:
SequenceFileInputFormat (binary), or TextInputFormat , or a custom
format. |
String |
location()
The physical location of the table.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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()
User-supplied properties in key-value form.
|
SerDeInfo |
serdeInfo()
Serialization/deserialization (SerDe) information.
|
static Class<? extends StorageDescriptor.Builder> |
serializableBuilderClass() |
SkewedInfo |
skewedInfo()
Information about values that appear very 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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
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.
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.
public Integer numberOfBuckets()
Must be specified if the table contains any dimension columns.
public SerDeInfo serdeInfo()
Serialization/deserialization (SerDe) information.
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.
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.
public Map<String,String> parameters()
User-supplied properties in key-value form.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public SkewedInfo skewedInfo()
Information about values that appear very frequently in a column (skewed values).
public Boolean storedAsSubDirectories()
True if the table data is stored in subdirectories, or False if not.
public StorageDescriptor.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StorageDescriptor.Builder,StorageDescriptor>
public static StorageDescriptor.Builder builder()
public static Class<? extends StorageDescriptor.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.