com.j256.ormlite.stmt
Class DeleteBuilder<T,ID>
java.lang.Object
com.j256.ormlite.stmt.StatementBuilder<T,ID>
com.j256.ormlite.stmt.DeleteBuilder<T,ID>
public class DeleteBuilder<T,ID>
- extends StatementBuilder<T,ID>
Assists in building sql DELETE statements for a particular table in a particular database.
- Author:
- graywatson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteBuilder
public DeleteBuilder(DatabaseType databaseType,
TableInfo<T,ID> tableInfo)
prepare
public PreparedDelete<T> prepare()
throws SQLException
- Build and return a prepared delete that can be used by
Dao.delete(PreparedDelete)
method. If you change
the where or make other calls you will need to re-call this method to re-prepare the statement for execution.
- Throws:
SQLException
appendStatementStart
protected void appendStatementStart(StringBuilder sb,
List<ArgumentHolder> argList)
- Description copied from class:
StatementBuilder
- Append the start of our statement string to the StringBuilder.
- Specified by:
appendStatementStart
in class StatementBuilder<T,ID>
appendStatementEnd
protected void appendStatementEnd(StringBuilder sb)
- Description copied from class:
StatementBuilder
- Append the end of our statement string to the StringBuilder.
- Specified by:
appendStatementEnd
in class StatementBuilder<T,ID>
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.