Interface DynamoDBHashKeyExtractingEntityMetadata<T>
-
- All Superinterfaces:
org.springframework.data.repository.core.EntityMetadata<T>
- All Known Subinterfaces:
DynamoDBEntityInformation<T,ID>,DynamoDBHashAndRangeKeyExtractingEntityMetadata<T,ID>,DynamoDBIdIsHashAndRangeKeyEntityInformation<T,ID>
- All Known Implementing Classes:
DynamoDBEntityMetadataSupport,DynamoDBHashAndRangeKeyExtractingEntityMetadataImpl,DynamoDBIdIsHashAndRangeKeyEntityInformationImpl,DynamoDBIdIsHashKeyEntityInformationImpl
public interface DynamoDBHashKeyExtractingEntityMetadata<T> extends org.springframework.data.repository.core.EntityMetadata<T>Obtains basic hash key-related metadata about a DynamoDBEntity, such as whether properties have overridden attribute names or have custom marshallers assigned, whether a property is a hash key property or a composite id property, and generates a hash key prototype entity given a hash key.- Author:
- Michael Lavelle, Sebastian Just
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDynamoDBTableName()java.util.Map<java.lang.String,java.lang.String[]>getGlobalSecondaryIndexNamesByPropertyName()java.lang.StringgetHashKeyPropertyName()<V extends com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMarshaller<?>>
VgetMarshallerForProperty(java.lang.String propertyName)java.util.Optional<java.lang.String>getOverriddenAttributeName(java.lang.String propertyName)com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBTypeConverter<?,?>getTypeConverterForProperty(java.lang.String propertyName)booleanisGlobalIndexHashKeyProperty(java.lang.String propertyName)booleanisGlobalIndexRangeKeyProperty(java.lang.String propertyName)booleanisHashKeyProperty(java.lang.String propertyName)
-
-
-
Method Detail
-
getOverriddenAttributeName
java.util.Optional<java.lang.String> getOverriddenAttributeName(java.lang.String propertyName)
-
getMarshallerForProperty
<V extends com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMarshaller<?>> V getMarshallerForProperty(java.lang.String propertyName)
-
getTypeConverterForProperty
com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBTypeConverter<?,?> getTypeConverterForProperty(java.lang.String propertyName)
-
isHashKeyProperty
boolean isHashKeyProperty(java.lang.String propertyName)
-
getHashKeyPropertyName
java.lang.String getHashKeyPropertyName()
-
getDynamoDBTableName
java.lang.String getDynamoDBTableName()
-
getGlobalSecondaryIndexNamesByPropertyName
java.util.Map<java.lang.String,java.lang.String[]> getGlobalSecondaryIndexNamesByPropertyName()
-
isGlobalIndexHashKeyProperty
boolean isGlobalIndexHashKeyProperty(java.lang.String propertyName)
-
isGlobalIndexRangeKeyProperty
boolean isGlobalIndexRangeKeyProperty(java.lang.String propertyName)
-
-