java.lang.Object
org.firebirdsql.gds.ng.BlobLengthProcessor
- All Implemented Interfaces:
InfoProcessor<Long>
Blob information processor for retrieving blob length.
- Since:
- 3.0
- Author:
- Mark Rotteveel
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.firebirdsql.gds.ng.InfoProcessor
InfoProcessor.StatementInfo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]process(byte[] infoResponse) Process an infoResponse block into an object of type T.
-
Constructor Details
-
BlobLengthProcessor
public BlobLengthProcessor()
-
-
Method Details
-
process
Description copied from interface:InfoProcessorProcess an infoResponse block into an object of type T.- Specified by:
processin interfaceInfoProcessor<Long>- Parameters:
infoResponse- byte array containing the server response to an info-request.- Returns:
- Processed response of type T (usually - but not required - a newly created object).
- Throws:
InfoTruncatedException- (optional) ifinfoResponseis truncated and this processor could not recover by itselfSQLException- for errors during processing the infoResponse.
-
getBlobLengthItems
public byte[] getBlobLengthItems()
-