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)
-
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:
createReaderin interfaceorg.apache.spark.sql.connector.read.PartitionReaderFactory
-