Class RangePartitioningFunction

java.lang.Object
com.pervasive.datarush.ports.record.RangePartitioningFunction
All Implemented Interfaces:
PartitioningFunction

public final class RangePartitioningFunction extends Object implements PartitioningFunction
A partitioning function that partitions records of data based on specified ranges.
  • Constructor Details

    • RangePartitioningFunction

      public RangePartitioningFunction(String key, List<? extends ScalarToken> values)
      Range partitions based on a single key
      Parameters:
      key - the key
      values - the boundary values for the key
    • RangePartitioningFunction

      public RangePartitioningFunction(List<RecordToken> values)
      Range partitions based on multiple keys. The list of records correspond to each boundary and the elements in each record correspond to each key. All records must have the same names.
      Parameters:
      values - the values to partition on
  • Method Details