|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.btree.PackedAddressSerializer
NodeSerializer by the IRabaCoder
public class PackedAddressSerializer
Packs the addresses using the IAddressManager for the backing
IRawStore.
| Field Summary | |
|---|---|
static IAddressSerializer |
INSTANCE
Deprecated. |
| Constructor Summary | |
|---|---|
PackedAddressSerializer()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
getChildAddresses(IAddressManager addressManager,
DataInput is,
long[] childAddr,
int nchildren)
Deprecated. De-serialize the child addresses for a node. |
void |
putChildAddresses(IAddressManager addressManager,
DataOutputBuffer os,
long[] childAddr,
int nchildren)
Deprecated. Serialize the child addresses for a node. |
void |
readExternal(ObjectInput arg0)
Deprecated. |
void |
writeExternal(ObjectOutput arg0)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final IAddressSerializer INSTANCE
| Constructor Detail |
|---|
public PackedAddressSerializer()
| Method Detail |
|---|
public void putChildAddresses(IAddressManager addressManager,
DataOutputBuffer os,
long[] childAddr,
int nchildren)
throws IOException
IAddressSerializer
putChildAddresses in interface IAddressSerializeros - The output stream.childAddr - The array of child addresses to be written.nchildren - The #of valid values in the array. The values in indices
[0:n-1] are defined and must be written.
IOException
public void getChildAddresses(IAddressManager addressManager,
DataInput is,
long[] childAddr,
int nchildren)
throws IOException
IAddressSerializer
getChildAddresses in interface IAddressSerializeris - The input stream.childAddr - The array into which the addresses must be written.nchildren - The #of valid values in the array. The values in indices
[0:n-1] are defined and must be read from the buffer and
written on the array.
IOException
public void readExternal(ObjectInput arg0)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput arg0)
throws IOException
writeExternal in interface ExternalizableIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||