public interface CassandraPersistentEntity<T> extends PersistentEntity<T,CassandraPersistentProperty>
PersistentEntity abstraction.| Modifier and Type | Method and Description |
|---|---|
CqlIdentifier |
getTableName()
Returns the table name to which the entity shall be persisted.
|
com.datastax.driver.core.TupleType |
getTupleType()
Deprecated.
will be removed in version 3.0 in favor of
ColumnTypeResolver. |
com.datastax.driver.core.UserType |
getUserType()
Deprecated.
will be removed in version 3.0 in favor of
ColumnTypeResolver. |
boolean |
isCompositePrimaryKey()
Returns whether this entity represents a composite primary key.
|
boolean |
isTupleType() |
boolean |
isUserDefinedType() |
void |
setForceQuote(boolean forceQuote)
Sets whether to enforce quoting when using the
getTableName() in CQL. |
void |
setTableName(CqlIdentifier tableName)
Sets the CQL table name.
|
doWithAssociations, 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, spliteratorboolean isCompositePrimaryKey()
void setForceQuote(boolean forceQuote)
getTableName() in CQL.forceQuote - true to enforce quoting; false to disable enforced quoting usage.CqlIdentifier getTableName()
void setTableName(CqlIdentifier tableName)
tableName - must not be null.boolean isTupleType()
Tuple@Nullable @Deprecated com.datastax.driver.core.TupleType getTupleType()
ColumnTypeResolver.TupleType matching the data types from mapped
tuple elements.boolean isUserDefinedType()
UserDefinedType@Nullable @Deprecated com.datastax.driver.core.UserType getUserType()
ColumnTypeResolver.UserType if the type is a mapped user defined type, otherwise null.UserDefinedTypeCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.