Class IREdge

  • All Implemented Interfaces:
    java.io.Serializable

    public final class IREdge
    extends Edge<IRVertex>
    Physical execution plan of intermediate data movement.
    See Also:
    Serialized Form
    • Constructor Detail

    • Method Detail

      • setProperty

        public IREdge setProperty​(EdgeExecutionProperty<?> executionProperty)
        Set an executionProperty of the IREdge.
        Parameters:
        executionProperty - the execution property.
        Returns:
        the IREdge with the execution property set.
      • setPropertyPermanently

        public IREdge setPropertyPermanently​(EdgeExecutionProperty<?> executionProperty)
        Set an executionProperty of the IREdge, permanently.
        Parameters:
        executionProperty - the execution property.
        Returns:
        the IREdge with the execution property set.
      • getPropertyValue

        public <T extends java.io.Serializable> java.util.Optional<T> getPropertyValue​(java.lang.Class<? extends EdgeExecutionProperty<T>> executionPropertyKey)
        Get the executionProperty of the IREdge.
        Type Parameters:
        T - Type of the return value.
        Parameters:
        executionPropertyKey - key of the execution property.
        Returns:
        the execution property.
      • hasSameItineraryAs

        public java.lang.Boolean hasSameItineraryAs​(IREdge edge)
        Parameters:
        edge - edge to compare.
        Returns:
        whether or not the edge has the same itinerary
      • copyExecutionPropertiesTo

        public void copyExecutionPropertiesTo​(IREdge thatEdge)
        Static function to copy executionProperties from an edge to the other.
        Parameters:
        thatEdge - the edge to copy executionProperties to.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getPropertiesAsJsonNode

        public com.fasterxml.jackson.databind.node.ObjectNode getPropertiesAsJsonNode()
        Overrides:
        getPropertiesAsJsonNode in class Edge<IRVertex>
        Returns:
        JSON representation of additional properties