| Modifier and Type | Field and Description |
|---|---|
| private final CommandContainer | |
| private final ArrayList | |
| private final ArrayList | |
| private String | |
| private Command |
| Access | Constructor and Description |
|---|---|
| pack-priv | CommandList(SessionLocal session, String sql, CommandContainer command, ArrayList<Prepared> commands, ArrayList<Parameter> parameters, String remaining)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public int | |
| public Set | |
| public ArrayList | getParameters()
Implements abstract org. Implements org. Get the list of parameters. |
| public boolean | isQuery()
Implements abstract org. Implements org. Check if this command is a query. |
| public boolean | isReadOnly()
Implements abstract org. Check if this command is read only. |
| protected boolean | isRetryable()
Implements abstract org. Returns is this command can be repeated again on locking failure. |
| public boolean | isTransactional()
Implements abstract org. Check if this command is transactional. |
| public ResultInterface | query(long
the maximum number of rows returned maxrows)Implements abstract org. Execute a query statement, if this is possible. |
| public ResultInterface | queryMeta()
Implements abstract org. Get an empty result set containing the meta data. |
| public void | stop(boolean
commit the session if auto-commit is enabled commitIfAutoCommit)Overrides org. Implements org. Stop the command execution, release all locks and resources. |
| public ResultWithGeneratedKeys | update(Object
false if generated keys are not needed, true if
generated keys should be configured automatically, int[]
to specify column indices to return generated keys from, or
String[] to specify column names to return generated keys
fromImplements abstract org. Execute an updating statement (for example insert, delete, or update), if this is possible. |
| command | back to summary |
|---|---|
| private final CommandContainer command | |
| commands | back to summary |
|---|---|
| private final ArrayList<Prepared> commands | |
| parameters | back to summary |
|---|---|
| private final ArrayList<Parameter> parameters | |
| remaining | back to summary |
|---|---|
| private String remaining | |
| remainingCommand | back to summary |
|---|---|
| private Command remainingCommand | |
| CommandList | back to summary |
|---|---|
| pack-priv CommandList(SessionLocal session, String sql, CommandContainer command, ArrayList<Prepared> commands, ArrayList<Parameter> parameters, String remaining) | |
| executeRemaining | back to summary |
|---|---|
| private void executeRemaining() | |
| getCommandType | back to summary |
|---|---|
| public int getCommandType() Implements org. Doc from org. Get command type.
| |
| getDependencies | back to summary |
|---|---|
| public Set Implements abstract org.
| |
| getParameters | back to summary |
|---|---|
| public ArrayList Implements abstract org. Implements org. Doc from org. Get the list of parameters.
| |
| isQuery | back to summary |
|---|---|
| public boolean isQuery() Implements abstract org. Implements org. Doc from org. Check if this command is a query.
| |
| isReadOnly | back to summary |
|---|---|
| public boolean isReadOnly() Implements abstract org. Doc from org. Check if this command is read only.
| |
| isRetryable | back to summary |
|---|---|
| protected boolean isRetryable() Implements abstract org. Doc from org. Returns is this command can be repeated again on locking failure.
| |
| isTransactional | back to summary |
|---|---|
| public boolean isTransactional() Implements abstract org. Doc from org. Check if this command is transactional. If it is not, then it forces the current transaction to commit.
| |
| query | back to summary |
|---|---|
| public ResultInterface query(long maxrows) Implements abstract org. Doc from org. Execute a query statement, if this is possible.
| |
| queryMeta | back to summary |
|---|---|
| public ResultInterface queryMeta() Implements abstract org. Doc from org. Get an empty result set containing the meta data.
| |
| stop | back to summary |
|---|---|
| public void stop(boolean commitIfAutoCommit) Overrides org. Implements org. Doc from org. Stop the command execution, release all locks and resources.
| |
| update | back to summary |
|---|---|
| public ResultWithGeneratedKeys update(Object generatedKeysRequest) Implements abstract org. Doc from org. Execute an updating statement (for example insert, delete, or update), if this is possible.
| |