public final class DynamicRangeDataDistribution extends PartialDynamicDataDistribution
DataDistribution
Constructor and Description |
---|
DynamicRangeDataDistribution(List<String> keys)
Creates a range distribution for a list of range keys.
|
DynamicRangeDataDistribution(String... keys)
Creates a range distribution for a list of range keys.
|
Modifier and Type | Method and Description |
---|---|
AliasSet[] |
getAliases()
Returns the fields that are referenced by this distribution.
|
String[] |
getKeys()
Returns the keys by which we are range-partitioned.
|
boolean |
isGroupedBy(String[] keys)
Returns true if this range distribution exactly matches the specified list of keys.
|
PartialDataDistribution |
remap(FieldRemapping mapping)
Applies the given field remapping to this mapping, changing names as required.
|
String |
toString() |
getGatherScheme
public DynamicRangeDataDistribution(List<String> keys)
keys
- the range keyspublic DynamicRangeDataDistribution(String... keys)
keys
- the range keyspublic boolean isGroupedBy(String[] keys)
keys
- the range keyspublic String toString()
toString
in class DataDistribution
public String[] getKeys()
public PartialDataDistribution remap(FieldRemapping mapping)
UnspecifiedPartialDistribution
.remap
in class DataDistribution
mapping
- the field remapping.public AliasSet[] getAliases()
DataDistribution
getAliases
in class DataDistribution
Copyright © 2016 Actian Corporation. All rights reserved.