Package gorsat.spark

Class GorPartitionReader

    • Constructor Summary

      Constructors 
      Constructor Description
      GorPartitionReader​(org.apache.spark.sql.types.StructType schema, gorsat.spark.GorRangeInputPartition gorRangeInputPartition, java.lang.String redisUri, java.lang.String jobId, java.lang.String projectRoot, java.lang.String cacheDir, java.lang.String configFile, java.lang.String aliasFile, java.lang.String securityContext, java.lang.String useCpp)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      org.apache.spark.sql.catalyst.InternalRow get()  
      boolean next()  
      • Methods inherited from class java.lang.Object

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

      • GorPartitionReader

        public GorPartitionReader​(org.apache.spark.sql.types.StructType schema,
                                  gorsat.spark.GorRangeInputPartition gorRangeInputPartition,
                                  java.lang.String redisUri,
                                  java.lang.String jobId,
                                  java.lang.String projectRoot,
                                  java.lang.String cacheDir,
                                  java.lang.String configFile,
                                  java.lang.String aliasFile,
                                  java.lang.String securityContext,
                                  java.lang.String useCpp)
    • Method Detail

      • next

        public boolean next()
        Specified by:
        next in interface org.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow>
      • 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>
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable