ozone core API

org.ozoneDB.core.wizardStore
Class IDTableNodeLeaf

java.lang.Object
  |
  +--org.ozoneDB.DxLib.DxDiskHashNode
        |
        +--org.ozoneDB.DxLib.DxDiskHashNodeLeaf
              |
              +--org.ozoneDB.core.wizardStore.IDTableNodeLeaf
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

class IDTableNodeLeaf
extends DxDiskHashNodeLeaf
implements java.io.Externalizable

This extension of the DxDiskHashNodeLeaf class assumes that the key and data member of the stored DxKayData pairs are ObjectIDs. Thus is casts and writes them directly to the stream for better performance.


Field Summary
(package private) static long serialVersionUID
           
 
Fields inherited from class org.ozoneDB.DxLib.DxDiskHashNodeLeaf
element, grandParent
 
Constructor Summary
IDTableNodeLeaf(DxDiskHashMap _grandParent)
           
 
Method Summary
 void readExternal(java.io.ObjectInput in)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class org.ozoneDB.DxLib.DxDiskHashNodeLeaf
addForKey, element, elementForKey, empty, removeForKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

IDTableNodeLeaf

public IDTableNodeLeaf(DxDiskHashMap _grandParent)
Method Detail

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Overrides:
writeExternal in class DxDiskHashNodeLeaf
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Overrides:
readExternal in class DxDiskHashNodeLeaf
java.io.IOException
java.lang.ClassNotFoundException

ozone core API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.