Class PslWriteDataSourceOptions (0.3.4)

publicabstractclass PslWriteDataSourceOptionsimplementsSerializable

Inheritance

java.lang.Object > PslWriteDataSourceOptions

Implements

Serializable

Constructors

PslWriteDataSourceOptions()

publicPslWriteDataSourceOptions()

Methods

builder()

publicstaticPslWriteDataSourceOptions.Builderbuilder()
Returns
Type Description

createNewPublisher()

publicPublisher<MessageMetadata>createNewPublisher()
Returns
Type Description
com.google.cloud.pubsublite.internal.Publisher<com.google.cloud.pubsublite.MessageMetadata>

credentialsKey()

publicabstractStringcredentialsKey()
Returns
Type Description

fromSparkDataSourceOptions(DataSourceOptions options)

publicstaticPslWriteDataSourceOptionsfromSparkDataSourceOptions(DataSourceOptionsoptions)
Parameter
Name Description
options org.apache.spark.sql.sources.v2.DataSourceOptions
Returns
Type Description

getCredentialProvider()

publicPslCredentialsProvidergetCredentialProvider()
Returns
Type Description

topicPath()

publicabstractTopicPathtopicPath()
Returns
Type Description
com.google.cloud.pubsublite.TopicPath

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.