Class VeniceHdfsInputScan
- java.lang.Object
-
- com.linkedin.venice.spark.input.hdfs.VeniceHdfsInputScan
-
- All Implemented Interfaces:
org.apache.spark.sql.connector.read.Batch
,org.apache.spark.sql.connector.read.Scan
public class VeniceHdfsInputScan extends java.lang.Object implements org.apache.spark.sql.connector.read.Scan, org.apache.spark.sql.connector.read.Batch
-
-
Constructor Summary
Constructors Constructor Description VeniceHdfsInputScan(VeniceProperties jobConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.spark.sql.connector.read.PartitionReaderFactory
createReaderFactory()
org.apache.spark.sql.connector.read.InputPartition[]
planInputPartitions()
org.apache.spark.sql.types.StructType
readSchema()
org.apache.spark.sql.connector.read.Batch
toBatch()
-
-
-
Constructor Detail
-
VeniceHdfsInputScan
public VeniceHdfsInputScan(VeniceProperties jobConfig)
-
-
Method Detail
-
planInputPartitions
public org.apache.spark.sql.connector.read.InputPartition[] planInputPartitions()
- Specified by:
planInputPartitions
in interfaceorg.apache.spark.sql.connector.read.Batch
-
createReaderFactory
public org.apache.spark.sql.connector.read.PartitionReaderFactory createReaderFactory()
- Specified by:
createReaderFactory
in interfaceorg.apache.spark.sql.connector.read.Batch
-
readSchema
public org.apache.spark.sql.types.StructType readSchema()
- Specified by:
readSchema
in interfaceorg.apache.spark.sql.connector.read.Scan
-
toBatch
public org.apache.spark.sql.connector.read.Batch toBatch()
- Specified by:
toBatch
in interfaceorg.apache.spark.sql.connector.read.Scan
-
-