クラス MappingCassandraEntityInformation<T,ID>
java.lang.ObjectSE
org.springframework.data.repository.core.support.PersistentEntityInformation<T,ID>
org.springframework.data.cassandra.repository.support.MappingCassandraEntityInformation<T,ID>
- 実装されたすべてのインターフェース:
CassandraEntityInformation<T,
、ID> CassandraEntityMetadata<T>
、EntityInformation<T,
、ID> EntityMetadata<T>
public class MappingCassandraEntityInformation<T,ID>
extends PersistentEntityInformation<T,ID>
implements CassandraEntityInformation<T,ID>
CassandraPersistentEntity
インスタンスを使用して必要な情報を検索する CassandraEntityInformation
実装。- 作成者:
- Alex Shvid, Matthew T. Adams, Mark Paluch
コンストラクターのサマリー
コンストラクターコンストラクター説明MappingCassandraEntityInformation
(CassandraPersistentEntity<T> entity, CassandraConverter converter) 指定されたCassandraPersistentEntity
に対して新しいMappingCassandraEntityInformation
を作成します。メソッドのサマリー
修飾子と型メソッド説明ID が永続化される属性を返します。com.datastax.oss.driver.api.core.CqlIdentifier
エンティティが永続化されるテーブルの名前を返します。クラス org.springframework.data.repository.core.support.PersistentEntityInformation から継承されたメソッド
getJavaType, isNew
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.data.repository.core.EntityInformation から継承されたメソッド
getRequiredId, isNew
インターフェース org.springframework.data.repository.core.EntityMetadata から継承されたメソッド
getJavaType
コンストラクターの詳細
MappingCassandraEntityInformation
public MappingCassandraEntityInformation(CassandraPersistentEntity<T> entity, CassandraConverter converter) 指定されたCassandraPersistentEntity
に対して新しいMappingCassandraEntityInformation
を作成します。- パラメーター:
entity
- null であってはなりません。
メソッドの詳細
getId
- 次で指定:
- インターフェース
EntityInformation<T,
のID> getId
- オーバーライド:
- クラス
PersistentEntityInformation<T,
のID> getId
getIdType
- 次で指定:
- インターフェース
EntityInformation<T,
のID> getIdType
- オーバーライド:
- クラス
PersistentEntityInformation<T,
のID> getIdType
getIdAttribute
インターフェースからコピーされた説明:CassandraEntityInformation
ID が永続化される属性を返します。- 次で指定:
- インターフェース
CassandraEntityInformation<T,
のID> getIdAttribute
- 戻り値:
getTableName
public com.datastax.oss.driver.api.core.CqlIdentifier getTableName()インターフェースからコピーされた説明:CassandraEntityMetadata
エンティティが永続化されるテーブルの名前を返します。- 次で指定:
- インターフェース
CassandraEntityMetadata<T>
のgetTableName
- 戻り値: