public interface BlobParameterBuffer extends ParameterBuffer
FbDatabase.createBlobForOutput(org.firebirdsql.gds.ng.FbTransaction, BlobParameterBuffer)
or
FbDatabase.createBlobForInput(org.firebirdsql.gds.ng.FbTransaction, BlobParameterBuffer, long)
operations.
Two features are available:
FbBlob.seek(int, org.firebirdsql.gds.ng.FbBlob.SeekMode)
for more details).
Modifier and Type | Field and Description |
---|---|
static int |
FILTER_PARAMETER |
static int |
SOURCE_INTERP |
static int |
SOURCE_TYPE |
static int |
TARGET_INTERP |
static int |
TARGET_TYPE |
static int |
TYPE |
static int |
TYPE_SEGMENTED |
static int |
TYPE_STREAM |
Modifier and Type | Method and Description |
---|---|
void |
addArgument(int argumentType)
Set a void (valueless) parameter on this
BlobParameterBuffer . |
void |
addArgument(int argumentType,
int value)
Set an
int parameter on this BlobParameterBuffer . |
void |
addArgument(int argumentType,
java.lang.String value)
Set a
String parameter on this BlobParameterBuffer . |
addArgument, addArgument, addArgument, getArgumentAsInt, getArgumentAsString, getType, hasArgument, iterator, removeArgument, size, toBytes, toBytesWithType, toXdrable, writeArgumentsTo
static final int SOURCE_TYPE
static final int TARGET_TYPE
static final int SOURCE_INTERP
static final int TARGET_INTERP
static final int FILTER_PARAMETER
static final int TYPE
static final int TYPE_SEGMENTED
static final int TYPE_STREAM
void addArgument(int argumentType)
BlobParameterBuffer
.addArgument
in interface ParameterBuffer
argumentType
- The parameter to be set, either an ISCConstants.isc_bpb_*
constant, or one of the
constants of this interfacevoid addArgument(int argumentType, java.lang.String value)
String
parameter on this BlobParameterBuffer
.addArgument
in interface ParameterBuffer
argumentType
- The parameter to be set, either an ISCConstants.isc_bpb_*
constant, or one of the
constants of this interfacevalue
- The value to set for the given parametervoid addArgument(int argumentType, int value)
int
parameter on this BlobParameterBuffer
.addArgument
in interface ParameterBuffer
argumentType
- The parameter to be set, either an ISCConstants.isc_bpb_*
constant, or one of the
constants of this interfacevalue
- The value to set for the given parameterCopyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.