Uses of Class
com.ensoftcorp.open.commons.sandbox.SandboxNode
-
Packages that use SandboxNode Package Description com.ensoftcorp.open.commons.sandbox -
-
Uses of SandboxNode in com.ensoftcorp.open.commons.sandbox
Methods in com.ensoftcorp.open.commons.sandbox that return SandboxNode Modifier and Type Method Description SandboxNode
Sandbox. addNode(com.ensoftcorp.atlas.core.db.graph.Node node)
SandboxNode
Sandbox. createNode()
Creates a new sandbox node This node does not affect the Atlas universeSandboxNode
SandboxEdge. from()
Returns the node this edge is directed fromSandboxNode
SandboxEdge. getNode(com.ensoftcorp.atlas.core.db.graph.GraphElement.EdgeDirection direction)
Returns the node corresponding to the given directionSandboxNode
Sandbox. node(com.ensoftcorp.atlas.core.db.graph.Node node)
Returns a node from the sandbox corresponding to the Atlas node, if it already exists in the sandbox.SandboxNode
SandboxEdge. to()
Returns the node this edge is directed toMethods in com.ensoftcorp.open.commons.sandbox that return types with arguments of type SandboxNode Modifier and Type Method Description SandboxHashSet<SandboxNode>
Sandbox. addNodes(com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> nodes)
Adds the current state of the given nodes in the Atlas graph to the sandboxSandboxHashSet<SandboxNode>
Sandbox. emptyNodeSet()
Returns an empty sandbox node setSandboxHashSet<SandboxNode>
SandboxGraph. leaves()
Selects the nodes of this graph that have no successors Convenience for limit(NodeDirection.OUT)SandboxHashSet<SandboxNode>
SandboxGraph. limit(com.ensoftcorp.atlas.core.db.graph.GraphElement.NodeDirection direction)
Returns the nodes in the graph without edges from the given directionSandboxHashSet<SandboxNode>
Sandbox. nodes(com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> nodes)
Returns a set of sandbox nodes contained in the sandbox universe corresponding to the given set Atlas graph nodes.SandboxHashSet<SandboxNode>
SandboxGraph. nodes()
Returns the nodes of this graphSandboxHashSet<SandboxNode>
SandboxGraph. nodes(java.lang.String... tags)
A convenience method for nodes(String...SandboxHashSet<SandboxNode>
SandboxGraph. nodesTaggedWithAll(java.lang.String... tags)
Returns the set of nodes from this graph that are tagged with any of the given tagsSandboxHashSet<SandboxNode>
SandboxGraph. nodesTaggedWithAny(java.lang.String... tags)
Returns the set of nodes from this graph that are tagged with all of the given tagsSandboxHashSet<SandboxNode>
SandboxGraph. predecessors(SandboxNode node)
Gets the predecessor nodes of the given node for this graph's edgesSandboxHashSet<SandboxNode>
SandboxGraph. roots()
Selects the nodes of this graph that have no predecessors Convenience for limit(NodeDirection.IN)SandboxHashSet<SandboxNode>
SandboxGraph. successors(SandboxNode node)
Gets the successor nodes of the given node for this graph's edgesMethods in com.ensoftcorp.open.commons.sandbox with parameters of type SandboxNode Modifier and Type Method Description SandboxGraph
SandboxGraph. between(SandboxNode from, SandboxNode to)
From this graph, selects the subgraph such that the given nodes in to are reachable from the nodes in from using forward traversal.SandboxGraph
SandboxGraph. betweenStep(SandboxNode from, SandboxNode to)
From this graph, selects the subgraph such that the given nodes in to are reachable from the nodes in from in a single stepSandboxEdge
Sandbox. createEdge(SandboxNode fromNode, SandboxNode toNode)
Creates a new sandbox edge This edge does not affect the Atlas universeSandboxHashSet<SandboxEdge>
SandboxGraph. edges(SandboxNode node, com.ensoftcorp.atlas.core.db.graph.GraphElement.NodeDirection direction)
Gets the node's predecessor or successor edges in this graphSandboxGraph
SandboxGraph. forward(SandboxNode origin)
From this graph, selects the subgraph reachable from the given nodes using forward transitive traversal.SandboxGraph
SandboxGraph. forwardStep(SandboxNode origin)
From this graph, selects the subgraph reachable from the given nodes along a path length of 1 in the forward direction.SandboxHashSet<SandboxNode>
SandboxGraph. predecessors(SandboxNode node)
Gets the predecessor nodes of the given node for this graph's edgesSandboxGraph
SandboxGraph. reverse(SandboxNode origin)
From this graph, selects the subgraph reachable from the given nodes using reverse transitive traversal.SandboxGraph
SandboxGraph. reverseStep(SandboxNode origin)
From this graph, selects the subgraph reachable from the given nodes along a path length of 1 in the reverse direction.SandboxHashSet<SandboxNode>
SandboxGraph. successors(SandboxNode node)
Gets the successor nodes of the given node for this graph's edgesMethod parameters in com.ensoftcorp.open.commons.sandbox with type arguments of type SandboxNode Modifier and Type Method Description SandboxGraph
SandboxGraph. between(SandboxHashSet<SandboxNode> from, SandboxHashSet<SandboxNode> to)
From this graph, selects the subgraph such that the given nodes in to are reachable from the nodes in from using forward traversal.SandboxGraph
SandboxGraph. betweenStep(SandboxHashSet<SandboxNode> from, SandboxHashSet<SandboxNode> to)
From this graph, selects the subgraph such that the given nodes in to are reachable from the nodes in from in a single stepSandboxGraph
SandboxGraph. forward(SandboxHashSet<SandboxNode> origin)
From this graph, selects the subgraph reachable from the given nodes using forward transitive traversal.SandboxGraph
SandboxGraph. forwardStep(SandboxHashSet<SandboxNode> origin)
From this graph, selects the subgraph reachable from the given nodes along a path length of 1 in the forward direction.SandboxGraph
SandboxGraph. reverse(SandboxHashSet<SandboxNode> origin)
From this graph, selects the subgraph reachable from the given nodes using reverse transitive traversal.SandboxGraph
SandboxGraph. reverseStep(SandboxHashSet<SandboxNode> origin)
From this graph, selects the subgraph reachable from the given nodes along a path length of 1 in the reverse direction.SandboxGraph
Sandbox. toGraph(SandboxHashSet<SandboxNode> nodes, SandboxHashSet<SandboxEdge> edges)
Converts the given graph elements into a sandbox graphConstructors in com.ensoftcorp.open.commons.sandbox with parameters of type SandboxNode Constructor Description SandboxEdge(int sandboxInstanceID, com.ensoftcorp.atlas.core.db.graph.Edge edge, SandboxNode from, SandboxNode to)
Constructs a mirrored sandbox edge of the given Atlas edgeSandboxEdge(int sandboxInstanceID, java.lang.String address, SandboxNode from, SandboxNode to)
Constructs a new SandboxEdge directed from the "from" node to the "to" node
-