abstract class RawAbstractInput extends AbstractInput
catalog, rawAccess| Constructor and Description |
|---|
RawAbstractInput(Catalog catalog,
boolean rawAccess,
java.util.IdentityHashMap converted) |
| Modifier and Type | Method and Description |
|---|---|
(package private) java.lang.Object |
checkAndConvert(java.lang.Object o,
Format declaredFormat) |
(package private) static Format |
checkRawType(Catalog catalog,
java.lang.Object o,
Format declaredFormat) |
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() |
(package private) abstract java.lang.Object |
readNext() |
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.
|
void |
skipField(Format declaredFormat)
Called via PersistKeyCreator to skip fields prior to the secondary key
field.
|
getCatalog, isRawAccess, setRawAccessRawAbstractInput(Catalog catalog, boolean rawAccess, java.util.IdentityHashMap converted)
public java.lang.Object readObject()
EntityInputpublic java.lang.Object readKeyObject(Format format)
EntityInputFor such key fields, no formatId is present nor can the object already be present in the visited object set.
public void registerPriKeyObject(java.lang.Object o)
EntityInputpublic int readArrayLength()
EntityInputpublic int readEnumConstant(java.lang.String[] names)
EntityInputpublic void skipField(Format declaredFormat)
EntityInputabstract java.lang.Object readNext()
java.lang.Object checkAndConvert(java.lang.Object o,
Format declaredFormat)
public java.lang.String readString()
public char readChar()
public boolean readBoolean()
public byte readByte()
public short readShort()
public int readInt()
public long readLong()
public float readSortedFloat()
public double readSortedDouble()
public java.math.BigInteger readBigInteger()
Copyright (c) 2004,2008 Oracle. All rights reserved.