public class RelationalDeleteQuery extends java.lang.Object implements DeleteQuery
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected SqlCondition |
condition |
protected java.util.List |
deleteList |
protected java.lang.String |
message |
protected java.lang.String |
queryString |
protected Relation |
relation |
protected SelectQuery |
selectQuery |
| コンストラクタと説明 |
|---|
RelationalDeleteQuery(Relation relation,
SqlCondition condition)
コンストラクタ。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
java.sql.PreparedStatement |
addBatch(java.sql.PreparedStatement statement)
Queryをバッチに追加する(Optional operation)
|
protected java.util.List |
createDeleteList(java.util.List l,
Table t,
java.util.Set selectSet) |
int |
delete(java.sql.Connection con)
deleteを実行する。
|
java.lang.String |
getQuery()
Query文を取得する。
|
Relation |
getRelation()
Relationを取得する。
|
SqlCondition |
getSqlCondition()
条件を取得する。
|
java.sql.PreparedStatement |
getStatement(java.sql.Connection con)
PreparedStatementを取得する(Optional operation)
|
java.lang.String |
toString()
文字列を取得する。
|
protected java.util.List deleteList
protected SelectQuery selectQuery
protected SqlCondition condition
protected java.lang.String queryString
protected java.lang.String message
protected Relation relation
public RelationalDeleteQuery(Relation relation, SqlCondition condition) throws DBException, FatalException
public SqlCondition getSqlCondition()
getSqlCondition インタフェース内 DeleteQuerypublic java.lang.String getQuery()
getQuery インタフェース内 DeleteQuerypublic java.lang.String toString()
toString クラス内 java.lang.Objectpublic int delete(java.sql.Connection con) throws DBException, FatalException
delete インタフェース内 DeleteQueryDBExceptionFatalExceptionpublic Relation getRelation()
public java.sql.PreparedStatement getStatement(java.sql.Connection con) throws DBException, FatalException
getStatement インタフェース内 DeleteQueryDBExceptionFatalExceptionpublic java.sql.PreparedStatement addBatch(java.sql.PreparedStatement statement) throws DBException, FatalException
addBatch インタフェース内 DeleteQueryDBExceptionFatalExceptionprotected java.util.List createDeleteList(java.util.List l, Table t, java.util.Set selectSet) throws DBException
DBException