All Implemented Interfaces:

public class RemoveNodesRule extends Object implements Rule
  • Constructor Details

    • RemoveNodesRule

      public RemoveNodesRule()
  • Method Details

    • getQueriedNodeType

      public String getQueriedNodeType()
    • setQueriedNodeType

      public void setQueriedNodeType(String queriedNodeType)
    • getNodeTypesToRemove

      public List<String> getNodeTypesToRemove()
    • setNodeTypesToRemove

      public void setNodeTypesToRemove(List<String> nodeTypesToRemove)
    • apply

      public void apply(Graph graph, String queriedNodeGUID)
      If the queried node type matches the rule field defined in properties, the graph will be altered by deleting all the nodes of types nodeTypesToRemove from the graph
      Specified by:
      apply in interface Rule
      graph - the lineage graph
      queriedNodeGUID - the guid of the queried node used to identify it in the graph