クラス BasicRedisPersistentEntity<T>
java.lang.ObjectSE
org.springframework.data.mapping.model.BasicPersistentEntity<T,P>
org.springframework.data.keyvalue.core.mapping.BasicKeyValuePersistentEntity<T,RedisPersistentProperty>
org.springframework.data.redis.core.mapping.BasicRedisPersistentEntity<T>
- 型パラメーター:
T
-
- 実装されたすべてのインターフェース:
IterableSE<RedisPersistentProperty>
、Aware
、EnvironmentAware
、KeyValuePersistentEntity<T,
、RedisPersistentProperty> MutablePersistentEntity<T,
、RedisPersistentProperty> PersistentEntity<T,
、RedisPersistentProperty> RedisPersistentEntity<T>
public class BasicRedisPersistentEntity<T>
extends BasicKeyValuePersistentEntity<T,RedisPersistentProperty>
implements RedisPersistentEntity<T>
- 作成者:
- Christoph Strobl, Mark Paluch
コンストラクターのサマリー
コンストラクターコンストラクター説明BasicRedisPersistentEntity
(TypeInformation<T> information, KeySpaceResolver keySpaceResolver, TimeToLiveAccessor timeToLiveAccessor) 新しいBasicRedisPersistentEntity
を作成します。メソッドのサマリー
修飾子と型メソッド説明TimeToLive
でアノテーションが付けられたPersistentProperty
を取得します。エンティティに関連付けられているTimeToLiveAccessor
を取得します。boolean
protected RedisPersistentProperty
クラス org.springframework.data.keyvalue.core.mapping.BasicKeyValuePersistentEntity から継承されたメソッド
getKeySpace
クラス org.springframework.data.mapping.model.BasicPersistentEntity から継承されたメソッド
addAssociation, addPersistentProperty, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getEvaluationContext, getEvaluationContext, getFallbackIsNewStrategy, getIdentifierAccessor, getIdProperty, getInstanceCreatorMetadata, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, getType, getTypeAlias, getTypeInformation, getValueEvaluationContext, getValueEvaluationContext, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isCreatorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, iterator, requiresPropertyPopulation, setEnvironment, setEvaluationContextProvider, setPersistentPropertyAccessorFactory, verify
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.context.EnvironmentAware から継承されたメソッド
setEnvironment
インターフェース java.lang.IterableSE から継承されたメソッド
forEachSE, iterator, spliterator
インターフェース org.springframework.data.keyvalue.core.mapping.KeyValuePersistentEntity から継承されたメソッド
getKeySpace
インターフェース org.springframework.data.mapping.model.MutablePersistentEntity から継承されたメソッド
addAssociation, addPersistentProperty, setEvaluationContextProvider, setPersistentPropertyAccessorFactory, verify
インターフェース 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
インターフェース org.springframework.data.redis.core.mapping.RedisPersistentEntity から継承されたメソッド
isExpiring
コンストラクターの詳細
BasicRedisPersistentEntity
public BasicRedisPersistentEntity(TypeInformation<T> information, @Nullable KeySpaceResolver keySpaceResolver, TimeToLiveAccessor timeToLiveAccessor) 新しいBasicRedisPersistentEntity
を作成します。- パラメーター:
information
- null であってはなりません。keySpaceResolver
- null でもかまいません。timeToLiveAccessor
- null でもかまいません。
メソッドの詳細
getTimeToLiveAccessor
インターフェースからコピーされた説明:RedisPersistentEntity
エンティティに関連付けられているTimeToLiveAccessor
を取得します。- 次で指定:
- インターフェース
RedisPersistentEntity<T>
のgetTimeToLiveAccessor
- 戻り値:
- 決して null にはなりません。
hasExplictTimeToLiveProperty
public boolean hasExplictTimeToLiveProperty()- 次で指定:
- インターフェース
RedisPersistentEntity<T>
のhasExplictTimeToLiveProperty
- 戻り値:
- プロパティに
TimeToLive
アノテーションが付けられている場合は true。
getExplicitTimeToLiveProperty
インターフェースからコピーされた説明:RedisPersistentEntity
TimeToLive
でアノテーションが付けられたPersistentProperty
を取得します。- 次で指定:
- インターフェース
RedisPersistentEntity<T>
のgetExplicitTimeToLiveProperty
- 戻り値:
- null でもかまいません。
returnPropertyIfBetterIdPropertyCandidateOrNull
@Nullable protected RedisPersistentProperty returnPropertyIfBetterIdPropertyCandidateOrNull(RedisPersistentProperty property)