@Generated(value="software.amazon.awssdk:codegen") public final class ClusteringKey extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClusteringKey.Builder,ClusteringKey>
The optional clustering column portion of your primary key determines how the data is clustered and sorted within each partition.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ClusteringKey.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ClusteringKey.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name(s) of the clustering column(s).
|
SortOrder |
orderBy()
Sets the ascendant (
ASC) or descendant (DESC) order modifier. |
String |
orderByAsString()
Sets the ascendant (
ASC) or descendant (DESC) order modifier. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ClusteringKey.Builder> |
serializableBuilderClass() |
ClusteringKey.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name(s) of the clustering column(s).
public final SortOrder orderBy()
Sets the ascendant (ASC) or descendant (DESC) order modifier.
If the service returns an enum value that is not available in the current SDK version, orderBy will
return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderByAsString().
ASC) or descendant (DESC) order modifier.SortOrderpublic final String orderByAsString()
Sets the ascendant (ASC) or descendant (DESC) order modifier.
If the service returns an enum value that is not available in the current SDK version, orderBy will
return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderByAsString().
ASC) or descendant (DESC) order modifier.SortOrderpublic ClusteringKey.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ClusteringKey.Builder,ClusteringKey>public static ClusteringKey.Builder builder()
public static Class<? extends ClusteringKey.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.