public abstract class AbstractManagerFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Cluster |
cluster |
protected ConfigurationContext |
configContext |
protected List<Class<?>> |
entityClasses |
protected List<AbstractEntityProperty<?>> |
entityProperties |
protected List<FunctionProperty> |
functionProperties |
protected RuntimeEngine |
rte |
| Constructor and Description |
|---|
AbstractManagerFactory(Cluster cluster,
ConfigurationContext configContext) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addNativeCodecs() |
protected void |
bootstrap() |
protected void |
createSchema() |
protected abstract InternalCassandraVersion |
getCassandraVersion() |
protected abstract List<AbstractUDTClassProperty<?>> |
getUdtClassProperties() |
protected void |
injectDependencies() |
protected void |
prepareStaticStatements() |
void |
shutDown()
Shutdown the manager factory and the related session and executor service (if they are created by Achilles).
|
Optional<String> |
staticTableNameFor(Class<?> entityClass)
Provide the statically computed table name with keyspace (if defined) for a given entity class
|
protected void |
validateSchema() |
protected final Cluster cluster
protected final ConfigurationContext configContext
protected final RuntimeEngine rte
protected List<AbstractEntityProperty<?>> entityProperties
protected List<FunctionProperty> functionProperties
public AbstractManagerFactory(Cluster cluster, ConfigurationContext configContext)
protected abstract InternalCassandraVersion getCassandraVersion()
protected abstract List<AbstractUDTClassProperty<?>> getUdtClassProperties()
public Optional<String> staticTableNameFor(Class<?> entityClass)
entityClass - given entity class@PreDestroy public void shutDown()
protected void bootstrap()
protected void addNativeCodecs()
protected void injectDependencies()
protected void validateSchema()
protected void createSchema()
protected void prepareStaticStatements()
Copyright © 2012-2021. All Rights Reserved.