Class MetastorePartitionServiceSettings.Builder (3.9.0)

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>
Returns
Type Description
MetastorePartitionServiceSettings.Builder

batchCreateMetastorePartitionsSettings()

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

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

Returns
Type Description
Builder<BatchCreateMetastorePartitionsRequest,BatchCreateMetastorePartitionsResponse>

batchDeleteMetastorePartitionsSettings()

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

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

Returns
Type Description
Builder<BatchDeleteMetastorePartitionsRequest,Empty>

batchUpdateMetastorePartitionsSettings()

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

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

Returns
Type Description
Builder<BatchUpdateMetastorePartitionsRequest,BatchUpdateMetastorePartitionsResponse>

build()

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

getStubSettingsBuilder()

public MetastorePartitionServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
MetastorePartitionServiceStubSettings.Builder

listMetastorePartitionsSettings()

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

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

Returns
Type Description
Builder<ListMetastorePartitionsRequest,ListMetastorePartitionsResponse>

streamMetastorePartitionsSettings()

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

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

Returns
Type Description
Builder<StreamMetastorePartitionsRequest,StreamMetastorePartitionsResponse>