@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PartitionInput extends Object implements Serializable, Cloneable, StructuredPojo
The structure used to create and update a partition.
Constructor and Description |
---|
PartitionInput() |
Modifier and Type | Method and Description |
---|---|
PartitionInput |
addParametersEntry(String key,
String value) |
PartitionInput |
clearParametersEntries()
Removes all the entries added into Parameters.
|
PartitionInput |
clone() |
boolean |
equals(Object obj) |
Date |
getLastAccessTime()
The last time at which the partition was accessed.
|
Date |
getLastAnalyzedTime()
The last time at which column statistics were computed for this partition.
|
Map<String,String> |
getParameters()
These key-value pairs define partition parameters.
|
StorageDescriptor |
getStorageDescriptor()
Provides information about the physical location where the partition is stored.
|
List<String> |
getValues()
The values of the partition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setLastAccessTime(Date lastAccessTime)
The last time at which the partition was accessed.
|
void |
setLastAnalyzedTime(Date lastAnalyzedTime)
The last time at which column statistics were computed for this partition.
|
void |
setParameters(Map<String,String> parameters)
These key-value pairs define partition parameters.
|
void |
setStorageDescriptor(StorageDescriptor storageDescriptor)
Provides information about the physical location where the partition is stored.
|
void |
setValues(Collection<String> values)
The values of the partition.
|
String |
toString()
Returns a string representation of this object.
|
PartitionInput |
withLastAccessTime(Date lastAccessTime)
The last time at which the partition was accessed.
|
PartitionInput |
withLastAnalyzedTime(Date lastAnalyzedTime)
The last time at which column statistics were computed for this partition.
|
PartitionInput |
withParameters(Map<String,String> parameters)
These key-value pairs define partition parameters.
|
PartitionInput |
withStorageDescriptor(StorageDescriptor storageDescriptor)
Provides information about the physical location where the partition is stored.
|
PartitionInput |
withValues(Collection<String> values)
The values of the partition.
|
PartitionInput |
withValues(String... values)
The values of the partition.
|
public List<String> getValues()
The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter for a valid input.
The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise AWS Glue will add the values to the wrong keys.
The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise AWS Glue will add the values to the wrong keys.
public void setValues(Collection<String> values)
The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter for a valid input.
The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise AWS Glue will add the values to the wrong keys.
values
- The values of the partition. Although this parameter is not required by the SDK, you must specify this
parameter for a valid input.
The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise AWS Glue will add the values to the wrong keys.
public PartitionInput withValues(String... values)
The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter for a valid input.
The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise AWS Glue will add the values to the wrong keys.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- The values of the partition. Although this parameter is not required by the SDK, you must specify this
parameter for a valid input.
The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise AWS Glue will add the values to the wrong keys.
public PartitionInput withValues(Collection<String> values)
The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter for a valid input.
The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise AWS Glue will add the values to the wrong keys.
values
- The values of the partition. Although this parameter is not required by the SDK, you must specify this
parameter for a valid input.
The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise AWS Glue will add the values to the wrong keys.
public void setLastAccessTime(Date lastAccessTime)
The last time at which the partition was accessed.
lastAccessTime
- The last time at which the partition was accessed.public Date getLastAccessTime()
The last time at which the partition was accessed.
public PartitionInput withLastAccessTime(Date lastAccessTime)
The last time at which the partition was accessed.
lastAccessTime
- The last time at which the partition was accessed.public void setStorageDescriptor(StorageDescriptor storageDescriptor)
Provides information about the physical location where the partition is stored.
storageDescriptor
- Provides information about the physical location where the partition is stored.public StorageDescriptor getStorageDescriptor()
Provides information about the physical location where the partition is stored.
public PartitionInput withStorageDescriptor(StorageDescriptor storageDescriptor)
Provides information about the physical location where the partition is stored.
storageDescriptor
- Provides information about the physical location where the partition is stored.public Map<String,String> getParameters()
These key-value pairs define partition parameters.
public void setParameters(Map<String,String> parameters)
These key-value pairs define partition parameters.
parameters
- These key-value pairs define partition parameters.public PartitionInput withParameters(Map<String,String> parameters)
These key-value pairs define partition parameters.
parameters
- These key-value pairs define partition parameters.public PartitionInput addParametersEntry(String key, String value)
public PartitionInput clearParametersEntries()
public void setLastAnalyzedTime(Date lastAnalyzedTime)
The last time at which column statistics were computed for this partition.
lastAnalyzedTime
- The last time at which column statistics were computed for this partition.public Date getLastAnalyzedTime()
The last time at which column statistics were computed for this partition.
public PartitionInput withLastAnalyzedTime(Date lastAnalyzedTime)
The last time at which column statistics were computed for this partition.
lastAnalyzedTime
- The last time at which column statistics were computed for this partition.public String toString()
toString
in class Object
Object.toString()
public PartitionInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.