Class UnknownPartitioning

Object
org.apache.spark.sql.connector.read.partitioning.UnknownPartitioning
All Implemented Interfaces:
Partitioning

@Evolving public class UnknownPartitioning extends Object implements Partitioning
Represents a partitioning where rows are split across partitions in an unknown pattern.
Since:
3.3.0
  • 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 interface Partitioning