Class NodeInfo
- java.lang.Object
-
- org.apache.jackrabbit.core.persistence.util.NodeInfo
-
public final class NodeInfo extends Object
Holds structural information about a node. Used by the consistency checker and garbage collector.
-
-
Constructor Summary
Constructors Constructor Description NodeInfo(NodePropBundle bundle)
Create a new NodeInfo object from a bundle
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
clearPool()
Clear the NodeId pool.List<NodeId>
getChildren()
NodeId
getId()
NodeId
getParentId()
Map<Name,List<NodeId>>
getReferences()
boolean
hasBlobsInDataStore()
boolean
isReferenceable()
-
-
-
Constructor Detail
-
NodeInfo
public NodeInfo(NodePropBundle bundle)
Create a new NodeInfo object from a bundle- Parameters:
bundle
- the node bundle
-
-
Method Detail
-
getId
public NodeId getId()
- Returns:
- the node id of this node
-
getParentId
public NodeId getParentId()
- Returns:
- the parent id of this node
-
getReferences
public Map<Name,List<NodeId>> getReferences()
- Returns:
- the reference properties along with their node id values of this node
-
isReferenceable
public boolean isReferenceable()
- Returns:
- whether the node represented by this node info is referenceable
-
hasBlobsInDataStore
public boolean hasBlobsInDataStore()
- Returns:
- whether the node has blob properties that are inside the data storage
-
clearPool
public static void clearPool()
Clear the NodeId pool.
-
-