public interface CassandraPersistentEntity<T> extends MutablePersistentEntity<T,CassandraPersistentProperty>, ApplicationContextAware
PersistentEntity
abstraction.hasIdProperty, hasVersionProperty
Modifier and Type | Method and Description |
---|---|
ApplicationContext |
getApplicationContext() |
List<CassandraPersistentProperty> |
getCompositePrimaryKeyProperties() |
CassandraMappingContext |
getMappingContext() |
CqlIdentifier |
getTableName()
Returns the table name to which the entity shall be persisted.
|
com.datastax.driver.core.UserType |
getUserType() |
boolean |
isCompositePrimaryKey()
Returns whether this entity represents a composite primary key.
|
boolean |
isUserDefinedType() |
void |
setForceQuote(boolean forceQuote) |
void |
setTableName(CqlIdentifier tableName) |
addAssociation, addPersistentProperty, setPersistentPropertyAccessorFactory, verify
doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isConstructorArgument, isIdProperty, isVersionProperty
setApplicationContext
boolean isCompositePrimaryKey()
List<CassandraPersistentProperty> getCompositePrimaryKeyProperties()
CqlIdentifier getTableName()
void setTableName(CqlIdentifier tableName)
CassandraMappingContext getMappingContext()
ApplicationContext getApplicationContext()
void setForceQuote(boolean forceQuote)
boolean isUserDefinedType()
UserDefinedType
com.datastax.driver.core.UserType getUserType()
UserType
if the type is a mapped user defined type, otherwise null.UserDefinedType
Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.