DynamoDBHashKeyExtractingEntityMetadata<T>
, org.springframework.data.repository.core.EntityMetadata<T>
DynamoDBHashAndRangeKeyExtractingEntityMetadataImpl
public class DynamoDBEntityMetadataSupport<T,ID> extends Object implements DynamoDBHashKeyExtractingEntityMetadata<T>
Constructor | Description |
---|---|
DynamoDBEntityMetadataSupport(Class<T> domainType) |
Creates a new
DynamoDBEntityMetadataSupport for the given domain
type. |
public DynamoDBEntityMetadataSupport(Class<T> domainType)
DynamoDBEntityMetadataSupport
for the given domain
type.domainType
- must not be null.public String getDynamoDBTableName()
getDynamoDBTableName
in interface DynamoDBHashKeyExtractingEntityMetadata<T>
public DynamoDBEntityInformation<T,ID> getEntityInformation()
public Class<T> getJavaType()
getJavaType
in interface org.springframework.data.repository.core.EntityMetadata<T>
public boolean isHashKeyProperty(String propertyName)
isHashKeyProperty
in interface DynamoDBHashKeyExtractingEntityMetadata<T>
protected boolean isFieldAnnotatedWith(String propertyName, Class<? extends Annotation> annotation)
protected String toSetterMethodNameFromAccessorMethod(Method method)
public Optional<String> getOverriddenAttributeName(String propertyName)
getOverriddenAttributeName
in interface DynamoDBHashKeyExtractingEntityMetadata<T>
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 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.