|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityInput
Used for reading object fields.
Unlike TupleInput, Strings are returned by readObject()
when using
this class.
Method Summary | |
---|---|
com.sleepycat.persist.impl.Catalog |
getCatalog()
Returns the Catalog associated with this input. |
boolean |
isRawAccess()
Return whether this input is in raw mode, i.e., whether it is returning raw instances. |
int |
readArrayLength()
Called by ObjectArrayFormat and PrimitiveArrayFormat to read the array length. |
java.math.BigInteger |
readBigInteger()
|
boolean |
readBoolean()
|
byte |
readByte()
|
char |
readChar()
|
int |
readEnumConstant(java.lang.String[] names)
Called by EnumFormat to read and return index of the enum constant. |
int |
readInt()
|
java.lang.Object |
readKeyObject(Format format)
Called for a primary key field or a composite key field with a reference type. |
long |
readLong()
|
java.lang.Object |
readObject()
Called via Accessor to read all fields with reference types, except for the primary key field and composite key fields (see readKeyObject below). |
short |
readShort()
|
double |
readSortedDouble()
|
float |
readSortedFloat()
|
java.lang.String |
readString()
|
void |
registerPriKeyObject(java.lang.Object o)
Called via Accessor.readSecKeyFields for a primary key field with a reference type. |
boolean |
setRawAccess(boolean rawAccessParam)
Changes raw mode and returns the original mode, which is normally restored later. |
void |
skipField(Format declaredFormat)
Called via PersistKeyCreator to skip fields prior to the secondary key field. |
Method Detail |
---|
com.sleepycat.persist.impl.Catalog getCatalog()
boolean isRawAccess()
boolean setRawAccess(boolean rawAccessParam)
java.lang.Object readObject()
java.lang.Object readKeyObject(Format format)
For such key fields, no formatId is present nor can the object already be present in the visited object set.
void registerPriKeyObject(java.lang.Object o)
int readArrayLength()
int readEnumConstant(java.lang.String[] names)
void skipField(Format declaredFormat)
java.lang.String readString()
char readChar()
boolean readBoolean()
byte readByte()
short readShort()
int readInt()
long readLong()
float readSortedFloat()
double readSortedDouble()
java.math.BigInteger readBigInteger()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |