public class BasicAerospikePersistentEntity<T> extends BasicPersistentEntity<T,AerospikePersistentProperty> implements AerospikePersistentEntity<T>, EnvironmentAware
AerospikePersistentEntity.| Type | Property and Description |
|---|---|
boolean |
hasExpiration |
hasIdProperty, hasVersionPropertyhasIdProperty, hasVersionProperty| Constructor and Description |
|---|
BasicAerospikePersistentEntity(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(Environment environment) |
addAssociation, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPropertyAccessor, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, iterator, requiresPropertyPopulation, setEvaluationContextProvider, setPersistentPropertyAccessorFactory, verifyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, requiresPropertyPopulationforEach, iterator, spliteratorpublic boolean hasExpirationProperty
hasExpirationProperty in interface AerospikePersistentEntity<T>public BasicAerospikePersistentEntity(TypeInformation<T> information, String defaultNameSpace)
BasicAerospikePersistentEntity using the given TypeInformation.information - must not be null.defaultNameSpace - public void addPersistentProperty(AerospikePersistentProperty property)
addPersistentProperty in interface MutablePersistentEntity<T,AerospikePersistentProperty>addPersistentProperty in class 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(Environment environment)
setEnvironment in interface EnvironmentAwareCopyright © 2012–2020 Aerospike, Inc. All rights reserved.