public class RuntimeEngine extends Object
| Modifier and Type | Field and Description |
|---|---|
StatementsCache |
cache |
ConfigurationContext |
configContext |
String |
currentKeyspace |
ExecutorService |
executor |
Session |
session |
TupleTypeFactory |
tupleTypeFactory |
UserTypeFactory |
userTypeFactory |
| Constructor and Description |
|---|
RuntimeEngine(ConfigurationContext configContext) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<ResultSet> |
execute(BatchStatement batchStatement) |
CompletableFuture<ResultSet> |
execute(BoundStatement boundStatement) |
CompletableFuture<ResultSet> |
execute(StatementWrapper wrapper) |
Cluster |
getCluster() |
PreparedStatement |
getStaticCache(CacheKey cacheKey) |
Optional<PreparedStatement> |
maybePrepareIfDifferentSchemaNameFromCache(AbstractEntityProperty<?> entityProperty,
PreparedStatement psFromCache,
Optional<info.archinnov.achilles.type.SchemaNameProvider> schemaNameProvider,
java.util.function.Supplier<RegularStatement> lambda) |
PreparedStatement |
prepareDynamicQuery(RegularStatement statement) |
PreparedStatement |
prepareDynamicQuery(String queryString) |
public final StatementsCache cache
public final ConfigurationContext configContext
public final Session session
public final String currentKeyspace
public final ExecutorService executor
public TupleTypeFactory tupleTypeFactory
public UserTypeFactory userTypeFactory
public RuntimeEngine(ConfigurationContext configContext)
public PreparedStatement getStaticCache(CacheKey cacheKey)
public CompletableFuture<ResultSet> execute(StatementWrapper wrapper)
public CompletableFuture<ResultSet> execute(BoundStatement boundStatement)
public CompletableFuture<ResultSet> execute(BatchStatement batchStatement)
public PreparedStatement prepareDynamicQuery(RegularStatement statement)
public PreparedStatement prepareDynamicQuery(String queryString)
public Optional<PreparedStatement> maybePrepareIfDifferentSchemaNameFromCache(AbstractEntityProperty<?> entityProperty, PreparedStatement psFromCache, Optional<info.archinnov.achilles.type.SchemaNameProvider> schemaNameProvider, java.util.function.Supplier<RegularStatement> lambda)
public Cluster getCluster()
Copyright © 2012-2021. All Rights Reserved.