public class BasicAerospikePersistentEntity<T> extends org.springframework.data.mapping.model.BasicPersistentEntity<T,AerospikePersistentProperty> implements AerospikePersistentEntity<T>, org.springframework.context.EnvironmentAware
AerospikePersistentEntity.| Type | Property and Description |
|---|---|
boolean |
hasExpiration |
| Constructor and Description |
|---|
BasicAerospikePersistentEntity(org.springframework.data.util.TypeInformation<T> information,
String defaultNameSpace)
Creates a new
BasicAerospikePersistentEntity using the given TypeInformation. |
| Modifier and Type | Method and Description |
|---|---|
void |
addPersistentProperty(AerospikePersistentProperty property) |
int |
getExpiration() |
AerospikePersistentProperty |
getExpirationProperty() |
com.aerospike.client.Key |
getKey() |
String |
getNamespace()
Returns the name of the set the
PersistentEntity shall be stored in. |
String |
getSetName() |
boolean |
hasExpirationProperty() |
boolean |
isTouchOnRead() |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
addAssociation, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isConstructorArgument, isIdProperty, isVersionProperty, returnPropertyIfBetterIdPropertyCandidateOrNull, setPersistentPropertyAccessorFactory, verifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isConstructorArgument, isIdProperty, isVersionPropertypublic boolean hasExpirationProperty
hasExpirationProperty in interface AerospikePersistentEntity<T>public BasicAerospikePersistentEntity(org.springframework.data.util.TypeInformation<T> information, String defaultNameSpace)
BasicAerospikePersistentEntity using the given TypeInformation.information - must not be null.defaultNameSpace - public void addPersistentProperty(AerospikePersistentProperty property)
addPersistentProperty in interface org.springframework.data.mapping.model.MutablePersistentEntity<T,AerospikePersistentProperty>addPersistentProperty in class org.springframework.data.mapping.model.BasicPersistentEntity<T,AerospikePersistentProperty>public String getNamespace()
AerospikePersistentEntityPersistentEntity shall be stored in.getNamespace in interface AerospikePersistentEntity<T>public String getSetName()
getSetName in interface AerospikePersistentEntity<T>public com.aerospike.client.Key getKey()
getKey in interface AerospikePersistentEntity<T>public int getExpiration()
getExpiration in interface AerospikePersistentEntity<T>public boolean isTouchOnRead()
isTouchOnRead in interface AerospikePersistentEntity<T>public AerospikePersistentProperty getExpirationProperty()
getExpirationProperty in interface AerospikePersistentEntity<T>public boolean hasExpirationProperty()
hasExpirationProperty in interface AerospikePersistentEntity<T>public void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAwareCopyright © 2011–2018 Aerospike Inc.. All rights reserved.