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() |
com.datastax.driver.core.UserType |
getUserType() |
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, requiresPropertyPopulation
forEach, iterator, spliterator
boolean 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 com.datastax.driver.core.TupleType getTupleType()
TupleType
matching the data types from mapped
tuple elements
.boolean isUserDefinedType()
UserDefinedType
@Nullable com.datastax.driver.core.UserType getUserType()
UserType
if the type is a mapped user defined type, otherwise null.UserDefinedType
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.