| java.lang.Object java.io.OutputStream org.hsqldb.lib.HsqlByteArrayOutputStream org.hsqldb.rowio.RowOutputBase
All known Subclasses: org.hsqldb.rowio.RowOutputTextLog, org.hsqldb.rowio.RowOutputBinary, org.hsqldb.rowio.RowOutputText,
RowOutputBase | abstract public class RowOutputBase extends HsqlByteArrayOutputStream implements RowOutputInterface(Code) | | Base class for writing the data for a database row in different formats.
Defines the methods that are independent of storage format and declares
the format-dependent methods that subclasses should define.
author: sqlbob@users (RMP) author: fredt@users version: 1.7.2 since: 1.7.0 |
Method Summary | |
public HsqlByteArrayOutputStream | getOutputStream() | abstract protected void | writeBigint(Number o) | abstract protected void | writeBinary(Binary o, int t) | abstract protected void | writeBit(Boolean o) | abstract protected void | writeChar(String s, int t) | public void | writeData(Object[] data, Table t) This method is called to write data for a table. | public void | writeData(int l, int[] types, Object[] data, HashMappedList cols, int[] primaryKeys) This method is called to write data for a Result. | abstract protected void | writeDate(Date o) | abstract protected void | writeDecimal(BigDecimal o) | abstract public void | writeEnd() | protected void | writeFieldPrefix() | abstract protected void | writeFieldType(int type) | abstract public void | writeIntData(int i) | abstract public void | writeIntData(int i, int position) | abstract protected void | writeInteger(Number o) | abstract protected void | writeNull(int type) | abstract protected void | writeOther(JavaObject o) | abstract protected void | writeReal(Double o, int type) | public void | writeRow(Object[] data, Table t) | abstract public void | writeShortData(short i) | abstract public void | writeSize(int size) | abstract protected void | writeSmallint(Number o) | abstract public void | writeString(String s) | abstract protected void | writeTime(Time o) | abstract protected void | writeTimestamp(Timestamp o) | abstract public void | writeType(int type) |
CACHED_ROW_160 | final public static int CACHED_ROW_160(Code) | | |
CACHED_ROW_170 | final public static int CACHED_ROW_170(Code) | | |
skipSystemId | protected boolean skipSystemId(Code) | | |
RowOutputBase | public RowOutputBase()(Code) | | Constructor used for persistent storage of a Table row
exception: IOException - when an IO error is encountered |
RowOutputBase | public RowOutputBase(int initialSize)(Code) | | Constructor used for result sets
exception: IOException - when an IO error is encountered |
RowOutputBase | public RowOutputBase(byte[] buffer)(Code) | | Constructor used for network transmission of result sets
exception: IOException - when an IO error is encountered |
writeBigint | abstract protected void writeBigint(Number o)(Code) | | |
writeBinary | abstract protected void writeBinary(Binary o, int t)(Code) | | |
writeChar | abstract protected void writeChar(String s, int t)(Code) | | |
writeData | public void writeData(Object[] data, Table t)(Code) | | This method is called to write data for a table.
Parameters: data - Parameters: t - throws: IOException - |
writeData | public void writeData(int l, int[] types, Object[] data, HashMappedList cols, int[] primaryKeys)(Code) | | This method is called to write data for a Result.
Parameters: l - Parameters: types - Parameters: data - Parameters: cols - Parameters: primarykeys - throws: IOException - |
writeDate | abstract protected void writeDate(Date o)(Code) | | |
writeEnd | abstract public void writeEnd()(Code) | | |
writeFieldPrefix | protected void writeFieldPrefix()(Code) | | |
writeFieldType | abstract protected void writeFieldType(int type)(Code) | | |
writeIntData | abstract public void writeIntData(int i)(Code) | | |
writeIntData | abstract public void writeIntData(int i, int position)(Code) | | |
writeInteger | abstract protected void writeInteger(Number o)(Code) | | |
writeNull | abstract protected void writeNull(int type)(Code) | | |
writeReal | abstract protected void writeReal(Double o, int type)(Code) | | |
writeShortData | abstract public void writeShortData(short i)(Code) | | |
writeSize | abstract public void writeSize(int size)(Code) | | |
writeSmallint | abstract protected void writeSmallint(Number o)(Code) | | |
writeTime | abstract protected void writeTime(Time o)(Code) | | |
writeType | abstract public void writeType(int type)(Code) | | |
|
|