Package io.datarouter.storage.node
Class NodeTool
java.lang.Object
io.datarouter.storage.node.NodeTool
public class NodeTool extends Object
-
Constructor Summary
Constructors Constructor Description NodeTool() -
Method Summary
Modifier and Type Method Description static voidaddNodeAndDescendants(List<Node<?,?,?>> nodes, Node<?,?,?> parent)static <PK extends io.datarouter.model.key.primary.PrimaryKey<PK>, D extends io.datarouter.model.databean.Databean<PK, D>, F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK, D>>
PhysicalNode<PK,D,F>extractSinglePhysicalNode(Node<PK,D,F> node)static List<Node<?,?,?>>getNodeAndDescendants(Node<?,?,?> parent)static Node<?,?,?>getUnderlyingNode(Node<?,?,?> node)
-
Constructor Details
-
NodeTool
public NodeTool()
-
-
Method Details
-
extractSinglePhysicalNode
public static <PK extends io.datarouter.model.key.primary.PrimaryKey<PK>, D extends io.datarouter.model.databean.Databean<PK, D>, F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK, D>> PhysicalNode<PK,D,F> extractSinglePhysicalNode(Node<PK,D,F> node) -
getNodeAndDescendants
-
addNodeAndDescendants
-
getUnderlyingNode
-