public abstract class SqlModifyQuery extends AbstractQuery implements ModifyQuery
| Modifier and Type | Field and Description |
|---|---|
protected SqlKind |
kind |
protected boolean |
optimisticLockCheckRequired |
protected java.util.Map<java.lang.String,org.seasar.doma.internal.expr.Value> |
parameters |
protected PreparedSql |
sql |
protected SqlLogType |
sqlLogType |
protected SqlNode |
sqlNode |
callerClassName, callerMethodName, config, message, method, queryTimeout| Modifier | Constructor and Description |
|---|---|
protected |
SqlModifyQuery(SqlKind kind) |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(java.lang.String name,
java.lang.Class<?> type,
java.lang.Object value) |
void |
clearParameters() |
void |
complete() |
PreparedSql |
getSql() |
SqlExecutionSkipCause |
getSqlExecutionSkipCause() |
SqlLogType |
getSqlLogType() |
boolean |
isAutoGeneratedKeysSupported() |
boolean |
isExecutable() |
boolean |
isOptimisticLockCheckRequired() |
void |
prepare() |
protected void |
prepareOptions() |
protected void |
prepareSql() |
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,org.seasar.doma.internal.expr.Value> parameters
protected PreparedSql sql
protected boolean optimisticLockCheckRequired
protected SqlLogType sqlLogType
protected SqlModifyQuery(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.lang.Object value)
public void clearParameters()
public void setSqlLogType(SqlLogType sqlLogType)
public PreparedSql getSql()
getSql in interface ModifyQuerygetSql in interface Querypublic boolean isOptimisticLockCheckRequired()
isOptimisticLockCheckRequired in interface ModifyQuerypublic boolean isExecutable()
isExecutable in interface ModifyQuerypublic SqlExecutionSkipCause getSqlExecutionSkipCause()
getSqlExecutionSkipCause in interface ModifyQuerypublic boolean isAutoGeneratedKeysSupported()
isAutoGeneratedKeysSupported in interface ModifyQuerypublic SqlLogType getSqlLogType()
getSqlLogType in interface ModifyQuerypublic java.lang.String toString()
toString in class java.lang.Object