Package gorsat.spark

Class GorReaderFactory

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

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

    Constructors 
    Constructor Description
    GorReaderFactory​(org.apache.spark.sql.types.StructType schema, java.lang.String redisUri, java.lang.String jobId, java.lang.String cacheFile, java.lang.String projectRoot, java.lang.String cacheDir, java.lang.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

    • GorReaderFactory

      public GorReaderFactory​(org.apache.spark.sql.types.StructType schema, java.lang.String redisUri, java.lang.String jobId, java.lang.String cacheFile, java.lang.String projectRoot, java.lang.String cacheDir, java.lang.String useCpp)
  • 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