Enum ExecEdge.Shuffle.Type

    • Enum Constant Detail

      • ANY

        public static final ExecEdge.Shuffle.Type ANY
        Any type of shuffle is OK when passing through this edge.
      • HASH

        public static final ExecEdge.Shuffle.Type HASH
        Records are shuffled by hash when passing through this edge.
      • BROADCAST

        public static final ExecEdge.Shuffle.Type BROADCAST
        Full records are provided for each parallelism of the target node.
      • SINGLETON

        public static final ExecEdge.Shuffle.Type SINGLETON
        Records are shuffled to one node, the parallelism of the target node must be 1.
      • FORWARD

        public static final ExecEdge.Shuffle.Type FORWARD
        Records are shuffled in same parallelism (the shuffle behavior is function call).
    • Method Detail

      • values

        public static ExecEdge.Shuffle.Type[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ExecEdge.Shuffle.Type c : ExecEdge.Shuffle.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ExecEdge.Shuffle.Type valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null