com.ibm.jtopenlite.ddm

Class DDMDataBuffer

  • java.lang.Object
    • com.ibm.jtopenlite.ddm.DDMDataBuffer


  • public final class DDMDataBuffer
    extends java.lang.Object
    Represents a set of temporary data for a given record. Data buffers are reused internally by a DDMConnection when reading records from a file. When a data buffer is passed to DDMReadCallback.newRecord(), its record data buffer, record number, and null field values will all be in sync. If a data buffer is referenced elsewhere, no guarantee is made as to what the actual values stored in the buffer will be, as data buffers are reused while records are read from a file.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean[] getNullFieldValues()
      Returns the current null field values stored in this buffer.
      byte[] getRecordDataBuffer()
      Returns the current record data stored in this buffer.
      int getRecordNumber()
      Returns the current record number stored in this buffer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getRecordDataBuffer

        public final byte[] getRecordDataBuffer()
        Returns the current record data stored in this buffer.
      • getRecordNumber

        public final int getRecordNumber()
        Returns the current record number stored in this buffer.
      • getNullFieldValues

        public final boolean[] getNullFieldValues()
        Returns the current null field values stored in this buffer.