| Modifier and Type | Class and Description |
|---|---|
| private static class | CommandContainer.
Collector of generated keys. |
| Modifier and Type | Field and Description |
|---|---|
| private Prepared | |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private ResultWithGeneratedKeys | |
| public int | |
| public Set | |
| public ArrayList | getParameters()
Implements abstract org. Implements org. Get the list of parameters. |
| public boolean | |
| 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. |
| private void | |
| 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. |
| prepared | back to summary |
|---|---|
| private Prepared prepared | |
| readOnly | back to summary |
|---|---|
| private boolean readOnly | |
| readOnlyKnown | back to summary |
|---|---|
| private boolean readOnlyKnown | |
| CommandContainer | back to summary |
|---|---|
| public CommandContainer(SessionLocal session, String sql, Prepared prepared) | |
| executeUpdateWithGeneratedKeys | back to summary |
|---|---|
| private ResultWithGeneratedKeys executeUpdateWithGeneratedKeys(DataChangeStatement statement, Object generatedKeysRequest) | |
| 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.
| |
| isCacheable | back to summary |
|---|---|
| public boolean isCacheable() Overrides org.
| |
| 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.
| |
| recompileIfRequired | back to summary |
|---|---|
| private void recompileIfRequired() | |
| 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.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final int[] | |
| private final LocalResult |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | addRow(Value...
the values values)Implements org. Add the row to the result set. |
| public long | |
| public void | limitsWereApplied()
Implements org. A hint that sorting, offset and limit may be ignored by this result because they were applied during the query. |
| indexes | back to summary |
|---|---|
| private final int[] indexes | |
| result | back to summary |
|---|---|
| private final LocalResult result | |
| GeneratedKeysCollector | back to summary |
|---|---|
| pack-priv GeneratedKeysCollector(int[] indexes, LocalResult result) | |
| addRow | back to summary |
|---|---|
| public void addRow(Value... values) Implements org. Doc from org. Add the row to the result set. | |
| getRowCount | back to summary |
|---|---|
| public long getRowCount() Implements org. Doc from org. Get the number of rows.
| |
| limitsWereApplied | back to summary |
|---|---|
| public void limitsWereApplied() Implements org. Doc from org. A hint that sorting, offset and limit may be ignored by this result because they were applied during the query. This is useful for WITH TIES clause because result may contain tied rows above limit.
| |