public abstract class SqlBatchModifyQuery extends AbstractQuery implements BatchModifyQuery
| Modifier and Type | Field and Description |
|---|---|
protected int |
batchSize |
protected SqlKind |
kind |
protected boolean |
optimisticLockCheckRequired |
protected java.util.Map<java.lang.String,java.util.List<org.seasar.doma.internal.expr.Value>> |
parameters |
protected int |
parameterSize |
protected SqlLogType |
sqlLogType |
protected SqlNode |
sqlNode |
protected java.util.List<PreparedSql> |
sqls |
callerClassName, callerMethodName, config, message, method, queryTimeout| Modifier | Constructor and Description |
|---|---|
protected |
SqlBatchModifyQuery(SqlKind kind) |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(java.lang.String name,
java.lang.Class<?> type,
java.util.List<?> values) |
void |
clearParameters() |
void |
complete() |
int |
getBatchSize() |
PreparedSql |
getSql() |
SqlExecutionSkipCause |
getSqlExecutionSkipCause() |
SqlLogType |
getSqlLogType() |
java.util.List<PreparedSql> |
getSqls() |
boolean |
isAutoGeneratedKeysSupported() |
boolean |
isExecutable() |
boolean |
isOptimisticLockCheckRequired() |
void |
prepare() |
protected void |
prepareOptions() |
protected void |
prepareSql() |
void |
setBatchSize(int batchSize) |
void |
setSqlLogType(SqlLogType sqlLogType) |
void |
setSqlNode(SqlNode sqlNode) |
java.lang.String |
toString() |
comment, getClassName, getConfig, getMethod, getMethodName, getQueryTimeout, setCallerClassName, setCallerMethodName, setConfig, setMessage, setMethod, setQueryTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcomment, getClassName, getConfig, getMethod, getMethodName, getQueryTimeoutprotected final SqlKind kind
protected SqlNode sqlNode
protected final java.util.Map<java.lang.String,java.util.List<org.seasar.doma.internal.expr.Value>> parameters
protected java.util.List<PreparedSql> sqls
protected boolean optimisticLockCheckRequired
protected int batchSize
protected SqlLogType sqlLogType
protected int parameterSize
protected SqlBatchModifyQuery(SqlKind kind)
public void prepare()
prepare in interface Queryprepare in class AbstractQueryprotected void prepareOptions()
protected void prepareSql()
public void setSqlNode(SqlNode sqlNode)
public void addParameter(java.lang.String name,
java.lang.Class<?> type,
java.util.List<?> values)
public void clearParameters()
public void setBatchSize(int batchSize)
public void setSqlLogType(SqlLogType sqlLogType)
public PreparedSql getSql()
getSql in interface BatchModifyQuerygetSql in interface Querypublic java.util.List<PreparedSql> getSqls()
getSqls in interface BatchModifyQuerypublic boolean isOptimisticLockCheckRequired()
isOptimisticLockCheckRequired in interface BatchModifyQuerypublic boolean isExecutable()
isExecutable in interface BatchModifyQuerypublic SqlExecutionSkipCause getSqlExecutionSkipCause()
getSqlExecutionSkipCause in interface BatchModifyQuerypublic boolean isAutoGeneratedKeysSupported()
isAutoGeneratedKeysSupported in interface BatchModifyQuerypublic int getBatchSize()
getBatchSize in interface BatchModifyQuerypublic SqlLogType getSqlLogType()
getSqlLogType in interface BatchModifyQuerypublic java.lang.String toString()
toString in class java.lang.Object