Constructor and Description |
---|
NamespaceNode(NodeDelegate pDel,
NameNodeDelegate pNameDel)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getDataKey()
Gets unique
IData key. |
com.google.common.hash.Funnel<IData> |
getFunnel()
Getting a Funnel for computing guava-based hashes.
|
long |
getHash()
Getting the persisted hash value for this node.
|
int |
getKind()
Gets the kind of the item (atomic value, element node, attribute
node....).
|
int |
getNameKey()
Gets key of qualified name.
|
long |
getParentKey()
Gets key of the context item's parent.
|
int |
getTypeKey()
Gets value type of the item.
|
int |
getURIKey()
Gets key of the URI.
|
int |
hashCode() |
boolean |
hasParent()
Declares, whether the item has a parent.
|
void |
serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
setHash(long pHash)
Setting the hash of this node including substructure.
|
void |
setNameKey(int pNameKey)
Setting the name key.
|
void |
setParentKey(long pKey)
Setting the parent key.
|
void |
setTypeKey(int pTypeKey)
Setting the type key.
|
void |
setURIKey(int pUriKey)
Setting the uri key.
|
String |
toString() |
public NamespaceNode(NodeDelegate pDel, NameNodeDelegate pNameDel)
pDel
- delegate of node propertiespNameDel
- delegate for name propertiespublic int getKind()
public int getNameKey()
getNameKey
in interface INameNode
public void setNameKey(int pNameKey)
setNameKey
in interface INameNode
pNameKey
- the namekey to be set.public int getURIKey()
public void setURIKey(int pUriKey)
public void setHash(long pHash)
public long getHash()
public long getDataKey()
IData
key.
This key should be set over the IBucketWriteTrx.incrementDataKey
for getting the correct
offset
within retrievals.getDataKey
in interface IData
public long getParentKey()
getParentKey
in interface INode
public boolean hasParent()
public int getTypeKey()
getTypeKey
in interface INode
public void setParentKey(long pKey)
setParentKey
in interface INode
pKey
- the parent to be set.public void setTypeKey(int pTypeKey)
setTypeKey
in interface INode
pTypeKey
- the type to be set.public void serialize(DataOutput pOutput) throws TTIOException
serialize
in interface IData
pOutput
- to serialize toTTIOException
public com.google.common.hash.Funnel<IData> getFunnel()
IData
Copyright © 2013. All Rights Reserved.