public abstract class SqlFileModifyQuery extends AbstractQuery implements ModifyQuery
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String[] |
EMPTY_STRINGS |
protected java.lang.String[] |
excludedPropertyNames |
protected boolean |
executable |
protected java.lang.String[] |
includedPropertyNames |
protected SqlKind |
kind |
protected boolean |
optimisticLockCheckRequired |
protected java.util.Map<java.lang.String,org.seasar.doma.internal.expr.Value> |
parameters |
protected PreparedSql |
sql |
protected SqlExecutionSkipCause |
sqlExecutionSkipCause |
protected java.lang.String |
sqlFilePath |
protected SqlLogType |
sqlLogType |
callerClassName, callerMethodName, config, message, method, queryTimeout| Modifier | Constructor and Description |
|---|---|
protected |
SqlFileModifyQuery(SqlKind kind) |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(java.lang.String name,
java.lang.Class<?> type,
java.lang.Object value) |
void |
addParameterInternal(java.lang.String name,
java.lang.Class<?> type,
java.lang.Object value) |
protected java.util.List<java.lang.String> |
expandColumns(org.seasar.doma.internal.jdbc.sql.node.ExpandNode node) |
PreparedSql |
getSql() |
SqlExecutionSkipCause |
getSqlExecutionSkipCause() |
SqlLogType |
getSqlLogType() |
boolean |
isAutoGeneratedKeysSupported() |
boolean |
isExecutable() |
boolean |
isOptimisticLockCheckRequired() |
protected void |
populateValues(org.seasar.doma.internal.jdbc.sql.node.PopulateNode node,
org.seasar.doma.internal.jdbc.sql.SqlContext context) |
protected void |
prepareOptions() |
protected void |
prepareSql() |
abstract <E> void |
setEntityAndEntityType(java.lang.String name,
E entity,
EntityType<E> entityType) |
void |
setExcludedPropertyNames(java.lang.String... excludedPropertyNames) |
void |
setIncludedPropertyNames(java.lang.String... includedPropertyNames) |
void |
setSqlFilePath(java.lang.String sqlFilePath) |
void |
setSqlLogType(SqlLogType sqlLogType) |
java.lang.String |
toString() |
comment, getClassName, getConfig, getMethod, getMethodName, getQueryTimeout, prepare, setCallerClassName, setCallerMethodName, setConfig, setMessage, setMethod, setQueryTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcomment, complete, getClassName, getConfig, getMethod, getMethodName, getQueryTimeout, prepareprotected static final java.lang.String[] EMPTY_STRINGS
protected final SqlKind kind
protected java.lang.String sqlFilePath
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 java.lang.String[] includedPropertyNames
protected java.lang.String[] excludedPropertyNames
protected boolean executable
protected SqlExecutionSkipCause sqlExecutionSkipCause
protected SqlFileModifyQuery(SqlKind kind)
protected void prepareOptions()
protected void prepareSql()
protected java.util.List<java.lang.String> expandColumns(org.seasar.doma.internal.jdbc.sql.node.ExpandNode node)
protected void populateValues(org.seasar.doma.internal.jdbc.sql.node.PopulateNode node,
org.seasar.doma.internal.jdbc.sql.SqlContext context)
public void setSqlFilePath(java.lang.String sqlFilePath)
public void addParameter(java.lang.String name,
java.lang.Class<?> type,
java.lang.Object value)
public void addParameterInternal(java.lang.String name,
java.lang.Class<?> type,
java.lang.Object value)
public void setSqlLogType(SqlLogType sqlLogType)
public void setIncludedPropertyNames(java.lang.String... includedPropertyNames)
public void setExcludedPropertyNames(java.lang.String... excludedPropertyNames)
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 abstract <E> void setEntityAndEntityType(java.lang.String name,
E entity,
EntityType<E> entityType)
public java.lang.String toString()
toString in class java.lang.Object