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
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns 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:Partitioning
Returns the number of partitions that the data is split across.- Specified by:
numPartitions
in interfacePartitioning
-