public static interface Partition.Builder extends CopyableBuilder<Partition.Builder,Partition>
Modifier and Type | Method and Description |
---|---|
Partition.Builder |
creationTime(Instant creationTime)
The time at which the partition was created.
|
Partition.Builder |
databaseName(String databaseName)
The name of the catalog database where the table in question is located.
|
Partition.Builder |
lastAccessTime(Instant lastAccessTime)
The last time at which the partition was accessed.
|
Partition.Builder |
lastAnalyzedTime(Instant lastAnalyzedTime)
The last time at which column statistics were computed for this partition.
|
Partition.Builder |
parameters(Map<String,String> parameters)
Partition parameters, in the form of a list of key-value pairs.
|
default Partition.Builder |
storageDescriptor(Consumer<StorageDescriptor.Builder> storageDescriptor)
Provides information about the physical location where the partition is stored.
|
Partition.Builder |
storageDescriptor(StorageDescriptor storageDescriptor)
Provides information about the physical location where the partition is stored.
|
Partition.Builder |
tableName(String tableName)
The name of the table in question.
|
Partition.Builder |
values(Collection<String> values)
The values of the partition.
|
Partition.Builder |
values(String... values)
The values of the partition.
|
copy
apply, build
Partition.Builder values(Collection<String> values)
The values of the partition.
values
- The values of the partition.Partition.Builder values(String... values)
The values of the partition.
values
- The values of the partition.Partition.Builder databaseName(String databaseName)
The name of the catalog database where the table in question is located.
databaseName
- The name of the catalog database where the table in question is located.Partition.Builder tableName(String tableName)
The name of the table in question.
tableName
- The name of the table in question.Partition.Builder creationTime(Instant creationTime)
The time at which the partition was created.
creationTime
- The time at which the partition was created.Partition.Builder lastAccessTime(Instant lastAccessTime)
The last time at which the partition was accessed.
lastAccessTime
- The last time at which the partition was accessed.Partition.Builder storageDescriptor(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.default Partition.Builder storageDescriptor(Consumer<StorageDescriptor.Builder> storageDescriptor)
Provides information about the physical location where the partition is stored.
This is a convenience that creates an instance of theStorageDescriptor.Builder
avoiding the need to
create one manually via StorageDescriptor.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to storageDescriptor(StorageDescriptor)
.storageDescriptor
- a consumer that will call methods on StorageDescriptor.Builder
storageDescriptor(StorageDescriptor)
Partition.Builder parameters(Map<String,String> parameters)
Partition parameters, in the form of a list of key-value pairs.
parameters
- Partition parameters, in the form of a list of key-value pairs.Partition.Builder lastAnalyzedTime(Instant 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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.