public class ExternalProcNodeFilter extends java.lang.Object implements GraphNodeFilter
PatternEngine
via the graph-node-filter
configuration parameter. It provides a way of filtering the external-procedure nodes, to be
walked by a callgraph-mode PatternEngine
instance.Constructor and Description |
---|
ExternalProcNodeFilter() |
Modifier and Type | Method and Description |
---|---|
org.apache.tinkerpop.gremlin.structure.Vertex |
acceptNode(long id)
If the given node is an external procedure, load it and return it.
|
boolean |
acceptNode(org.apache.tinkerpop.gremlin.structure.Vertex node)
Check if the given node is an external procedure.
|
public boolean acceptNode(org.apache.tinkerpop.gremlin.structure.Vertex node)
acceptNode
in interface GraphNodeFilter
node
- The graph node.true
if the node can be walked.public org.apache.tinkerpop.gremlin.structure.Vertex acceptNode(long id)
null
.acceptNode
in interface GraphNodeFilter
id
- The node id in the graph, from a node-id
property.null
.