public interface UpdateCallback extends TableCreatable, TableDroppable, RowInsertable, RowUpdateable, RowDeletable
UpdateCallback
is used by an UpdateScript
to perform
updates on a DataContext
. Multiple updates (eg. insertion of several
rows or creation of multiple tables) can (and should) be performed with a
single UpdateCallback
. This pattern guarantees that connections
and/or file handles are handled correctly, surrounding the
UpdateScript
that is being executed.Modifier and Type | Method and Description |
---|---|
DataContext |
getDataContext()
Gets the DataContext on which the update script is being executed.
|
createTable, createTable, isCreateTableSupported
dropTable, dropTable, dropTable, dropTable, isDropTableSupported
insertInto, insertInto, insertInto, isInsertSupported
isUpdateSupported, update, update, update
deleteFrom, deleteFrom, deleteFrom, isDeleteSupported
DataContext getDataContext()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.