@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StorageDescriptor extends Object implements Serializable, Cloneable, StructuredPojo
Describes the physical storage of table data.
| Constructor and Description | 
|---|
| StorageDescriptor() | 
| Modifier and Type | Method and Description | 
|---|---|
| StorageDescriptor | addParametersEntry(String key,
                  String value)Add a single Parameters entry | 
| StorageDescriptor | clearParametersEntries()Removes all the entries added into Parameters. | 
| StorageDescriptor | clone() | 
| boolean | equals(Object obj) | 
| List<String> | getAdditionalLocations()
 A list of locations that point to the path where a Delta table is located. | 
| List<String> | getBucketColumns()
 A list of reducer grouping columns, clustering columns, and bucketing columns in the table. | 
| List<Column> | getColumns()
 A list of the  Columnsin the table. | 
| Boolean | getCompressed()Trueif the data in the table is compressed, orFalseif not. | 
| String | getInputFormat()
 The input format:  SequenceFileInputFormat(binary), orTextInputFormat, or a custom
 format. | 
| String | getLocation()
 The physical location of the table. | 
| Integer | getNumberOfBuckets()
 Must be specified if the table contains any dimension columns. | 
| String | getOutputFormat()
 The output format:  SequenceFileOutputFormat(binary), orIgnoreKeyTextOutputFormat, or
 a custom format. | 
| Map<String,String> | getParameters()
 The user-supplied properties in key-value form. | 
| SchemaReference | getSchemaReference()
 An object that references a schema stored in the Glue Schema Registry. | 
| SerDeInfo | getSerdeInfo()
 The serialization/deserialization (SerDe) information. | 
| SkewedInfo | getSkewedInfo()
 The information about values that appear frequently in a column (skewed values). | 
| List<Order> | getSortColumns()
 A list specifying the sort order of each bucket in the table. | 
| Boolean | getStoredAsSubDirectories()Trueif the table data is stored in subdirectories, orFalseif not. | 
| int | hashCode() | 
| Boolean | isCompressed()Trueif the data in the table is compressed, orFalseif not. | 
| Boolean | isStoredAsSubDirectories()Trueif the table data is stored in subdirectories, orFalseif not. | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setAdditionalLocations(Collection<String> additionalLocations)
 A list of locations that point to the path where a Delta table is located. | 
| void | setBucketColumns(Collection<String> bucketColumns)
 A list of reducer grouping columns, clustering columns, and bucketing columns in the table. | 
| void | setColumns(Collection<Column> columns)
 A list of the  Columnsin the table. | 
| void | setCompressed(Boolean compressed)Trueif the data in the table is compressed, orFalseif not. | 
| void | setInputFormat(String inputFormat)
 The input format:  SequenceFileInputFormat(binary), orTextInputFormat, or a custom
 format. | 
| void | setLocation(String location)
 The physical location of the table. | 
| void | setNumberOfBuckets(Integer numberOfBuckets)
 Must be specified if the table contains any dimension columns. | 
| void | setOutputFormat(String outputFormat)
 The output format:  SequenceFileOutputFormat(binary), orIgnoreKeyTextOutputFormat, or
 a custom format. | 
| void | setParameters(Map<String,String> parameters)
 The user-supplied properties in key-value form. | 
| void | setSchemaReference(SchemaReference schemaReference)
 An object that references a schema stored in the Glue Schema Registry. | 
| void | setSerdeInfo(SerDeInfo serdeInfo)
 The serialization/deserialization (SerDe) information. | 
| void | setSkewedInfo(SkewedInfo skewedInfo)
 The information about values that appear frequently in a column (skewed values). | 
| void | setSortColumns(Collection<Order> sortColumns)
 A list specifying the sort order of each bucket in the table. | 
| void | setStoredAsSubDirectories(Boolean storedAsSubDirectories)Trueif the table data is stored in subdirectories, orFalseif not. | 
| String | toString()Returns a string representation of this object. | 
| StorageDescriptor | withAdditionalLocations(Collection<String> additionalLocations)
 A list of locations that point to the path where a Delta table is located. | 
| StorageDescriptor | withAdditionalLocations(String... additionalLocations)
 A list of locations that point to the path where a Delta table is located. | 
| StorageDescriptor | withBucketColumns(Collection<String> bucketColumns)
 A list of reducer grouping columns, clustering columns, and bucketing columns in the table. | 
| StorageDescriptor | withBucketColumns(String... bucketColumns)
 A list of reducer grouping columns, clustering columns, and bucketing columns in the table. | 
| StorageDescriptor | withColumns(Collection<Column> columns)
 A list of the  Columnsin the table. | 
