org.hsqldb.rowio
Interface RowOutputInterface

All Known Implementing Classes:
RowOutputBase

public interface RowOutputInterface

Public interface for writing the data for a database row.

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

Method Summary
 HsqlByteArrayOutputStream getOutputStream()
           
 int getSize(CachedRow row)
           
 void reset()
           
 int size()
           
 void writeData(int l, int[] types, Object[] data, HashMappedList cols, boolean primarykeys)
           
 void writeData(Object[] data, Table t)
           
 void writeIntData(int i)
           
 void writeIntData(int i, int position)
           
 void writePos(int pos)
           
 void writeSize(int size)
           
 void writeString(String value)
           
 void writeType(int type)
           
 

Method Detail

writePos

public void writePos(int pos)
              throws IOException
Throws:
IOException

writeSize

public void writeSize(int size)
               throws IOException
Throws:
IOException

writeType

public void writeType(int type)
               throws IOException
Throws:
IOException

writeString

public void writeString(String value)
                 throws IOException
Throws:
IOException

writeIntData

public void writeIntData(int i)
                  throws IOException
Throws:
IOException

writeIntData

public void writeIntData(int i,
                         int position)
                  throws IOException
Throws:
IOException

writeData

public void writeData(Object[] data,
                      Table t)
               throws IOException,
                      HsqlException
Throws:
IOException
HsqlException

writeData

public void writeData(int l,
                      int[] types,
                      Object[] data,
                      HashMappedList cols,
                      boolean primarykeys)
               throws IOException,
                      HsqlException
Throws:
IOException
HsqlException

getSize

public int getSize(CachedRow row)
            throws HsqlException
Throws:
HsqlException

getOutputStream

public HsqlByteArrayOutputStream getOutputStream()

reset

public void reset()

size

public int size()


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