public interface CassandraPersistentEntity<T> extends org.springframework.data.mapping.model.MutablePersistentEntity<T,CassandraPersistentProperty>, org.springframework.context.ApplicationContextAware
PersistentEntity
abstraction.Modifier and Type | Method and Description |
---|---|
org.springframework.context.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
boolean isCompositePrimaryKey()
List<CassandraPersistentProperty> getCompositePrimaryKeyProperties()
CqlIdentifier getTableName()
void setTableName(CqlIdentifier tableName)
CassandraMappingContext getMappingContext()
org.springframework.context.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–2017 Pivotal Software, Inc.. All rights reserved.