DynamoDBEntityInformation<T,ID>
, DynamoDBHashKeyExtractingEntityMetadata<T>
, org.springframework.data.repository.core.EntityInformation<T,ID>
, org.springframework.data.repository.core.EntityMetadata<T>
public class DynamoDBIdIsHashKeyEntityInformationImpl<T,ID> extends FieldAndGetterReflectionEntityInformation<T,ID> implements DynamoDBEntityInformation<T,ID>
method
Constructor | Description |
---|---|
DynamoDBIdIsHashKeyEntityInformationImpl(Class<T> domainClass,
DynamoDBHashKeyExtractingEntityMetadata<T> metadata) |
Modifier and Type | Method | Description |
---|---|---|
String |
getDynamoDBTableName() |
|
Map<String,String[]> |
getGlobalSecondaryIndexNamesByPropertyName() |
|
Object |
getHashKey(ID id) |
|
String |
getHashKeyPropertyName() |
|
<V extends com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMarshaller<?>> |
getMarshallerForProperty(String propertyName) |
|
Optional<String> |
getOverriddenAttributeName(String attributeName) |
|
Optional<String> |
getProjection() |
|
Object |
getRangeKey(ID id) |
|
com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBTypeConverter<?,?> |
getTypeConverterForProperty(String propertyName) |
|
boolean |
isCompositeHashAndRangeKeyProperty(String propertyName) |
|
boolean |
isGlobalIndexHashKeyProperty(String propertyName) |
|
boolean |
isGlobalIndexRangeKeyProperty(String propertyName) |
|
boolean |
isHashKeyProperty(String propertyName) |
getJavaType, isNew
isRangeKeyAware
getId, getIdType, getRequiredId, isNew
getJavaType
getId, getIdType
public DynamoDBIdIsHashKeyEntityInformationImpl(Class<T> domainClass, DynamoDBHashKeyExtractingEntityMetadata<T> metadata)
public Optional<String> getProjection()
getProjection
in interface DynamoDBEntityInformation<T,ID>
public Object getHashKey(ID id)
getHashKey
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>
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 Object getRangeKey(ID id)
getRangeKey
in interface DynamoDBEntityInformation<T,ID>
public String getDynamoDBTableName()
getDynamoDBTableName
in interface DynamoDBHashKeyExtractingEntityMetadata<T>
public String getHashKeyPropertyName()
getHashKeyPropertyName
in interface DynamoDBHashKeyExtractingEntityMetadata<T>
public Map<String,String[]> getGlobalSecondaryIndexNamesByPropertyName()
getGlobalSecondaryIndexNamesByPropertyName
in interface DynamoDBHashKeyExtractingEntityMetadata<T>
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.