| org.hsqldb.rowio.RowOutputBase org.hsqldb.rowio.RowOutputBinary
RowOutputBinary | public class RowOutputBinary extends RowOutputBase (Code) | | Provides methods for writing the data for a row to a
byte array. The new format of data consists of mainly binary values
and is not compatible with v.1.6.x databases.
author: sqlbob@users (RMP) author: fredt@users version: 1.7.2 since: 1.7.0 |
storageSize | int storageSize(Code) | | |
RowOutputBinary | public RowOutputBinary()(Code) | | |
RowOutputBinary | public RowOutputBinary(int initialSize)(Code) | | |
RowOutputBinary | public RowOutputBinary(byte[] buffer)(Code) | | Constructor used for network transmission of result sets
exception: IOException - when an IO error is encountered |
ensureRoom | public void ensureRoom(int extra)(Code) | | Parameters: extra - amount of extra space |
getSize | public int getSize(CachedRow row)(Code) | | Calculate the size of byte array required to store a row.
Parameters: row - - a database row size of byte array exception: HsqlException - When data is inconsistent |
reset | public void reset()(Code) | | |
reset | public void reset(int newSize)(Code) | | |
setBuffer | public void setBuffer(byte[] buffer)(Code) | | |
writeBinary | protected void writeBinary(Binary o, int t)(Code) | | |
writeByteArray | protected void writeByteArray(byte[] b)(Code) | | |
writeEnd | public void writeEnd()(Code) | | |
writeFieldType | protected void writeFieldType(int type)(Code) | | |
writeIntData | public void writeIntData(int i)(Code) | | |
writeIntData | public void writeIntData(int i, int position)(Code) | | |
writeLongData | public void writeLongData(long i)(Code) | | |
writeNull | protected void writeNull(int type)(Code) | | |
writeShortData | public void writeShortData(short i)(Code) | | |
writeSize | public void writeSize(int size)(Code) | | |
writeType | public void writeType(int type)(Code) | | |
Methods inherited from org.hsqldb.rowio.RowOutputBase | public HsqlByteArrayOutputStream getOutputStream()(Code)(Java Doc) abstract protected void writeBigint(Number o)(Code)(Java Doc) abstract protected void writeBinary(Binary o, int t)(Code)(Java Doc) abstract protected void writeBit(Boolean o)(Code)(Java Doc) abstract protected void writeChar(String s, int t)(Code)(Java Doc) public void writeData(Object[] data, Table t)(Code)(Java Doc) public void writeData(int l, int[] types, Object[] data, HashMappedList cols, int[] primaryKeys)(Code)(Java Doc) abstract protected void writeDate(Date o)(Code)(Java Doc) abstract protected void writeDecimal(BigDecimal o)(Code)(Java Doc) abstract public void writeEnd()(Code)(Java Doc) protected void writeFieldPrefix()(Code)(Java Doc) abstract protected void writeFieldType(int type)(Code)(Java Doc) abstract public void writeIntData(int i)(Code)(Java Doc) abstract public void writeIntData(int i, int position)(Code)(Java Doc) abstract protected void writeInteger(Number o)(Code)(Java Doc) abstract protected void writeNull(int type)(Code)(Java Doc) abstract protected void writeOther(JavaObject o)(Code)(Java Doc) abstract protected void writeReal(Double o, int type)(Code)(Java Doc) public void writeRow(Object[] data, Table t)(Code)(Java Doc) abstract public void writeShortData(short i)(Code)(Java Doc) abstract public void writeSize(int size)(Code)(Java Doc) abstract protected void writeSmallint(Number o)(Code)(Java Doc) abstract public void writeString(String s)(Code)(Java Doc) abstract protected void writeTime(Time o)(Code)(Java Doc) abstract protected void writeTimestamp(Timestamp o)(Code)(Java Doc) abstract public void writeType(int type)(Code)(Java Doc)
|
|
|