|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectiitb.con.indexing.isam.NonLeafNode
public class NonLeafNode
Non-Leaf Node of the index tree. A non-leaf node consists of the key with respective pointers (block id) of leaf nodes.
| Field Summary | |
|---|---|
short |
BlockId
Block id of leaf node |
java.lang.Object |
value
Key for the non-leaf node |
| Constructor Summary | |
|---|---|
NonLeafNode()
|
|
NonLeafNode(java.lang.Object value)
|
|
NonLeafNode(java.lang.Object value,
short BlockId)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
attributeDeSerialize(java.nio.ByteBuffer buf,
java.lang.Object name)
Deserializes the specified attribute to object value |
NonLeafNode |
deSerialize(java.nio.ByteBuffer buf)
Deserializes the given bytes into non-leaf node. |
java.nio.ByteBuffer |
serialize(NonLeafNode node)
Serializes into bytes of the given non-leaf node. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public short BlockId
public java.lang.Object value
| Constructor Detail |
|---|
public NonLeafNode()
public NonLeafNode(java.lang.Object value)
public NonLeafNode(java.lang.Object value,
short BlockId)
| Method Detail |
|---|
public java.lang.Object attributeDeSerialize(java.nio.ByteBuffer buf,
java.lang.Object name)
attributeDeSerialize in interface ItemSerializer<NonLeafNode>buf - bytes as ByteBuffername - attribute name
public NonLeafNode deSerialize(java.nio.ByteBuffer buf)
deSerialize in interface ItemSerializer<NonLeafNode>buf - bytes as ByteBuffer
NonLeafNodepublic java.nio.ByteBuffer serialize(NonLeafNode node)
Format {[Key] : [Block Id]}
serialize in interface ItemSerializer<NonLeafNode>node - non-leaf node - NonLeafNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||