Interface Partitioning
- All Known Implementing Classes:
KeyGroupedPartitioning
,UnknownPartitioning
@Evolving
public interface Partitioning
An interface to represent the output data partitioning for a data source, which is returned by
SupportsReportPartitioning.outputPartitioning()
.
Note: implementors should NOT directly implement this interface. Instead, they should use one of the following subclasses:
- Since:
- 3.0.0
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of partitions that the data is split across.
-
Method Details
-
numPartitions
int numPartitions()Returns the number of partitions that the data is split across.
-