Returns true iff all distribution guarantees made by this partitioning can also be made
for the other
specified partitioning.
Returns true iff all distribution guarantees made by this partitioning can also be made
for the other
specified partitioning.
For example, two HashPartitionings are
only compatible if the numPartitions
of them is the same.
Returns the number of partitions that the data is split across
Returns the number of partitions that the data is split across
Returns true iff the guarantees made by this Partitioning are sufficient
to satisfy the partitioning scheme mandated by the required
Distribution,
i.e.
Returns true iff the guarantees made by this Partitioning are sufficient
to satisfy the partitioning scheme mandated by the required
Distribution,
i.e. the current dataset does not need to be re-partitioned for the required
Distribution (it is possible that tuples within a partition need to be reorganized).