Enum ShipStrategyType

    • Enum Constant Detail

      • NONE

        public static final ShipStrategyType NONE
        Constant used as an indicator for an unassigned ship strategy.
      • FORWARD

        public static final ShipStrategyType FORWARD
        Forwarding the data locally in memory.
      • PARTITION_RANDOM

        public static final ShipStrategyType PARTITION_RANDOM
        Repartitioning the data randomly, typically when the parallelism between two nodes changes.
      • PARTITION_HASH

        public static final ShipStrategyType PARTITION_HASH
        Repartitioning the data deterministically through a hash function.
      • PARTITION_RANGE

        public static final ShipStrategyType PARTITION_RANGE
        Partitioning the data in ranges according to a total order.
      • PARTITION_FORCED_REBALANCE

        public static final ShipStrategyType PARTITION_FORCED_REBALANCE
        Partitioning the data evenly, forced at a specific location (cannot be pushed down by optimizer).
      • BROADCAST

        public static final ShipStrategyType BROADCAST
        Replicating the data set to all instances.
      • PARTITION_CUSTOM

        public static final ShipStrategyType PARTITION_CUSTOM
        Partitioning using a custom partitioner.
    • Method Detail

      • values

        public static ShipStrategyType[] 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 (ShipStrategyType c : ShipStrategyType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ShipStrategyType 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
      • isNetworkStrategy

        public boolean isNetworkStrategy()
      • requiresComparator

        public boolean requiresComparator()