| StorageDescriptor | withColumns(Column... columns)
 A list of the  Columnsin the table. | 
| StorageDescriptor | withCompressed(Boolean compressed)Trueif the data in the table is compressed, orFalseif not. | 
| StorageDescriptor | withInputFormat(String inputFormat)
 The input format:  SequenceFileInputFormat(binary), orTextInputFormat, or a custom
 format. | 
| StorageDescriptor | withLocation(String location)
 The physical location of the table. | 
| StorageDescriptor | withNumberOfBuckets(Integer numberOfBuckets)
 Must be specified if the table contains any dimension columns. | 
| StorageDescriptor | withOutputFormat(String outputFormat)
 The output format:  SequenceFileOutputFormat(binary), orIgnoreKeyTextOutputFormat, or
 a custom format. | 
| StorageDescriptor | withParameters(Map<String,String> parameters)
 The user-supplied properties in key-value form. | 
| StorageDescriptor | withSchemaReference(SchemaReference schemaReference)
 An object that references a schema stored in the Glue Schema Registry. | 
| StorageDescriptor | withSerdeInfo(SerDeInfo serdeInfo)
 The serialization/deserialization (SerDe) information. | 
| StorageDescriptor | withSkewedInfo(SkewedInfo skewedInfo)
 The information about values that appear frequently in a column (skewed values). | 
| StorageDescriptor | withSortColumns(Collection<Order> sortColumns)
 A list specifying the sort order of each bucket in the table. | 
| StorageDescriptor | withSortColumns(Order... sortColumns)
 A list specifying the sort order of each bucket in the table. | 
| StorageDescriptor | withStoredAsSubDirectories(Boolean storedAsSubDirectories)Trueif the table data is stored in subdirectories, orFalseif not. | 
public List<Column> getColumns()
 A list of the Columns in the table.
 
Columns in the table.public void setColumns(Collection<Column> columns)
 A list of the Columns in the table.
 
columns - A list of the Columns in the table.public StorageDescriptor withColumns(Column... columns)
 A list of the Columns in the table.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setColumns(java.util.Collection) or withColumns(java.util.Collection) if you want to override
 the existing values.
 
columns - A list of the Columns in the table.public StorageDescriptor withColumns(Collection<Column> columns)
 A list of the Columns in the table.
 
