Interface AerospikePersistentEntity<T>
- All Superinterfaces:
Iterable<AerospikePersistentProperty>
,PersistentEntity<T,
AerospikePersistentProperty>
- All Known Implementing Classes:
BasicAerospikePersistentEntity
public interface AerospikePersistentEntity<T>
extends PersistentEntity<T,AerospikePersistentProperty>
Aerospike-specific extensions of
PersistentEntity
.- Author:
- Oliver Gierke, Peter Milne
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
boolean
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface org.springframework.data.mapping.PersistentEntity
doWithAll, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getInstanceCreatorMetadata, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isCreatorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, requiresPropertyPopulation
-
Method Details
-
getSetName
String getSetName()- Returns:
- set name
-
getExpiration
int getExpiration()- Returns:
- expiration value in seconds
-
isTouchOnRead
boolean isTouchOnRead()- Returns:
- value of an optional
Document.touchOnRead()
flag
-
getExpirationProperty
AerospikePersistentProperty getExpirationProperty()- Returns:
- expiration property
-
hasExpirationProperty
boolean hasExpirationProperty()- Returns:
- true if there is expiration property
-