public class DynamoDBIdIsHashAndRangeKeyEntityInformationImpl<T,ID extends Serializable> extends org.springframework.data.repository.core.support.ReflectionEntityInformation<T,ID> implements DynamoDBIdIsHashAndRangeKeyEntityInformation<T,ID>
Id.
Delegates to metadata and hashKeyExtractor components for all operations.| Constructor and Description |
|---|
DynamoDBIdIsHashAndRangeKeyEntityInformationImpl(Class<T> domainClass,
DynamoDBHashAndRangeKeyExtractingEntityMetadata<T,ID> metadata) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDynamoDBTableName() |
Map<String,String[]> |
getGlobalSecondaryIndexNamesByPropertyName() |
<H> HashAndRangeKeyExtractor<ID,H> |
getHashAndRangeKeyExtractor(Class<ID> idClass) |
Object |
getHashKey(ID id) |
String |
getHashKeyPropertyName() |
<H> T |
getHashKeyPropotypeEntityForHashKey(H hashKey) |
Set<String> |
getIndexRangeKeyPropertyNames() |
com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMarshaller<?> |
getMarshallerForProperty(String propertyName) |
String |
getOverriddenAttributeName(String attributeName) |
Object |
getRangeKey(ID id) |
String |
getRangeKeyPropertyName() |
boolean |
isCompositeHashAndRangeKeyProperty(String propertyName) |
boolean |
isGlobalIndexHashKeyProperty(String propertyName) |
boolean |
isGlobalIndexRangeKeyProperty(String propertyName) |
boolean |
isHashKeyProperty(String propertyName) |
boolean |
isRangeKeyAware() |
getId, getIdTypegetJavaType, isNewclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic DynamoDBIdIsHashAndRangeKeyEntityInformationImpl(Class<T> domainClass, DynamoDBHashAndRangeKeyExtractingEntityMetadata<T,ID> metadata)
public boolean isRangeKeyAware()
isRangeKeyAware in interface DynamoDBEntityInformation<T,ID extends Serializable>public Object getHashKey(ID id)
getHashKey in interface DynamoDBEntityInformation<T,ID extends Serializable>public Object getRangeKey(ID id)
getRangeKey in interface DynamoDBEntityInformation<T,ID extends Serializable>public String getOverriddenAttributeName(String attributeName)
getOverriddenAttributeName in interface DynamoDBHashKeyExtractingEntityMetadata<T>public boolean isHashKeyProperty(String propertyName)
isHashKeyProperty in interface DynamoDBHashKeyExtractingEntityMetadata<T>public boolean isCompositeHashAndRangeKeyProperty(String propertyName)
isCompositeHashAndRangeKeyProperty in interface DynamoDBEntityInformation<T,ID extends Serializable>isCompositeHashAndRangeKeyProperty in interface DynamoDBHashAndRangeKeyExtractingEntityMetadata<T,ID extends Serializable>public String getRangeKeyPropertyName()
getRangeKeyPropertyName in interface DynamoDBHashAndRangeKeyExtractingEntityMetadata<T,ID extends Serializable>public com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMarshaller<?> getMarshallerForProperty(String propertyName)
getMarshallerForProperty in interface DynamoDBHashKeyExtractingEntityMetadata<T>public Set<String> getIndexRangeKeyPropertyNames()
getIndexRangeKeyPropertyNames in interface DynamoDBHashAndRangeKeyExtractingEntityMetadata<T,ID extends Serializable>public String getHashKeyPropertyName()
getHashKeyPropertyName in interface DynamoDBHashKeyExtractingEntityMetadata<T>public <H> HashAndRangeKeyExtractor<ID,H> getHashAndRangeKeyExtractor(Class<ID> idClass)
getHashAndRangeKeyExtractor in interface DynamoDBHashAndRangeKeyExtractingEntityMetadata<T,ID extends Serializable>public String getDynamoDBTableName()
getDynamoDBTableName in interface DynamoDBHashKeyExtractingEntityMetadata<T>public Map<String,String[]> getGlobalSecondaryIndexNamesByPropertyName()
getGlobalSecondaryIndexNamesByPropertyName in interface DynamoDBHashKeyExtractingEntityMetadata<T>public <H> T getHashKeyPropotypeEntityForHashKey(H hashKey)
getHashKeyPropotypeEntityForHashKey in interface DynamoDBHashAndRangeKeyExtractingEntityMetadata<T,ID extends Serializable>public boolean isGlobalIndexHashKeyProperty(String propertyName)
isGlobalIndexHashKeyProperty in interface DynamoDBHashKeyExtractingEntityMetadata<T>public boolean isGlobalIndexRangeKeyProperty(String propertyName)
isGlobalIndexRangeKeyProperty in interface DynamoDBHashKeyExtractingEntityMetadata<T>Copyright © 2016. All rights reserved.