Enum RelDistribution.Type

java.lang.Object
java.lang.Enum<RelDistribution.Type>
org.apache.calcite.rel.RelDistribution.Type
All Implemented Interfaces:
Serializable, Comparable<RelDistribution.Type>, Constable
Enclosing interface:
RelDistribution

public static enum RelDistribution.Type extends Enum<RelDistribution.Type>
Type of distribution.
  • Enum Constant Details

    • SINGLETON

      public static final RelDistribution.Type SINGLETON
      There is only one instance of the stream. It sees all records.
    • HASH_DISTRIBUTED

      public static final RelDistribution.Type HASH_DISTRIBUTED
      There are multiple instances of the stream, and each instance contains records whose keys hash to a particular hash value. Instances are disjoint; a given record appears on exactly one stream.
    • RANGE_DISTRIBUTED

      public static final RelDistribution.Type RANGE_DISTRIBUTED
      There are multiple instances of the stream, and each instance contains records whose keys fall into a particular range. Instances are disjoint; a given record appears on exactly one stream.
    • RANDOM_DISTRIBUTED

      public static final RelDistribution.Type RANDOM_DISTRIBUTED
      There are multiple instances of the stream, and each instance contains randomly chosen records. Instances are disjoint; a given record appears on exactly one stream.
    • ROUND_ROBIN_DISTRIBUTED

      public static final RelDistribution.Type ROUND_ROBIN_DISTRIBUTED
      There are multiple instances of the stream, and records are assigned to instances in turn. Instances are disjoint; a given record appears on exactly one stream.
    • BROADCAST_DISTRIBUTED

      public static final RelDistribution.Type BROADCAST_DISTRIBUTED
      There are multiple instances of the stream, and all records appear in each instance.
    • ANY

      public static final RelDistribution.Type ANY
      Not a valid distribution, but indicates that a consumer will accept any distribution.
  • Field Details

    • shortName

      public final String shortName
  • Method Details

    • values

      public static RelDistribution.Type[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static RelDistribution.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