abstract class RawAbstractInput extends AbstractInput
catalog, rawAccess
Constructor and Description |
---|
RawAbstractInput(Catalog catalog,
boolean rawAccess,
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() |
java.math.BigDecimal |
readSortedBigDecimal() |
double |
readSortedDouble() |
float |
readSortedFloat() |
java.lang.String |
readString() |
java.lang.Object |
readStringObject()
Called for a String field, that is not a primary key field or a
composite key field with a reference type.
|
void |
registerPriKeyObject(java.lang.Object o)
Called via Accessor.readSecKeyFields for a primary key field with a
reference type.
|
void |
registerPriStringKeyObject(java.lang.Object o)
Called via Accessor.readSecKeyFields for a primary String key field.
|
void |
skipField(Format declaredFormat)
Called via PersistKeyCreator to skip fields prior to the secondary key
field.
|
getCatalog, isRawAccess, setRawAccess
RawAbstractInput(Catalog catalog, boolean rawAccess, IdentityHashMap converted)
public java.lang.Object readObject() throws RefreshException
EntityInput
RefreshException
public java.lang.Object readKeyObject(Format format) throws RefreshException
EntityInput
For such key fields, no formatId is present nor can the object already be present in the visited object set.
RefreshException
public java.lang.Object readStringObject() throws RefreshException
EntityInput
For the new String format, no formatId is present nor can the object already be present in the visited object set. For the old String format, this method simply calls readObject for compatibility.
RefreshException
public void registerPriKeyObject(java.lang.Object o)
EntityInput
public void registerPriStringKeyObject(java.lang.Object o)
EntityInput
public int readArrayLength()
EntityInput
public int readEnumConstant(java.lang.String[] names)
EntityInput
public void skipField(Format declaredFormat)
EntityInput
abstract java.lang.Object readNext() throws RefreshException
RefreshException
java.lang.Object checkAndConvert(java.lang.Object o, Format declaredFormat) throws RefreshException
RefreshException
static Format checkRawType(Catalog catalog, java.lang.Object o, Format declaredFormat) throws RefreshException
RefreshException
public java.lang.String readString() throws RefreshException
RefreshException
public char readChar() throws RefreshException
RefreshException
public boolean readBoolean() throws RefreshException
RefreshException
public byte readByte() throws RefreshException
RefreshException
public short readShort() throws RefreshException
RefreshException
public int readInt() throws RefreshException
RefreshException
public long readLong() throws RefreshException
RefreshException
public float readSortedFloat() throws RefreshException
RefreshException
public double readSortedDouble() throws RefreshException
RefreshException
public java.math.BigDecimal readSortedBigDecimal() throws RefreshException
RefreshException
public java.math.BigInteger readBigInteger() throws RefreshException
RefreshException
Copyright (c) 2004-2012 Oracle. All rights reserved.