Documentation of 'org.hsqldb.rowio.RowInputBinary' Java class
RowInputBinary
org.hsqldb.rowio

Class RowInputBinary

    • Field Detail

      • ignoreDataErrors

        public boolean ignoreDataErrors
    • Constructor Detail

      • RowInputBinary

        public RowInputBinary(byte[] buf)
      • RowInputBinary

        public RowInputBinary(RowOutputBinary out)
        uses the byte[] buffer from out. At each reset, the buffer is set to the current one for out.
    • Method Detail

      • readType

        public int readType()
                     throws java.io.IOException
        Specified by:
        readType in interface RowInputInterface
        Throws:
        java.io.IOException
      • readString

        public java.lang.String readString()
                                    throws java.io.IOException
        Specified by:
        readString in interface RowInputInterface
        Throws:
        java.io.IOException
      • readNull

        public boolean readNull()
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • readIntArray

        public int[] readIntArray()
                           throws java.io.IOException
        Nulls in array are treated as 0
        Throws:
        java.io.IOException
      • readData

        public java.lang.Object[] readData(Type[] colTypes)
                                    throws java.io.IOException
        reads row data from a stream using the JDBC types in colTypes
        Specified by:
        readData in interface RowInputInterface
        Throws:
        java.io.IOException
      • readByteArray

        public byte[] readByteArray()
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • readCharArray

        public char[] readCharArray()
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • resetRow

        public void resetRow(int rowsize)
        Used to reset the row, ready for Result data to be written into the byte[] buffer by an external routine.
      • resetRow

        public void resetRow(long filepos,
                             int rowsize)
        Used to reset the row, ready for a new db row to be written into the byte[] buffer by an external routine.
        Specified by:
        resetRow in interface RowInputInterface
      • getPos

        public long getPos()
      • getSize

        public int getSize()
      • readData

        public java.lang.Object readData(Type type)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • resetBlock

        public void resetBlock(long filepos,
                               int rowsize)
        Used to reset the row, ready for a new row to be written into the byte[] buffer by an external routine.
      • getBuffer

        public byte[] getBuffer()
      • skipBytes

        public int skipBytes(int n)
                      throws java.io.IOException
        Specified by:
        skipBytes in interface java.io.DataInput
        Overrides:
        skipBytes in class HsqlByteArrayInputStream
        Throws:
        java.io.IOException
      • readLine

        public java.lang.String readLine()
                                  throws java.io.IOException
        Specified by:
        readLine in interface java.io.DataInput
        Overrides:
        readLine in class HsqlByteArrayInputStream
        Throws:
        java.io.IOException

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.