public enum PartitioningProperty extends Enum<PartitioningProperty>
| Enum Constant and Description |
|---|
ANY_PARTITIONING
Constant indicating any not further specified disjunct partitioning.
|
FORCED_REBALANCED
Constant indicating a forced even rebalancing.
|
FULL_REPLICATION
Constant indicating full replication of the data to each parallel instance.
|
HASH_PARTITIONED
Constant indicating a hash partitioning.
|
RANDOM
Constant indicating no particular partitioning (i.e.
|
RANGE_PARTITIONED
Constant indicating a range partitioning.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isComputablyPartitioned()
Checks, if this property represents a partitioning that is computable.
|
boolean |
isPartitioned()
Checks, if this property represents in fact a partitioning.
|
boolean |
isPartitionedOnKey()
Checks if this property presents a partitioning that is not random, but on a partitioning key.
|
boolean |
isReplication()
Checks, if this property represents a full replication.
|
static PartitioningProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PartitioningProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartitioningProperty RANDOM
public static final PartitioningProperty HASH_PARTITIONED
public static final PartitioningProperty RANGE_PARTITIONED
public static final PartitioningProperty ANY_PARTITIONING
public static final PartitioningProperty FULL_REPLICATION
public static final PartitioningProperty FORCED_REBALANCED
public static PartitioningProperty[] values()
for (PartitioningProperty c : PartitioningProperty.values()) System.out.println(c);
public static PartitioningProperty valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isPartitioned()
public boolean isReplication()
public boolean isPartitionedOnKey()
public boolean isComputablyPartitioned()
Examples for computable partitioning schemes are hash- or range-partitionings. An example for a non-computable partitioning is the implicit partitioning that exists though a globally unique key.
Copyright © 2014 The Apache Software Foundation. All rights reserved.