DynamoDBEntityInformation<T,ID>
, DynamoDBHashAndRangeKeyExtractingEntityMetadata<T,ID>
, DynamoDBHashKeyExtractingEntityMetadata<T>
, DynamoDBIdIsHashAndRangeKeyEntityInformation<T,ID>
, org.springframework.data.repository.core.EntityInformation<T,ID>
, org.springframework.data.repository.core.EntityMetadata<T>
public class DynamoDBIdIsHashAndRangeKeyEntityInformationImpl<T,ID> 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 | Description |
---|---|
DynamoDBIdIsHashAndRangeKeyEntityInformationImpl(Class<T> domainClass,
DynamoDBHashAndRangeKeyExtractingEntityMetadata<T,ID> metadata) |
getJavaType, isNew
getId, getIdType, getRequiredId, isNew
getJavaType
public DynamoDBIdIsHashAndRangeKeyEntityInformationImpl(Class<T> domainClass, DynamoDBHashAndRangeKeyExtractingEntityMetadata<T,ID> metadata)
public Optional<String> getProjection()
getProjection
in interface DynamoDBEntityInformation<T,ID>
public boolean isRangeKeyAware()
isRangeKeyAware
in interface DynamoDBEntityInformation<T,ID>
public Object getHashKey(ID id)
getHashKey
in interface DynamoDBEntityInformation<T,ID>
public Object getRangeKey(ID id)
getRangeKey
in interface DynamoDBEntityInformation<T,ID>
public Optional<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>
isCompositeHashAndRangeKeyProperty
in interface DynamoDBHashAndRangeKeyExtractingEntityMetadata<T,ID>
public String getRangeKeyPropertyName()
getRangeKeyPropertyName
in interface DynamoDBHashAndRangeKeyExtractingEntityMetadata<T,ID>
public <V extends com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMarshaller<?>> V getMarshallerForProperty(String propertyName)
getMarshallerForProperty
in interface DynamoDBHashKeyExtractingEntityMetadata<T>
public com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBTypeConverter<?,?> getTypeConverterForProperty(String propertyName)
getTypeConverterForProperty
in interface DynamoDBHashKeyExtractingEntityMetadata<T>
public Set<String> getIndexRangeKeyPropertyNames()
getIndexRangeKeyPropertyNames
in interface DynamoDBHashAndRangeKeyExtractingEntityMetadata<T,ID>
public String getHashKeyPropertyName()
getHashKeyPropertyName
in interface DynamoDBHashKeyExtractingEntityMetadata<T>
public <H> HashAndRangeKeyExtractor<ID,H> getHashAndRangeKeyExtractor(Class<ID> idClass)
getHashAndRangeKeyExtractor
in interface DynamoDBHashAndRangeKeyExtractingEntityMetadata<T,ID>
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>
public boolean isGlobalIndexHashKeyProperty(String propertyName)
isGlobalIndexHashKeyProperty
in interface DynamoDBHashKeyExtractingEntityMetadata<T>
public boolean isGlobalIndexRangeKeyProperty(String propertyName)
isGlobalIndexRangeKeyProperty
in interface DynamoDBHashKeyExtractingEntityMetadata<T>
Copyright © 2018. All rights reserved.