| com.sleepycat.persist.impl.EntityInput
All known Subclasses: com.sleepycat.persist.impl.RecordInput, com.sleepycat.persist.impl.AbstractInput,
EntityInput | public interface EntityInput (Code) | | Used for reading object fields.
Unlike TupleInput, Strings are returned by
EntityInput.readObject when using
this class.
author: Mark Hayes |
getCatalog | Catalog getCatalog()(Code) | | Returns the Catalog associated with this input.
|
isRawAccess | boolean isRawAccess()(Code) | | Return whether this input is in raw mode, i.e., whether it is returning
raw instances.
|
readArrayLength | int readArrayLength()(Code) | | Called by ObjectArrayFormat and PrimitiveArrayFormat to read the array
length.
|
readBoolean | boolean readBoolean()(Code) | | |
readByte | byte readByte()(Code) | | |
readChar | char readChar()(Code) | | |
readEnumConstant | int readEnumConstant(String[] names)(Code) | | Called by EnumFormat to read and return index of the enum constant.
|
readKeyObject | Object readKeyObject(Format format)(Code) | | Called for a primary key field or a composite key field with a reference
type.
For such key fields, no formatId is present nor can the object
already be present in the visited object set.
|
readLong | long readLong()(Code) | | |
readObject | Object readObject()(Code) | | Called via Accessor to read all fields with reference types, except for
the primary key field and composite key fields (see readKeyObject
below).
|
readShort | short readShort()(Code) | | |
readSortedDouble | double readSortedDouble()(Code) | | |
readSortedFloat | float readSortedFloat()(Code) | | |
registerPriKeyObject | void registerPriKeyObject(Object o)(Code) | | Called via Accessor.readSecKeyFields for a primary key field with a
reference type. This method must be called before reading any other
fields.
|
setRawAccess | boolean setRawAccess(boolean rawAccessParam)(Code) | | Changes raw mode and returns the original mode, which is normally
restored later. For temporarily changing the mode during a conversion.
|
skipField | void skipField(Format declaredFormat)(Code) | | Called via PersistKeyCreator to skip fields prior to the secondary key
field. Also called during class evolution so skip deleted fields.
|
|
|