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>

public class GorIntegerPartitionReader extends GorPartitionReader
  • 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:
      next in interface org.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow>
      Overrides:
      next in class GorPartitionReader
    • get

      public org.apache.spark.sql.catalyst.InternalRow get()
      Specified by:
      get in interface org.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow>
      Overrides:
      get in class GorPartitionReader
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Overrides:
      close in class GorPartitionReader