Package gorsat.spark
Class GorIntegerPartitionReader
java.lang.Object
gorsat.spark.GorPartitionReader
gorsat.spark.GorIntegerPartitionReader
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow>
-
Constructor Summary
ConstructorsConstructorDescriptionGorIntegerPartitionReader(org.apache.spark.sql.types.StructType schema, gorsat.spark.GorRangeInputPartition gorRangeInputPartition, String redisUri, String streamKey, String jobId, String projectRoot, String cacheDir, String configFile, String aliasFile, String securityContext, String useCpp) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.spark.sql.connector.read.PartitionReader
currentMetricsValues
-
Constructor Details
-
GorIntegerPartitionReader
public GorIntegerPartitionReader(org.apache.spark.sql.types.StructType schema, gorsat.spark.GorRangeInputPartition gorRangeInputPartition, String redisUri, String streamKey, String jobId, String projectRoot, String cacheDir, String configFile, String aliasFile, String securityContext, String useCpp)
-
-
Method Details
-
next
public boolean next()- Specified by:
nextin interfaceorg.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow>- Overrides:
nextin classGorPartitionReader
-
get
public org.apache.spark.sql.catalyst.InternalRow get()- Specified by:
getin interfaceorg.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow>- Overrides:
getin classGorPartitionReader
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classGorPartitionReader
-