A MappingContext used to map objects to a Key/Value store
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
GROOVY_OBJECT_CLASS |
|
protected MappingFactory<Family, KeyValue> |
mappingFactory |
|
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 |
---|
KeyValueMappingContext
(java.lang.String keyspace) Constructs a context using the given keyspace |
KeyValueMappingContext
(java.lang.String keyspace, ConnectionSourceSettings settings) Constructs a context using the given keyspace |
Type | Name and description |
---|---|
protected PersistentEntity |
createPersistentEntity(java.lang.Class javaClass) |
protected PersistentEntity |
createPersistentEntity(java.lang.Class javaClass, boolean external) |
java.lang.String |
getKeyspace() |
MappingFactory<Family, KeyValue> |
getMappingFactory() |
MappingConfigurationStrategy |
getMappingSyntaxStrategy() |
protected void |
initializeDefaultMappingFactory(java.lang.String keyspace) |
void |
setCanInitializeEntities(boolean canInitializeEntities) |
void |
setMappingFactory(MappingFactory<Family, KeyValue> mappingFactory) |
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