Class UnknownPartitioning
Object
org.apache.spark.sql.connector.read.partitioning.UnknownPartitioning
- All Implemented Interfaces:
Partitioning
Represents a partitioning where rows are split across partitions in an unknown pattern.
- Since:
- 3.3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of partitions that the data is split across.
-
Constructor Details
-
UnknownPartitioning
public UnknownPartitioning(int numPartitions)
-
-
Method Details
-
numPartitions
public int numPartitions()Description copied from interface:PartitioningReturns the number of partitions that the data is split across.- Specified by:
numPartitionsin interfacePartitioning
-