link start!
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package org.hsqldb.rowio;
|
||||
|
||||
import java.io.IOException;
|
||||
import org.hsqldb.types.Type;
|
||||
|
||||
public interface RowInputInterface {
|
||||
byte[] getBuffer();
|
||||
|
||||
int getPos();
|
||||
|
||||
int getSize();
|
||||
|
||||
Object[] readData(Type[] typeArr) throws IOException;
|
||||
|
||||
int readInt() throws IOException;
|
||||
|
||||
long readLong() throws IOException;
|
||||
|
||||
short readShort() throws IOException;
|
||||
|
||||
String readString() throws IOException;
|
||||
|
||||
int readType() throws IOException;
|
||||
|
||||
void resetRow(int i, int i2) throws IOException;
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
package org.hsqldb.rowio;
|
||||
|
||||
import org.hsqldb.Row;
|
||||
import org.hsqldb.lib.HashMappedList;
|
||||
import org.hsqldb.lib.HsqlByteArrayOutputStream;
|
||||
import org.hsqldb.types.Type;
|
||||
|
||||
public interface RowOutputInterface extends Cloneable {
|
||||
RowOutputInterface duplicate();
|
||||
|
||||
HsqlByteArrayOutputStream getOutputStream();
|
||||
|
||||
int getSize(Row row);
|
||||
|
||||
int getStorageSize(int i);
|
||||
|
||||
void reset();
|
||||
|
||||
void setBuffer(byte[] bArr);
|
||||
|
||||
int size();
|
||||
|
||||
void writeByte(int i);
|
||||
|
||||
void writeData(int i, Type[] typeArr, Object[] objArr, HashMappedList hashMappedList, int[] iArr);
|
||||
|
||||
void writeData(Row row, Type[] typeArr);
|
||||
|
||||
void writeEnd();
|
||||
|
||||
void writeInt(int i);
|
||||
|
||||
void writeIntData(int i, int i2);
|
||||
|
||||
void writeLong(long j);
|
||||
|
||||
void writeShort(int i);
|
||||
|
||||
void writeSize(int i);
|
||||
|
||||
void writeString(String str);
|
||||
|
||||
void writeType(int i);
|
||||
}
|
||||
Reference in New Issue
Block a user