Class DataPartitioning


  • public final class DataPartitioning
    extends Object
    Determines how data is partitioned.
    • Constructor Detail

      • DataPartitioning

        public DataPartitioning​(int partitionNumber,
                                DataPartitionMethod method,
                                int partitionCount)
        Initializes a new instance of the DataPartitioning class.
        Parameters:
        partitionNumber - The zero based partition number. A number between 0 to (number of partitions - 1).
        method - The partitioning method. E.g. whether to include or exclude the data in the partition.
        partitionCount - The total number of partitions.
    • Method Detail

      • getPartitionNumber

        public int getPartitionNumber()
        Gets the zero based partition number. A number between 0 to (number of partitions - 1).
      • getPartitionCount

        public int getPartitionCount()
        Gets the total number of partitions.
      • getMethod

        public DataPartitionMethod getMethod()
        Gets the partitioning method. E.g. whether to include or exclude the data in the partition.