Class BlobLengthProcessor

java.lang.Object
org.firebirdsql.gds.ng.BlobLengthProcessor
All Implemented Interfaces:
InfoProcessor<Long>

public class BlobLengthProcessor extends Object implements InfoProcessor<Long>
Blob information processor for retrieving blob length.
Since:
3.0
Author:
Mark Rotteveel
  • Constructor Details

    • BlobLengthProcessor

      public BlobLengthProcessor(FbBlob blob)
  • Method Details

    • process

      public Long process(byte[] infoResponse) throws SQLException
      Description copied from interface: InfoProcessor
      Process an infoResponse block into an object of type T.
      Specified by:
      process in interface InfoProcessor<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:
      SQLException - For errors during the infoResponse.
    • getBlobLengthItems

      public byte[] getBlobLengthItems()