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 |
conversionService, entityValidators, eventListeners, persistentEntities, persistentEntitiesByDiscriminator, persistentEntitiesByName, proxyFactory |
Constructor and description |
---|
KeyValueMappingContext
(java.lang.String keyspace) Constructs a context using the given keyspace |
Type | Name and description |
---|---|
protected PersistentEntity |
createPersistentEntity(java.lang.Class javaClass) |
java.lang.String |
getKeyspace() |
MappingFactory<Family, KeyValue> |
getMappingFactory() |
MappingConfigurationStrategy |
getMappingSyntaxStrategy() |
protected void |
initializeDefaultMappingFactory(java.lang.String keyspace) |
void |
setMappingFactory(MappingFactory<Family, KeyValue> mappingFactory) |
void |
setSyntaxStrategy(MappingConfigurationStrategy syntaxStrategy) |
Methods inherited from class | Name |
---|---|
class AbstractMappingContext |
addEntityValidator, addExternalPersistentEntity, addMappingContextListener, addPersistentEntity, addPersistentEntity, addTypeConverter, createEmbeddedEntity, createPersistentEntity, getChildEntityByDiscriminator, getConversionService, getConverterRegistry, getEntityValidator, getMappingFactory, getPersistentEntities, getPersistentEntity, getProxyFactory, isInInheritanceHierarchy, isPersistentEntity, isPersistentEntity, setProxyFactory |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructs a context using the given keyspace
keyspace
- The keyspace, this is typically the application name