com.ibm.jtopenlite.database

Interface DatabaseFetchCallback

  • All Known Implementing Classes:
    JDBCResultSet


    public interface DatabaseFetchCallback
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      byte[] getTempDataBuffer(int rowSize)
      The implementor can create their own temp byte array for the row size and reuse it each time a fetch is performed.
      void newIndicator(int row, int column, byte[] tempIndicatorData) 
      void newResultData(int rowCount, int columnCount, int rowSize) 
      void newRowData(int row, byte[] tempData) 
  • >
    • Method Detail

      • getTempDataBuffer

        byte[] getTempDataBuffer(int rowSize)
        The implementor can create their own temp byte array for the row size and reuse it each time a fetch is performed. The implementor can choose to ignore this, and simply return null. The database connection checks to see if the buffer returned by this method is not null and large enough to accommodate the row size.
      • newResultData

        void newResultData(int rowCount,
                         int columnCount,
                         int rowSize)
      • newIndicator

        void newIndicator(int row,
                        int column,
                        byte[] tempIndicatorData)
      • newRowData

        void newRowData(int row,
                      byte[] tempData)