Class Table<ROW extends Row>
java.lang.Object
javaforce.io.SerialObject
javaforce.db.Table<ROW>
Deprecated.
Tables store Row's in memory for fast access.
- Author:
- pquiring
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringDeprecated.intDeprecated.Deprecated.intDeprecated.Fields inherited from class SerialObject
dis, dos, id_1, id_2, id_4, id_8, id_array, id_end, id_len, java_magic, javaforce_magicModifier and TypeFieldDescriptionDeprecated.Deprecated.static final shortDeprecated.static final shortDeprecated.static final shortDeprecated.static final shortDeprecated.static final shortDeprecated.static final shortDeprecated.static final shortDeprecated.static final shortDeprecated.static final shortDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidclear()Deprecated.get(int id) Deprecated.intgetCount()Deprecated.intgetMaxId()Deprecated.intgetMinId()Deprecated.intDeprecated.booleanDeprecated.getRows()Deprecated.booleanDeprecated.voidDeprecated.voidremove(int id) Deprecated.booleansave()Deprecated.voidsetMaxId(int id) Deprecated.voidsetMinId(int id) Deprecated.voidsetReuseIds(boolean state) Deprecated.voidDeprecated.Methods inherited from class SerialObject
isJavaSerialObject, isJavaSerialObject, readBoolean, readByte, readBytes, readChar, readDouble, readFloat, readInit, readInit, readInt, readLong, readShort, readString, skipChunk, writeBoolean, writeByte, writeBytes, writeChar, writeDouble, writeFloat, writeInit, writeInit, writeInt, writeLong, writeShort, writeStringModifier and TypeMethodDescriptionstatic booleanDeprecated.static booleanisJavaSerialObject(String file) Deprecated.booleanDeprecated.bytereadByte()Deprecated.byte[]Deprecated.charreadChar()Deprecated.doubleDeprecated.floatDeprecated.voidreadInit(DataInputStream dis) Deprecated.voidreadInit(SerialObject so) Deprecated.intreadInt()Deprecated.longreadLong()Deprecated.shortDeprecated.Deprecated.voidskipChunk(short id) Deprecated.voidwriteBoolean(boolean value) Deprecated.voidwriteByte(byte value) Deprecated.voidwriteBytes(byte[] bytes) Deprecated.voidwriteChar(char value) Deprecated.voidwriteDouble(double value) Deprecated.voidwriteFloat(float value) Deprecated.voidDeprecated.voidDeprecated.voidwriteInt(int value) Deprecated.voidwriteLong(long value) Deprecated.voidwriteShort(short value) Deprecated.voidwriteString(String value) Deprecated.
-
Field Details
-
id
public int idDeprecated. -
name
Deprecated. -
xid
public int xidDeprecated. -
filename
Deprecated.
-
-
Constructor Details
-
Table
Deprecated.
-
-
Method Details
-
load
Deprecated. -
save
public boolean save()Deprecated. -
add
Deprecated. -
get
Deprecated. -
remove
public void remove(int id) Deprecated. -
clear
public void clear()Deprecated. -
getRows
-
getCount
public int getCount()Deprecated. -
getMinId
public int getMinId()Deprecated. -
getMaxId
public int getMaxId()Deprecated. -
getNextId
public int getNextId()Deprecated. -
setMinId
public void setMinId(int id) Deprecated. -
setMaxId
public void setMaxId(int id) Deprecated. -
getReuseIds
public boolean getReuseIds()Deprecated. -
setReuseIds
public void setReuseIds(boolean state) Deprecated. -
readObject
Deprecated.- Specified by:
readObjectin classSerialObject- Throws:
Exception
-
writeObject
Deprecated.- Specified by:
writeObjectin classSerialObject- Throws:
Exception
-