public interface DatabaseProcedure
A procedure must manage its own table locking.
Modifier and Type | Method | Description |
---|---|---|
Table |
execute(User user,
java.lang.Object[] args) |
Executes the procudure and returns the resultant table.
|
int |
getLockingMode() |
Returns the locking mode in which the database operates.
|
DataTable[] |
getReadTables(DatabaseConnection db) |
This returns a DataTable[] array that lists the DataTables that are read
during this procedure.
|
DataTable[] |
getWriteTables(DatabaseConnection db) |
Returns a DataTable[] array that lists the DataTables that are written
to during this procedure.
|
void |
setLockHandle(LockHandle lock_handle) |
Sets the LockHandle object for this procedure.
|
Table execute(User user, java.lang.Object[] args) throws DatabaseException
DatabaseException
DataTable[] getReadTables(DatabaseConnection db) throws DatabaseException
DatabaseException
DataTable[] getWriteTables(DatabaseConnection db) throws DatabaseException
DatabaseException
int getLockingMode()
void setLockHandle(LockHandle lock_handle)
Copyright © 2018. All rights reserved.