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 intnumPartitions()booleansatisfy(org.apache.spark.sql.connector.read.partitioning.Distribution distribution)
-
Constructor Details
-
GorPartitioning
public GorPartitioning()
-
-
Method Details
-
numPartitions
public int numPartitions()- Specified by:
numPartitionsin interfaceorg.apache.spark.sql.connector.read.partitioning.Partitioning
-
satisfy
public boolean satisfy(org.apache.spark.sql.connector.read.partitioning.Distribution distribution)- Specified by:
satisfyin interfaceorg.apache.spark.sql.connector.read.partitioning.Partitioning
-