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 Object
implements org.apache.spark.sql.connector.read.Scan, org.apache.spark.sql.connector.read.Batch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.spark.sql.connector.read.PartitionReaderFactory
org.apache.spark.sql.connector.read.InputPartition[]
org.apache.spark.sql.types.StructType
org.apache.spark.sql.connector.read.Batch
toBatch()
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.Scan
description, supportedCustomMetrics, toContinuousStream, toMicroBatchStream
-
Constructor Details
-
VeniceHdfsInputScan
-
-
Method Details
-
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
-