Class InvertEdgeRule

  • All Implemented Interfaces:
    Rule

    public class InvertEdgeRule
    extends Object
    implements Rule
    • Constructor Detail

      • InvertEdgeRule

        public InvertEdgeRule()
    • Method Detail

      • getEdgeType

        public String getEdgeType()
      • setEdgeType

        public void setEdgeType​(String edgeType)
      • getSourceNodeType

        public String getSourceNodeType()
      • setSourceNodeType

        public void setSourceNodeType​(String sourceNodeType)
      • getDestinationNodeType

        public String getDestinationNodeType()
      • setDestinationNodeType

        public void setDestinationNodeType​(String destinationNodeType)
      • apply

        public void apply​(Graph graph,
                          String queriedNodeGUID)
        Inverts the edge direction based on the configured parameters
        Specified by:
        apply in interface Rule
        Parameters:
        graph - the lineage graph
        queriedNodeGUID - the guid of the queried node used to identify it in the graph