class RecordOutput extends TupleOutput implements EntityOutput
DEFAULT_BUMP_SIZE, DEFAULT_INIT_SIZE| Constructor and Description |
|---|
RecordOutput(Catalog catalog,
boolean rawAccess)
Creates a new output with an empty/null visited map.
|
| Modifier and Type | Method and Description |
|---|---|
void |
registerPriKeyObject(java.lang.Object o)
Called via Accessor.writeSecKeyFields for a primary key field with a
reference type.
|
void |
writeArrayLength(int length)
Called by ObjectArrayFormat and PrimitiveArrayFormat to write the array
length.
|
void |
writeEnumConstant(java.lang.String[] names,
int index)
Called by EnumFormat to write the given index of the enum constant.
|
void |
writeKeyObject(java.lang.Object o,
Format fieldFormat)
Called for a primary key field or composite key field with a reference
type.
|
void |
writeObject(java.lang.Object o,
Format fieldFormat)
Called via Accessor to write all fields with reference types, except for
the primary key field and composite key fields (see writeKeyObject
below).
|
getBigIntegerByteLength, writeBigInteger, writeBoolean, writeByte, writeBytes, writeBytes, writeChar, writeChars, writeChars, writeDouble, writeFloat, writeInt, writeLong, writePackedInt, writePackedLong, writeShort, writeSortedDouble, writeSortedFloat, writeString, writeString, writeUnsignedByte, writeUnsignedInt, writeUnsignedShortaddSize, getBufferBytes, getBufferLength, getBufferOffset, makeSpace, reset, size, toByteArray, toString, toString, write, write, write, writeFast, writeFast, writeFast, writeToclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitwriteBigInteger, writeBoolean, writeByte, writeChar, writeInt, writeLong, writeShort, writeSortedDouble, writeSortedFloat, writeStringRecordOutput(Catalog catalog, boolean rawAccess)
public void writeObject(java.lang.Object o,
Format fieldFormat)
EntityOutputwriteObject in interface EntityOutputEntityInput#writeObjectpublic void writeKeyObject(java.lang.Object o,
Format fieldFormat)
EntityOutputwriteKeyObject in interface EntityOutputEntityInput#writeKeyObjectpublic void registerPriKeyObject(java.lang.Object o)
EntityOutputregisterPriKeyObject in interface EntityOutputEntityInput.registerPriKeyObject(java.lang.Object)public void writeArrayLength(int length)
EntityOutputwriteArrayLength in interface EntityOutputEntityInput#writeArrayLengthpublic void writeEnumConstant(java.lang.String[] names,
int index)
EntityOutputwriteEnumConstant in interface EntityOutputEntityInput#writeEnumConstantCopyright (c) 2004,2008 Oracle. All rights reserved.