public interface TransactionParameterBuffer
Modifier and Type | Field and Description |
---|---|
static int |
AUTOCOMMIT |
static int |
COMMIT_TIME |
static int |
CONCURRENCY |
static int |
CONSISTENCY |
static int |
EXCLUSIVE |
static int |
IGNORE_LIMBO |
static int |
LOCK_READ |
static int |
LOCK_TIMEOUT |
static int |
LOCK_WRITE |
static int |
NO_AUTO_UNDO |
static int |
NO_REC_VERSION |
static int |
NOWAIT |
static int |
PROTECTED |
static int |
READ |
static int |
READ_COMMITTED |
static int |
REC_VERSION |
static int |
RESTART_REQUESTS |
static int |
SHARED |
static int |
VERB_TIME |
static int |
WAIT |
static int |
WRITE |
Modifier and Type | Method and Description |
---|---|
void |
addArgument(int argumentType)
Add argument.
|
void |
addArgument(int argumentType,
byte[] content)
Add array of bytes.
|
void |
addArgument(int argumentType,
int value)
Add integer argument.
|
void |
addArgument(int argumentType,
java.lang.String value)
Add string argument.
|
TransactionParameterBuffer |
deepCopy()
Make a deep copy of this object.
|
int |
getArgumentAsInt(int argumentType)
Get argument as int.
|
java.lang.String |
getArgumentAsString(int argumentType)
Get argument as string.
|
boolean |
hasArgument(int argumentType)
Check if this parameter buffer has specified argument.
|
void |
removeArgument(int argumentType)
Remove specified argument.
|
static final int AUTOCOMMIT
static final int READ_COMMITTED
static final int REC_VERSION
static final int NO_REC_VERSION
static final int CONCURRENCY
static final int CONSISTENCY
static final int SHARED
static final int PROTECTED
static final int EXCLUSIVE
static final int WAIT
static final int NOWAIT
static final int READ
static final int WRITE
static final int LOCK_READ
static final int LOCK_WRITE
static final int VERB_TIME
static final int COMMIT_TIME
static final int IGNORE_LIMBO
static final int RESTART_REQUESTS
static final int NO_AUTO_UNDO
static final int LOCK_TIMEOUT
void addArgument(int argumentType)
argumentType
- type of argument.void addArgument(int argumentType, java.lang.String value)
argumentType
- type of argument.value
- string value to add.void addArgument(int argumentType, int value)
argumentType
- type of argument.value
- integer value to add.void addArgument(int argumentType, byte[] content)
argumentType
- type of argument.content
- content of argument.void removeArgument(int argumentType)
argumentType
- type of argument to remove.java.lang.String getArgumentAsString(int argumentType)
argumentType
- type of argument to find.null
if nothing found.int getArgumentAsInt(int argumentType)
argumentType
- type of argument to find.0
if nothing found.boolean hasArgument(int argumentType)
argumentType
- type of argument to find.true
if this buffer contains specified argument.TransactionParameterBuffer deepCopy()
Copyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.