Class PslMicroBatchInputPartition (0.3.4)

public class PslMicroBatchInputPartition implements InputPartition<InternalRow>

Inheritance

java.lang.Object > PslMicroBatchInputPartition

Implements

org.apache.spark.sql.sources.v2.reader.InputPartition<org.apache.spark.sql.catalyst.InternalRow>

Constructors

PslMicroBatchInputPartition(SubscriptionPath subscriptionPath, FlowControlSettings flowControlSettings, SparkPartitionOffset startOffset, SparkPartitionOffset endOffset, PartitionSubscriberFactory subscriberFactory)

public PslMicroBatchInputPartition(SubscriptionPath subscriptionPath, FlowControlSettings flowControlSettings, SparkPartitionOffset startOffset, SparkPartitionOffset endOffset, PartitionSubscriberFactory subscriberFactory)
Parameters
NameDescription
subscriptionPathcom.google.cloud.pubsublite.SubscriptionPath
flowControlSettingscom.google.cloud.pubsublite.cloudpubsub.FlowControlSettings
startOffsetcom.google.cloud.pubsublite.spark.SparkPartitionOffset
endOffsetcom.google.cloud.pubsublite.spark.SparkPartitionOffset
subscriberFactoryPartitionSubscriberFactory

Methods

createPartitionReader()

public InputPartitionReader<InternalRow> createPartitionReader()
Returns
TypeDescription
org.apache.spark.sql.sources.v2.reader.InputPartitionReader<org.apache.spark.sql.catalyst.InternalRow>