public final class BalancedDistribution extends PartialStaticDataDistribution
DataDistribution
Modifier and Type | Field and Description |
---|---|
static BalancedDistribution |
INSTANCE
The singleton instance of this class.
|
Modifier and Type | Method and Description |
---|---|
AliasSet[] |
getAliases()
Returns the fields that are referenced by this distribution.
|
protected PartitioningFunction |
getPartitioningFunction()
Subclasses must override this method to provide the partitioning function to be used
|
BalancedDistribution |
remap(FieldRemapping mapping)
Because BalancedDistribution does not
reference any key names, it is not sensitive to transformations to the record namespace
and thus this method just returns a reference to this, unmodified.
|
protected boolean |
requiresRepartitionFrom(PartialDataDistribution source)
Subclasses must override this method to declare whether a repartition is required given the source
distribution.
|
String |
toString() |
supportsLocalRepartition
getGatherScheme
public static final BalancedDistribution INSTANCE
public String toString()
toString
in class DataDistribution
public BalancedDistribution remap(FieldRemapping mapping)
remap
in class DataDistribution
mapping
- the field remapping.protected boolean requiresRepartitionFrom(PartialDataDistribution source)
PartialStaticDataDistribution
requiresRepartitionFrom
in class PartialStaticDataDistribution
source
- the source distributionpublic AliasSet[] getAliases()
DataDistribution
getAliases
in class DataDistribution
protected PartitioningFunction getPartitioningFunction()
PartialStaticDataDistribution
getPartitioningFunction
in class PartialStaticDataDistribution
Copyright © 2019 Actian Corporation. All rights reserved.