Class MetastorePartitionServiceSettings.Builder (3.11.3)

public static class MetastorePartitionServiceSettings.Builder extends ClientSettings.Builder<MetastorePartitionServiceSettings,MetastorePartitionServiceSettings.Builder>

Builder for MetastorePartitionServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > MetastorePartitionServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(MetastorePartitionServiceSettings settings)

protected Builder(MetastorePartitionServiceSettings settings)
Parameter
Name Description
settings MetastorePartitionServiceSettings

Builder(MetastorePartitionServiceStubSettings.Builder stubSettings)

protected Builder(MetastorePartitionServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings MetastorePartitionServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public MetastorePartitionServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,Void>

batchCreateMetastorePartitionsSettings()

public UnaryCallSettings.Builder<BatchCreateMetastorePartitionsRequest,BatchCreateMetastorePartitionsResponse> batchCreateMetastorePartitionsSettings()

Returns the builder for the settings used for calls to batchCreateMetastorePartitions.

batchDeleteMetastorePartitionsSettings()

public UnaryCallSettings.Builder<BatchDeleteMetastorePartitionsRequest,Empty> batchDeleteMetastorePartitionsSettings()

Returns the builder for the settings used for calls to batchDeleteMetastorePartitions.

batchUpdateMetastorePartitionsSettings()

public UnaryCallSettings.Builder<BatchUpdateMetastorePartitionsRequest,BatchUpdateMetastorePartitionsResponse> batchUpdateMetastorePartitionsSettings()

Returns the builder for the settings used for calls to batchUpdateMetastorePartitions.

build()

public MetastorePartitionServiceSettings build()
Returns
Type Description
MetastorePartitionServiceSettings
Overrides
Exceptions
Type Description
IOException

getStubSettingsBuilder()

public MetastorePartitionServiceStubSettings.Builder getStubSettingsBuilder()

listMetastorePartitionsSettings()

public UnaryCallSettings.Builder<ListMetastorePartitionsRequest,ListMetastorePartitionsResponse> listMetastorePartitionsSettings()

Returns the builder for the settings used for calls to listMetastorePartitions.

streamMetastorePartitionsSettings()

public StreamingCallSettings.Builder<StreamMetastorePartitionsRequest,StreamMetastorePartitionsResponse> streamMetastorePartitionsSettings()

Returns the builder for the settings used for calls to streamMetastorePartitions.