public static class SimpleFormat.FByte extends SimpleFormat
SimpleFormat.FBigInt, SimpleFormat.FBool, SimpleFormat.FByte, SimpleFormat.FChar, SimpleFormat.FDate, SimpleFormat.FDouble, SimpleFormat.FFloat, SimpleFormat.FInt, SimpleFormat.FLong, SimpleFormat.FShort, SimpleFormat.FStringID_BIGDEC, ID_BIGINT, ID_BOOL, ID_BOOL_W, ID_BYTE, ID_BYTE_W, ID_CHAR, ID_CHAR_W, ID_DATE, ID_DOUBLE, ID_DOUBLE_W, ID_FLOAT, ID_FLOAT_W, ID_INT, ID_INT_W, ID_LONG, ID_LONG_W, ID_NULL, ID_NUMBER, ID_OBJECT, ID_PREDEFINED, ID_SHORT, ID_SHORT_W, ID_SIMPLE_MAX, ID_SIMPLE_MIN, ID_STRING| Constructor and Description |
|---|
SimpleFormat.FByte(boolean primitive) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
copySecKey(RecordInput input,
RecordOutput output)
Called after skipToSecKey() to copy the data bytes of a singular
(XXX_TO_ONE) key field.
|
(package private) int |
getPrimitiveLength() |
(package private) Format |
getSequenceKeyFormat()
Validates and returns the simple integer key format for a sequence key
associated with this format.
|
(package private) java.lang.Object |
newArray(int len)
Creates an array of the format's class of the given length, as if
Array.newInstance(getType(), len) were called.
|
java.lang.Object |
newInstance(EntityInput input,
boolean rawAccess)
Creates a new instance of the target class using its default
constructor.
|
(package private) java.lang.Object |
newPrimitiveArray(int len,
EntityInput input) |
(package private) void |
readPrimitiveField(java.lang.Object o,
EntityInput input,
java.lang.reflect.Field field) |
(package private) void |
skipContents(RecordInput input)
Skips over the object's contents, as if readObject() were called, but
without returning an object.
|
(package private) void |
writeObject(java.lang.Object o,
EntityOutput output,
boolean rawAccess)
Writes a given instance of the target class to the output data bytes.
|
(package private) void |
writePrimitiveArray(java.lang.Object o,
EntityOutput output) |
(package private) void |
writePrimitiveField(java.lang.Object o,
EntityOutput output,
java.lang.reflect.Field field) |
collectRelatedFormats, copySecMultiKeyPrimitiveArray, evolve, getWrapperFormat, initialize, isPrimitive, isSimple, readObject, setWrapperFormat, skipPrimitiveArrayareNestedRefsProhibited, convertRawObject, copySecMultiKey, evolveMetadata, getCatalog, getClassMetadata, getClassName, getComponentType, getDimensions, getEntityFormat, getEntityMetadata, getEnumConstants, getEvolveNeeded, getExistingType, getFields, getId, getLatestVersion, getPreviousVersion, getProxiedFormat, getReader, getSuperFormat, getSuperType, getType, getVersion, initializeIfNeeded, initializeReader, isArray, isAssignableTo, isCurrentVersion, isDeleted, isEntity, isEnum, isInitialized, isModelClass, isNew, isPredefined, isPriKeyNullOrZero, isSameClass, migrateFromBeta, nullifySecKey, readPriKey, setDeleted, setEvolveNeeded, setId, setLatestVersion, setProxiedFormat, setReader, setSuperFormat, setUnused, skipToSecKey, toString, writePriKeyjava.lang.Object newArray(int len)
Formatpublic java.lang.Object newInstance(EntityInput input, boolean rawAccess)
FormatnewInstance in interface ReadernewInstance in class Formatvoid writeObject(java.lang.Object o,
EntityOutput output,
boolean rawAccess)
FormatwriteObject in class Formatvoid skipContents(RecordInput input)
FormatskipContents in class Formatvoid copySecKey(RecordInput input, RecordOutput output)
FormatcopySecKey in class Formatjava.lang.Object newPrimitiveArray(int len,
EntityInput input)
newPrimitiveArray in class SimpleFormatvoid writePrimitiveArray(java.lang.Object o,
EntityOutput output)
writePrimitiveArray in class SimpleFormatint getPrimitiveLength()
getPrimitiveLength in class SimpleFormatvoid readPrimitiveField(java.lang.Object o,
EntityInput input,
java.lang.reflect.Field field)
throws java.lang.IllegalAccessException
readPrimitiveField in class SimpleFormatjava.lang.IllegalAccessExceptionvoid writePrimitiveField(java.lang.Object o,
EntityOutput output,
java.lang.reflect.Field field)
throws java.lang.IllegalAccessException
writePrimitiveField in class SimpleFormatjava.lang.IllegalAccessExceptionFormat getSequenceKeyFormat()
FormatgetSequenceKeyFormat in class FormatCopyright (c) 2004,2008 Oracle. All rights reserved.