org.hsqldb.rowio
Interface RowInputInterface

All Known Implementing Classes:
RowInputBinary, RowInputLegacy, RowInputText

public interface RowInputInterface

Public interface for reading the data for a database row.

Since:
1.7.0
Version:
1.7.2
Author:
sqlbob@users (RMP), fredt@users

Method Summary
 byte[] getBuffer()
           
 int getNextPos()
           
 int getPos()
           
 int getSize()
           
 Object[] readData(int[] colTypes)
           
 int readIntData()
           
 String readString()
           
 int readType()
           
 void resetRow(int filePos, int size)
           
 void setSystemId(boolean flag)
           
 

Method Detail

getPos

public int getPos()
           throws IOException
Throws:
IOException

getNextPos

public int getNextPos()
               throws IOException
Throws:
IOException

getSize

public int getSize()

readType

public int readType()
             throws IOException
Throws:
IOException

readString

public String readString()
                  throws IOException
Throws:
IOException

readIntData

public int readIntData()
                throws IOException
Throws:
IOException

setSystemId

public void setSystemId(boolean flag)

readData

public Object[] readData(int[] colTypes)
                  throws IOException,
                         HsqlException
Throws:
IOException
HsqlException

resetRow

public void resetRow(int filePos,
                     int size)
              throws IOException
Throws:
IOException

getBuffer

public byte[] getBuffer()


Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.