1 30 31 32 package org.hsqldb.rowio; 33 34 import org.hsqldb.CachedRow; 35 import org.hsqldb.Table; 36 import org.hsqldb.lib.HashMappedList; 37 import org.hsqldb.lib.HsqlByteArrayOutputStream; 38 39 47 public interface RowOutputInterface { 48 49 void writeEnd(); 50 51 void writeSize(int size); 52 53 void writeType(int type); 54 55 void writeString(String value); 56 57 void writeShortData(short i); 58 59 void writeIntData(int i); 60 61 void writeIntData(int i, int position); 62 63 void writeLongData(long i); 64 65 void writeRow(Object [] data, Table t); 66 67 void writeData(Object [] data, Table t); 68 69 void writeData(int l, int[] types, Object [] data, HashMappedList cols, 70 int[] primarykeys); 71 72 int getSize(CachedRow row); 74 75 HsqlByteArrayOutputStream getOutputStream(); 77 78 void reset(); 80 81 int size(); 83 } 84 | Popular Tags |