|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.btree.AddressSerializer
NodeSerializer by the IRabaCoder
public class AddressSerializer
Serializes each address as a long integer and does not attempt to pack or compress the addresses.
| Field Summary | |
|---|---|
static IAddressSerializer |
INSTANCE
Deprecated. |
| Constructor Summary | |
|---|---|
AddressSerializer()
Deprecated. De-serialization ctor. |
|
| 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 AddressSerializer()
| 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 | |||||||||