Class StatementInfoProcessor

    • Constructor Detail

      • StatementInfoProcessor

        public StatementInfoProcessor​(AbstractFbStatement statement,
                                      FbDatabase database)
        Creates an instance of this class.
        Parameters:
        statement - Statement object
        database - Database object
    • Method Detail

      • process

        public InfoProcessor.StatementInfo process​(byte[] infoResponse)
                                            throws java.sql.SQLException
        Description copied from interface: InfoProcessor
        Process an infoResponse block into an object of type T.
        Specified by:
        process in interface InfoProcessor<InfoProcessor.StatementInfo>
        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) if infoResponse is truncated and this processor could not recover by itself
        java.sql.SQLException - for errors during processing the infoResponse.