@Generated(value="software.amazon.awssdk:codegen") public final class Partition extends Object implements StructuredPojo, ToCopyableBuilder<Partition.Builder,Partition>
Represents a slice of table data.
Modifier and Type | Class and Description |
---|---|
static interface |
Partition.Builder |
Modifier and Type | Method and Description |
---|---|
static Partition.Builder |
builder() |
Instant |
creationTime()
The time at which the partition was created.
|
String |
databaseName()
The name of the catalog database where the table in question is located.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastAccessTime()
The last time at which the partition was accessed.
|
Instant |
lastAnalyzedTime()
The last time at which column statistics were computed for this partition.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Map<String,String> |
parameters()
Partition parameters, in the form of a list of key-value pairs.
|
static Class<? extends Partition.Builder> |
serializableBuilderClass() |
StorageDescriptor |
storageDescriptor()
Provides information about the physical location where the partition is stored.
|
String |
tableName()
The name of the table in question.
|
Partition.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
List<String> |
values()
The values of the partition.
|
copy
public List<String> values()
The values of the partition.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String databaseName()
The name of the catalog database where the table in question is located.
public String tableName()
The name of the table in question.
public Instant creationTime()
The time at which the partition was created.
public Instant lastAccessTime()
The last time at which the partition was accessed.
public StorageDescriptor storageDescriptor()
Provides information about the physical location where the partition is stored.
public Map<String,String> parameters()
Partition parameters, in the form of a list of key-value pairs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Instant lastAnalyzedTime()
The last time at which column statistics were computed for this partition.
public Partition.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Partition.Builder,Partition>
public static Partition.Builder builder()
public static Class<? extends Partition.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.