Package gorsat.spark

Class GorReaderFactory

java.lang.Object
gorsat.spark.GorReaderFactory
All Implemented Interfaces:
Serializable, org.apache.spark.sql.connector.read.PartitionReaderFactory

public class GorReaderFactory extends Object implements org.apache.spark.sql.connector.read.PartitionReaderFactory
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    GorReaderFactory(org.apache.spark.sql.types.StructType schema, String redisUri, String streamKey, String jobId, String cacheFile, String projectRoot, String cacheDir, String configFile, String aliasFile, String securityContext, String useCpp)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow>
    createReader(org.apache.spark.sql.connector.read.InputPartition partition)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.spark.sql.connector.read.PartitionReaderFactory

    createColumnarReader, supportColumnarReads
  • Constructor Details

  • Method Details

    • createReader

      public org.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow> createReader(org.apache.spark.sql.connector.read.InputPartition partition)
      Specified by:
      createReader in interface org.apache.spark.sql.connector.read.PartitionReaderFactory