クラス BasicCassandraPersistentTupleProperty
java.lang.ObjectSE
org.springframework.data.mapping.model.AbstractPersistentProperty<P>
org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<CassandraPersistentProperty>
org.springframework.data.cassandra.core.mapping.BasicCassandraPersistentProperty
org.springframework.data.cassandra.core.mapping.BasicCassandraPersistentTupleProperty
- 実装されたすべてのインターフェース:
Aware
、ApplicationContextAware
、CassandraPersistentProperty
、PersistentProperty<CassandraPersistentProperty>
Cassandra タプル固有の
CassandraPersistentProperty
実装。- 導入:
- 2.1
- 作成者:
- Mark Paluch, Frank Spitulski, Aleksei Zotov
- 関連事項:
コンストラクターのサマリー
コンストラクターコンストラクター説明BasicCassandraPersistentTupleProperty
(Property property, CassandraPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) 新しいBasicCassandraPersistentTupleProperty
を作成します。メソッドのサマリー
修飾子と型メソッド説明com.datastax.oss.driver.api.core.CqlIdentifier
プロパティが永続化される単一の列の名前。所有型がマップされたタプルの場合にプロパティが永続化される要素の序数の名前。列の順序 (昇順または降順)。boolean
プロパティがクラスターキー列であるかどうか。boolean
プロパティが複合主キーであるかどうか。boolean
boolean
プロパティがパーティションキー列であるかどうか。boolean
プロパティがパーティションキー列であるかクラスターキー列であるかboolean
プロパティが静的列にマップされるかどうか。void
setColumnName
(com.datastax.oss.driver.api.core.CqlIdentifier columnName) このプロパティが単一の列にマップされている場合は、列名を指定されたCqlIdentifier
に設定します。クラス org.springframework.data.cassandra.core.mapping.BasicCassandraPersistentProperty から継承されたメソッド
createAssociation, findAnnotatedType, getAssociation, getOwner, hasExplicitColumnName, isMapLike, setApplicationContext, setForceQuote, setNamingStrategy
クラス org.springframework.data.mapping.model.AnnotationBasedPersistentProperty から継承されたメソッド
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetTypeInformation, getSpelExpression, isAnnotationPresent, isAssociation, isIdProperty, isTransient, isVersionProperty, isWritable, toString, usePropertyAccess
クラス org.springframework.data.mapping.model.AbstractPersistentProperty から継承されたメソッド
equals, getActualType, getActualTypeInformation, getAssociationTargetType, getComponentType, getField, getGetter, getMapValueType, getName, getPersistentEntityTypeInformation, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, isImmutable, isMap, isReadable
クラス java.lang.ObjectSE から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, wait, waitSE, waitSE
インターフェース org.springframework.data.cassandra.core.mapping.CassandraPersistentProperty から継承されたメソッド
getRequiredColumnName, getRequiredOrdinal, hasOrdinal, setColumnName
インターフェース org.springframework.data.mapping.PersistentProperty から継承されたメソッド
findAnnotation, findPropertyOrOwnerAnnotation, getAccessorForOwner, getActualType, getAssociationTargetType, getAssociationTargetTypeInformation, getComponentType, getField, getGetter, getMapValueType, getName, getPersistentEntityTypeInformation, getRawType, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, getSetter, getSpelExpression, getType, getTypeInformation, getWither, hasActualTypeAnnotation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isEntity, isIdProperty, isImmutable, isMap, isReadable, isTransient, isVersionProperty, isWritable, usePropertyAccess
コンストラクターの詳細
BasicCassandraPersistentTupleProperty
public BasicCassandraPersistentTupleProperty(Property property, CassandraPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) 新しいBasicCassandraPersistentTupleProperty
を作成します。- パラメーター:
property
- この永続エンティティに対応するドメインエンティティ内の実際のProperty
。owner
- この永続プロパティを含むオブジェクトまたはCassandraPersistentEntity
。simpleTypeHolder
- Java [ シンプル | ラッパー ] 型を Cassandra データ型にマッピングします。
メソッドの詳細
getColumnName
public com.datastax.oss.driver.api.core.CqlIdentifier getColumnName()インターフェースからコピーされた説明:CassandraPersistentProperty
プロパティが永続化される単一の列の名前。- 次で指定:
- インターフェース
CassandraPersistentProperty
のgetColumnName
- オーバーライド:
- クラス
BasicCassandraPersistentProperty
のgetColumnName
getOrdinal
インターフェースからコピーされた説明:CassandraPersistentProperty
所有型がマップされたタプルの場合にプロパティが永続化される要素の序数の名前。- 次で指定:
- インターフェース
CassandraPersistentProperty
のgetOrdinal
- オーバーライド:
- クラス
BasicCassandraPersistentProperty
のgetOrdinal
getPrimaryKeyOrdering
インターフェースからコピーされた説明:CassandraPersistentProperty
列の順序 (昇順または降順)。主キー列に対してのみ有効です。非主キー列の場合は null を返します。- 次で指定:
- インターフェース
CassandraPersistentProperty
のgetPrimaryKeyOrdering
- オーバーライド:
- クラス
BasicCassandraPersistentProperty
のgetPrimaryKeyOrdering
isClusterKeyColumn
public boolean isClusterKeyColumn()インターフェースからコピーされた説明:CassandraPersistentProperty
プロパティがクラスターキー列であるかどうか。- 次で指定:
- インターフェース
CassandraPersistentProperty
のisClusterKeyColumn
- オーバーライド:
- クラス
BasicCassandraPersistentProperty
のisClusterKeyColumn
isCompositePrimaryKey
public boolean isCompositePrimaryKey()インターフェースからコピーされた説明:CassandraPersistentProperty
プロパティが複合主キーであるかどうか。- 次で指定:
- インターフェース
CassandraPersistentProperty
のisCompositePrimaryKey
- オーバーライド:
- クラス
BasicCassandraPersistentProperty
のisCompositePrimaryKey
isPartitionKeyColumn
public boolean isPartitionKeyColumn()インターフェースからコピーされた説明:CassandraPersistentProperty
プロパティがパーティションキー列であるかどうか。- 次で指定:
- インターフェース
CassandraPersistentProperty
のisPartitionKeyColumn
- オーバーライド:
- クラス
BasicCassandraPersistentProperty
のisPartitionKeyColumn
isPrimaryKeyColumn
public boolean isPrimaryKeyColumn()インターフェースからコピーされた説明:CassandraPersistentProperty
プロパティがパーティションキー列であるかクラスターキー列であるかisStaticColumn
public boolean isStaticColumn()インターフェースからコピーされた説明:CassandraPersistentProperty
プロパティが静的列にマップされるかどうか。- 次で指定:
- インターフェース
CassandraPersistentProperty
のisStaticColumn
- オーバーライド:
- クラス
BasicCassandraPersistentProperty
のisStaticColumn
isEmbedded
public boolean isEmbedded()- 戻り値:
- プロパティを埋め込む場合は true です。
setColumnName
public void setColumnName(com.datastax.oss.driver.api.core.CqlIdentifier columnName) インターフェースからコピーされた説明:CassandraPersistentProperty
このプロパティが単一の列にマップされている場合は、列名を指定されたCqlIdentifier
に設定します。このプロパティが単一の列にマップされていない場合は、IllegalStateException
SE がスローされます。指定された列名が null の場合、IllegalArgumentException
SE がスローされます。- 次で指定:
- インターフェース
CassandraPersistentProperty
のsetColumnName
- オーバーライド:
- クラス
BasicCassandraPersistentProperty
のsetColumnName
- パラメーター:
columnName
- null であってはなりません。