Class SparkPubSubInputFormat
java.lang.Object
com.linkedin.venice.spark.input.pubsub.SparkPubSubInputFormat
- All Implemented Interfaces:
org.apache.spark.sql.connector.read.Batch,org.apache.spark.sql.connector.read.Scan
public class SparkPubSubInputFormat
extends Object
implements org.apache.spark.sql.connector.read.Scan, org.apache.spark.sql.connector.read.Batch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.spark.sql.connector.read.PartitionReaderFactoryorg.apache.spark.sql.connector.read.InputPartition[]org.apache.spark.sql.types.StructTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.spark.sql.connector.read.Scan
description, supportedCustomMetrics, toBatch, toContinuousStream, toMicroBatchStream
-
Constructor Details
-
SparkPubSubInputFormat
-
-
Method Details
-
planInputPartitions
public org.apache.spark.sql.connector.read.InputPartition[] planInputPartitions()- Specified by:
planInputPartitionsin interfaceorg.apache.spark.sql.connector.read.Batch
-
createReaderFactory
public org.apache.spark.sql.connector.read.PartitionReaderFactory createReaderFactory()- Specified by:
createReaderFactoryin interfaceorg.apache.spark.sql.connector.read.Batch
-
readSchema
public org.apache.spark.sql.types.StructType readSchema()- Specified by:
readSchemain interfaceorg.apache.spark.sql.connector.read.Scan
-