public abstract class AbstractFlushContext extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractFlushContext.FlushType |
| Modifier and Type | Field and Description |
|---|---|
protected ConsistencyLevel |
consistencyLevel |
protected List<AbstractStatementWrapper> |
counterStatementWrappers |
protected DaoContext |
daoContext |
protected List<AbstractStatementWrapper> |
statementWrappers |
| Modifier | Constructor and Description |
|---|---|
|
AbstractFlushContext(DaoContext daoContext,
ConsistencyLevel consistencyLevel) |
protected |
AbstractFlushContext(DaoContext daoContext,
List<AbstractStatementWrapper> statementWrappers,
ConsistencyLevel consistencyLevel) |
| Modifier and Type | Method and Description |
|---|---|
abstract AbstractFlushContext |
duplicate() |
abstract void |
endBatch() |
protected void |
executeBatch(com.datastax.driver.core.BatchStatement.Type batchType,
List<AbstractStatementWrapper> statementWrappers) |
com.datastax.driver.core.ResultSet |
executeImmediate(AbstractStatementWrapper statementWrapper) |
abstract void |
flush() |
ConsistencyLevel |
getConsistencyLevel() |
void |
pushCounterStatement(AbstractStatementWrapper statementWrapper) |
void |
pushStatement(AbstractStatementWrapper statementWrapper) |
void |
setConsistencyLevel(ConsistencyLevel consistencyLevel) |
abstract void |
startBatch() |
String |
toString() |
abstract void |
triggerInterceptor(EntityMeta meta,
Object entity,
Event event) |
abstract AbstractFlushContext.FlushType |
type() |
protected DaoContext daoContext
protected List<AbstractStatementWrapper> statementWrappers
protected List<AbstractStatementWrapper> counterStatementWrappers
protected ConsistencyLevel consistencyLevel
public AbstractFlushContext(DaoContext daoContext, ConsistencyLevel consistencyLevel)
protected AbstractFlushContext(DaoContext daoContext, List<AbstractStatementWrapper> statementWrappers, ConsistencyLevel consistencyLevel)
protected void executeBatch(com.datastax.driver.core.BatchStatement.Type batchType,
List<AbstractStatementWrapper> statementWrappers)
public void pushStatement(AbstractStatementWrapper statementWrapper)
public void pushCounterStatement(AbstractStatementWrapper statementWrapper)
public com.datastax.driver.core.ResultSet executeImmediate(AbstractStatementWrapper statementWrapper)
public void setConsistencyLevel(ConsistencyLevel consistencyLevel)
public ConsistencyLevel getConsistencyLevel()
public abstract void startBatch()
public abstract void flush()
public abstract void endBatch()
public abstract AbstractFlushContext.FlushType type()
public abstract AbstractFlushContext duplicate()
public abstract void triggerInterceptor(EntityMeta meta, Object entity, Event event)
Copyright © 2012-2014. All Rights Reserved.