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

Class RowInputText

    • Constructor Detail

      • RowInputText

        public RowInputText(java.lang.String fieldSep,
                            java.lang.String varSep,
                            java.lang.String longvarSep,
                            boolean allQuoted)
        fredt@users - comment - in future may use a custom subclasse of InputStream to read the data.
    • Method Detail

      • setSource

        public void setSource(java.lang.String text,
                              long pos,
                              int byteSize)
      • readString

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

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

        public int getLineNumber()
      • skippedLine

        public void skippedLine()
      • getPos

        public long getPos()
      • getSize

        public int getSize()
      • readData

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

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

        public void resetRow(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.
      • 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.