public abstract class BaseOperation extends java.lang.Object implements OperationRunnable
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<java.lang.String,java.lang.Object> |
options
Custom options for query
|
protected boolean |
useTransactions
Should transaction be used in query
|
Constructor and Description |
---|
BaseOperation(Database database)
Initialize runnable with database to execute query on
|
Modifier and Type | Method and Description |
---|---|
int |
getId()
Get ID of runnable in manager
|
void |
setId(int id)
Set ID of runnable in manager
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
protected boolean useTransactions
protected java.util.HashMap<java.lang.String,java.lang.Object> options
public BaseOperation(Database database)
database
- Database to execute query on