Started by Jeff Beck(@beckje01) on 1/23/14.
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
DEFAULT_KEYSPACE |
|
protected java.lang.String |
keyspace |
|
protected MappingFactory<Table, Column> |
mappingFactory |
|
protected BasicCassandraMappingContext |
springCassandraMappingContext |
|
protected MappingConfigurationStrategy |
syntaxStrategy |
Fields inherited from class | Fields |
---|---|
class AbstractMappingContext |
CONFIGURATION_PREFIX, GROOVY_PROXY_FACTORY_NAME, JAVASIST_PROXY_FACTORY, conversionService, entityValidators, eventListeners, persistentEntities, persistentEntitiesByDiscriminator, persistentEntitiesByName, persistentEntitiesByParent, proxyFactory, validatorRegistry |
Constructor and description |
---|
CassandraMappingContext
() |
CassandraMappingContext
(java.lang.String keyspace) |
CassandraMappingContext
(java.lang.String keyspace, groovy.lang.Closure defaultMapping) Constructs a context using the given keyspace |
CassandraMappingContext
(java.lang.String keyspace, groovy.lang.Closure defaultMapping, java.lang.Class... entities) Constructs a context using the given keyspace |
Type Params | Return Type | Name and description |
---|---|---|
|
protected MappingFactory<Table, Column> |
createMappingFactory() |
|
protected PersistentEntity |
createPersistentEntity(java.lang.Class javaClass) |
|
protected PersistentEntity |
createPersistentEntity(java.lang.Class javaClass, boolean external) |
|
groovy.lang.Closure |
getDefaultMapping() |
|
java.lang.String |
getKeyspace() |
|
MappingFactory<Table, Column> |
getMappingFactory() |
|
MappingConfigurationStrategy |
getMappingSyntaxStrategy() |
|
BasicCassandraMappingContext |
getSpringCassandraMappingContext() |
|
void |
setMappingFactory(MappingFactory<Table, Column> mappingFactory) |
|
void |
setSpringCassandraMappingContext(BasicCassandraMappingContext springCassandraMappingContext) |
|
void |
setSyntaxStrategy(MappingConfigurationStrategy syntaxStrategy) |
Constructs a context using the given keyspace
keyspace
- The keyspace, this is typically the application nameConstructs a context using the given keyspace
keyspace
- The keyspace, this is typically the application name