Constructor and Description |
---|
ValNodeDelegate(NodeDelegate pNodeDel,
byte[] pVal)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getDataKey()
Delegate method for getNodeKey.
|
com.google.common.hash.Funnel<IData> |
getFunnel()
Getting a Funnel for computing guava-based hashes.
|
int |
getKind()
Delegate method for getKind.
|
long |
getParentKey()
Delegate method for getParentKey.
|
byte[] |
getRawValue()
Return a byte array representation of the item's value.
|
int |
getTypeKey()
Delegate method for getTypeKey.
|
int |
hashCode() |
boolean |
hasParent()
Delegate method for hasParent.
|
void |
serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
setParentKey(long pParentKey)
Delegate method for setParentKey.
|
void |
setTypeKey(int pTypeKey)
Delegate method for setTypeKey.
|
void |
setValue(byte[] pVal)
Setting the value key.
|
String |
toString() |
public ValNodeDelegate(NodeDelegate pNodeDel, byte[] pVal)
pNodeDel
- the common data.pVal
- the own value.public int getKind()
NodeDelegate.getKind()
public long getDataKey()
getDataKey
in interface IData
NodeDelegate.getDataKey()
public long getParentKey()
NodeDelegate.getParentKey()
public void setParentKey(long pParentKey)
pParentKey
- NodeDelegate.setParentKey(long)
public int getTypeKey()
NodeDelegate.getTypeKey()
public void setTypeKey(int pTypeKey)
pTypeKey
- NodeDelegate.setTypeKey(int)
public boolean hasParent()
NodeDelegate.hasParent()
public byte[] getRawValue()
getRawValue
in interface IValNode
public void setValue(byte[] pVal)
public void serialize(DataOutput pOutput) throws TTIOException
serialize
in interface IData
pOutput
- to serialize toTTIOException
Copyright © 2013. All Rights Reserved.