Package gorsat.spark

Class GorPartitioning

java.lang.Object
gorsat.spark.GorPartitioning
All Implemented Interfaces:
org.apache.spark.sql.connector.read.partitioning.Partitioning

public class GorPartitioning
extends java.lang.Object
implements org.apache.spark.sql.connector.read.partitioning.Partitioning
  • Constructor Summary

    Constructors 
    Constructor Description
    GorPartitioning()  
  • Method Summary

    Modifier and Type Method Description
    int numPartitions()  
    boolean satisfy​(org.apache.spark.sql.connector.read.partitioning.Distribution distribution)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • numPartitions

      public int numPartitions()
      Specified by:
      numPartitions in interface org.apache.spark.sql.connector.read.partitioning.Partitioning
    • satisfy

      public boolean satisfy​(org.apache.spark.sql.connector.read.partitioning.Distribution distribution)
      Specified by:
      satisfy in interface org.apache.spark.sql.connector.read.partitioning.Partitioning