columns - A list of the Columns in the table.public void setLocation(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.
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 getLocation()
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 StorageDescriptor withLocation(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.
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 List<String> getAdditionalLocations()
A list of locations that point to the path where a Delta table is located.
public void setAdditionalLocations(Collection<String> additionalLocations)
A list of locations that point to the path where a Delta table is located.
additionalLocations - A list of locations that point to the path where a Delta table is located.public StorageDescriptor withAdditionalLocations(String... additionalLocations)
A list of locations that point to the path where a Delta table is located.
 NOTE: This method appends the values to the existing list (if any). Use
 setAdditionalLocations(java.util.Collection) or withAdditionalLocations(java.util.Collection)
 if you want to override the existing values.
 
additionalLocations - A list of locations that point to the path where a Delta table is located.public StorageDescriptor withAdditionalLocations(Collection<String> additionalLocations)
A list of locations that point to the path where a Delta table is located.
additionalLocations - A list of locations that point to the path where a Delta table is located.public void setInputFormat(String inputFormat)
 The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom
 format.
 
inputFormat - The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a
        custom format.public String getInputFormat()
 The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom
 format.
 
SequenceFileInputFormat (binary), or TextInputFormat, or a
         custom format.public StorageDescriptor withInputFormat(String inputFormat)
 The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom
 format.
 
inputFormat - The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a
        custom format.public void setOutputFormat(String outputFormat)
 The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or
 a custom format.
 
outputFormat - The output format: SequenceFileOutputFormat (binary), or
        IgnoreKeyTextOutputFormat, or a custom format.public String getOutputFormat()
 The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or
 a custom format.
 
SequenceFileOutputFormat (binary), or
         IgnoreKeyTextOutputFormat, or a custom format.public StorageDescriptor withOutputFormat(String outputFormat)
 The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or
 a custom format.
 
outputFormat - The output format: SequenceFileOutputFormat (binary), or
        IgnoreKeyTextOutputFormat, or a custom format.public void setCompressed(Boolean compressed)
 True if the data in the table is compressed, or False if not.
 
compressed - True if the data in the table is compressed, or False if not.public Boolean getCompressed()
 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 StorageDescriptor withCompressed(Boolean compressed)
 True if the data in the table is compressed, or False if not.
 
compressed - True if the data in the table is compressed, or False if not.public Boolean isCompressed()
 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 void setNumberOfBuckets(Integer numberOfBuckets)
Must be specified if the table contains any dimension columns.
numberOfBuckets - Must be specified if the table contains any dimension columns.public Integer getNumberOfBuckets()
Must be specified if the table contains any dimension columns.
public StorageDescriptor withNumberOfBuckets(Integer numberOfBuckets)
Must be specified if the table contains any dimension columns.
numberOfBuckets - Must be specified if the table contains any dimension columns.public void setSerdeInfo(SerDeInfo serdeInfo)
The serialization/deserialization (SerDe) information.
serdeInfo - The serialization/deserialization (SerDe) information.public SerDeInfo getSerdeInfo()
The serialization/deserialization (SerDe) information.
public StorageDescriptor withSerdeInfo(SerDeInfo serdeInfo)
The serialization/deserialization (SerDe) information.
serdeInfo - The serialization/deserialization (SerDe) information.public List<String> getBucketColumns()
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
public void setBucketColumns(Collection<String> bucketColumns)
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
bucketColumns - A list of reducer grouping columns, clustering columns, and bucketing columns in the table.public StorageDescriptor withBucketColumns(String... bucketColumns)
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
 NOTE: This method appends the values to the existing list (if any). Use
 setBucketColumns(java.util.Collection) or withBucketColumns(java.util.Collection) if you want
 to override the existing values.
 
bucketColumns - A list of reducer grouping columns, clustering columns, and bucketing columns in the table.public StorageDescriptor withBucketColumns(Collection<String> bucketColumns)
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
bucketColumns - A list of reducer grouping columns, clustering columns, and bucketing columns in the table.public List<Order> getSortColumns()
A list specifying the sort order of each bucket in the table.
public void setSortColumns(Collection<Order> sortColumns)
A list specifying the sort order of each bucket in the table.
sortColumns - A list specifying the sort order of each bucket in the table.public StorageDescriptor withSortColumns(Order... sortColumns)
A list specifying the sort order of each bucket in the table.
 NOTE: This method appends the values to the existing list (if any). Use
 setSortColumns(java.util.Collection) or withSortColumns(java.util.Collection) if you want to
 override the existing values.
 
sortColumns - A list specifying the sort order of each bucket in the table.public StorageDescriptor withSortColumns(Collection<Order> sortColumns)
A list specifying the sort order of each bucket in the table.
sortColumns - A list specifying the sort order of each bucket in the table.public Map<String,String> getParameters()
The user-supplied properties in key-value form.
public void setParameters(Map<String,String> parameters)
The user-supplied properties in key-value form.
parameters - The user-supplied properties in key-value form.public StorageDescriptor withParameters(Map<String,String> parameters)
The user-supplied properties in key-value form.
parameters - The user-supplied properties in key-value form.public StorageDescriptor addParametersEntry(String key, String value)
public StorageDescriptor clearParametersEntries()
public void setSkewedInfo(SkewedInfo skewedInfo)
The information about values that appear frequently in a column (skewed values).
skewedInfo - The information about values that appear frequently in a column (skewed values).public SkewedInfo getSkewedInfo()
The information about values that appear frequently in a column (skewed values).
public StorageDescriptor withSkewedInfo(SkewedInfo skewedInfo)
The information about values that appear frequently in a column (skewed values).
skewedInfo - The information about values that appear frequently in a column (skewed values).public void setStoredAsSubDirectories(Boolean storedAsSubDirectories)
 True if the table data is stored in subdirectories, or False if not.
 
storedAsSubDirectories - True if the table data is stored in subdirectories, or False if not.public Boolean getStoredAsSubDirectories()
 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 StorageDescriptor withStoredAsSubDirectories(Boolean storedAsSubDirectories)
 True if the table data is stored in subdirectories, or False if not.
 
storedAsSubDirectories - True if the table data is stored in subdirectories, or False if not.public Boolean isStoredAsSubDirectories()
 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 void setSchemaReference(SchemaReference schemaReference)
An object that references a schema stored in the Glue Schema Registry.
When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference.
schemaReference - An object that references a schema stored in the Glue Schema Registry.
        When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference.
public SchemaReference getSchemaReference()
An object that references a schema stored in the 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 withSchemaReference(SchemaReference schemaReference)
An object that references a schema stored in the Glue Schema Registry.
When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference.
schemaReference - An object that references a schema stored in the Glue Schema Registry.
        When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference.
public String toString()
toString in class ObjectObject.toString()public StorageDescriptor clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.