Package org.firebirdsql.gds
Interface BlobParameterBuffer
- 
- All Superinterfaces:
- java.lang.Iterable<Parameter>,- ParameterBuffer
 - All Known Implementing Classes:
- BlobParameterBufferImp
 
 public interface BlobParameterBuffer extends ParameterBuffer Instance of this interface represents a BLOB Parameter Buffer from the Firebird API documentation and specifies attributes forFbDatabase.createBlobForOutput(org.firebirdsql.gds.ng.FbTransaction, BlobParameterBuffer)orFbDatabase.createBlobForInput(org.firebirdsql.gds.ng.FbTransaction, BlobParameterBuffer, long)operations.Two features are available: - Specifying the source and target BLOB types (server uses BLOB filters to perform the conversion)
- Specifying type of the BLOB - either segmented or stream. The only
 visible to user difference between segmented and stream BLOBs is the fact
 that "seek" operation is not defined for segmented BLOBs (see
 FbBlob.seek(int, org.firebirdsql.gds.ng.FbBlob.SeekMode)for more details).
 
- 
- 
Field SummaryFields Modifier and Type Field Description static intFILTER_PARAMETERstatic intSOURCE_INTERPstatic intSOURCE_TYPEstatic intTARGET_INTERPstatic intTARGET_TYPEstatic intTYPEstatic intTYPE_SEGMENTEDstatic intTYPE_STREAM
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddArgument(int argumentType)Set a void (valueless) parameter on thisBlobParameterBuffer.voidaddArgument(int argumentType, int value)Set anintparameter on thisBlobParameterBuffer.voidaddArgument(int argumentType, java.lang.String value)Set aStringparameter on thisBlobParameterBuffer.- 
Methods inherited from interface org.firebirdsql.gds.ParameterBufferaddArgument, addArgument, addArgument, getArgumentAsInt, getArgumentAsString, getType, hasArgument, iterator, removeArgument, size, toBytes, toBytesWithType, toXdrable, writeArgumentsTo
 
- 
 
- 
- 
- 
Field Detail- 
SOURCE_TYPEstatic final int SOURCE_TYPE - See Also:
- Constant Field Values
 
 - 
TARGET_TYPEstatic final int TARGET_TYPE - See Also:
- Constant Field Values
 
 - 
SOURCE_INTERPstatic final int SOURCE_INTERP - See Also:
- Constant Field Values
 
 - 
TARGET_INTERPstatic final int TARGET_INTERP - See Also:
- Constant Field Values
 
 - 
FILTER_PARAMETERstatic final int FILTER_PARAMETER - See Also:
- Constant Field Values
 
 - 
TYPEstatic final int TYPE - See Also:
- Constant Field Values
 
 - 
TYPE_SEGMENTEDstatic final int TYPE_SEGMENTED - See Also:
- Constant Field Values
 
 - 
TYPE_STREAMstatic final int TYPE_STREAM - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
addArgumentvoid addArgument(int argumentType) Set a void (valueless) parameter on thisBlobParameterBuffer.- Specified by:
- addArgumentin interface- ParameterBuffer
- Parameters:
- argumentType- The parameter to be set, either an- ISCConstants.isc_bpb_*constant, or one of the constants of this interface
 
 - 
addArgumentvoid addArgument(int argumentType, java.lang.String value)Set aStringparameter on thisBlobParameterBuffer.- Specified by:
- addArgumentin interface- ParameterBuffer
- Parameters:
- argumentType- The parameter to be set, either an- ISCConstants.isc_bpb_*constant, or one of the constants of this interface
- value- The value to set for the given parameter
 
 - 
addArgumentvoid addArgument(int argumentType, int value)Set anintparameter on thisBlobParameterBuffer.- Specified by:
- addArgumentin interface- ParameterBuffer
- Parameters:
- argumentType- The parameter to be set, either an- ISCConstants.isc_bpb_*constant, or one of the constants of this interface
- value- The value to set for the given parameter
 
 
- 
 
-