org.firebirdsql.gds.ng

## Interface InfoProcessor<T>

- Type Parameters:
    `T` - Type of the result of the `process(byte[])` method.
  All Known Implementing Classes:
    BlobLengthProcessor, ExecutionPlanProcessor, SqlCountProcessor, StatementInfoProcessor

      public interface InfoProcessor<T>

  Functional interface to process an information buffer (responses to p_info_* requests) returning an object of type T.
  Since:
    3.0
  Author:
    Mark Rotteveel

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `InfoProcessor.StatementInfo` Interface for information on a statement.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `process(byte[] infoResponse)` Process an infoResponse block into an object of type T.

- - ### Method Detail

    - #### process

          T process(byte[] infoResponse)
             throws java.sql.SQLException

      Process an infoResponse block into an object of type T.
      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:
        `java.sql.SQLException` - For errors during the infoResponse.

Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.