Class HiveMetastoreServiceSettings.Builder (0.83.0)

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

Builder for HiveMetastoreServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > HiveMetastoreServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext

Builder(HiveMetastoreServiceSettings settings)

protected Builder(HiveMetastoreServiceSettings settings)
Parameter
Name Description
settings HiveMetastoreServiceSettings

Builder(HiveMetastoreServiceStubSettings.Builder stubSettings)

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

Methods

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

public HiveMetastoreServiceSettings.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<?,?>,java.lang.Void>
Returns
Type Description
HiveMetastoreServiceSettings.Builder

batchCreatePartitionsSettings()

public UnaryCallSettings.Builder<BatchCreatePartitionsRequest,BatchCreatePartitionsResponse> batchCreatePartitionsSettings()

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

Returns
Type Description
Builder<BatchCreatePartitionsRequest,BatchCreatePartitionsResponse>

batchDeletePartitionsSettings()

public UnaryCallSettings.Builder<BatchDeletePartitionsRequest,Empty> batchDeletePartitionsSettings()

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

Returns
Type Description
Builder<BatchDeletePartitionsRequest,Empty>

batchUpdatePartitionsSettings()

public UnaryCallSettings.Builder<BatchUpdatePartitionsRequest,BatchUpdatePartitionsResponse> batchUpdatePartitionsSettings()

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

Returns
Type Description
Builder<BatchUpdatePartitionsRequest,BatchUpdatePartitionsResponse>

build()

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

createHiveCatalogSettings()

public UnaryCallSettings.Builder<CreateHiveCatalogRequest,HiveCatalog> createHiveCatalogSettings()

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

Returns
Type Description
Builder<CreateHiveCatalogRequest,HiveCatalog>

createHiveDatabaseSettings()

public UnaryCallSettings.Builder<CreateHiveDatabaseRequest,HiveDatabase> createHiveDatabaseSettings()

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

Returns
Type Description
Builder<CreateHiveDatabaseRequest,HiveDatabase>

createHiveTableSettings()

public UnaryCallSettings.Builder<CreateHiveTableRequest,HiveTable> createHiveTableSettings()

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

Returns
Type Description
Builder<CreateHiveTableRequest,HiveTable>

deleteHiveCatalogSettings()

public UnaryCallSettings.Builder<DeleteHiveCatalogRequest,Empty> deleteHiveCatalogSettings()

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

Returns
Type Description
Builder<DeleteHiveCatalogRequest,Empty>

deleteHiveDatabaseSettings()

public UnaryCallSettings.Builder<DeleteHiveDatabaseRequest,Empty> deleteHiveDatabaseSettings()

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

Returns
Type Description
Builder<DeleteHiveDatabaseRequest,Empty>

deleteHiveTableSettings()

public UnaryCallSettings.Builder<DeleteHiveTableRequest,Empty> deleteHiveTableSettings()

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

Returns
Type Description
Builder<DeleteHiveTableRequest,Empty>

failoverHiveCatalogSettings()

public UnaryCallSettings.Builder<FailoverHiveCatalogRequest,FailoverHiveCatalogResponse> failoverHiveCatalogSettings()

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

Returns
Type Description
Builder<FailoverHiveCatalogRequest,FailoverHiveCatalogResponse>

getHiveCatalogSettings()

public UnaryCallSettings.Builder<GetHiveCatalogRequest,HiveCatalog> getHiveCatalogSettings()

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

Returns
Type Description
Builder<GetHiveCatalogRequest,HiveCatalog>

getHiveDatabaseSettings()

public UnaryCallSettings.Builder<GetHiveDatabaseRequest,HiveDatabase> getHiveDatabaseSettings()

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

Returns
Type Description
Builder<GetHiveDatabaseRequest,HiveDatabase>

getHiveTableSettings()

public UnaryCallSettings.Builder<GetHiveTableRequest,HiveTable> getHiveTableSettings()

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

Returns
Type Description
Builder<GetHiveTableRequest,HiveTable>

getStubSettingsBuilder()

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

listHiveCatalogsSettings()

public PagedCallSettings.Builder<ListHiveCatalogsRequest,ListHiveCatalogsResponse,HiveMetastoreServiceClient.ListHiveCatalogsPagedResponse> listHiveCatalogsSettings()

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

Returns
Type Description
Builder<ListHiveCatalogsRequest,ListHiveCatalogsResponse,ListHiveCatalogsPagedResponse>

listHiveDatabasesSettings()

public PagedCallSettings.Builder<ListHiveDatabasesRequest,ListHiveDatabasesResponse,HiveMetastoreServiceClient.ListHiveDatabasesPagedResponse> listHiveDatabasesSettings()

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

Returns
Type Description
Builder<ListHiveDatabasesRequest,ListHiveDatabasesResponse,ListHiveDatabasesPagedResponse>

listHiveTablesSettings()

public PagedCallSettings.Builder<ListHiveTablesRequest,ListHiveTablesResponse,HiveMetastoreServiceClient.ListHiveTablesPagedResponse> listHiveTablesSettings()

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

Returns
Type Description
Builder<ListHiveTablesRequest,ListHiveTablesResponse,ListHiveTablesPagedResponse>

listPartitionsSettings()

public ServerStreamingCallSettings.Builder<ListPartitionsRequest,ListPartitionsResponse> listPartitionsSettings()

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

Returns
Type Description
Builder<ListPartitionsRequest,ListPartitionsResponse>

updateHiveCatalogSettings()

public UnaryCallSettings.Builder<UpdateHiveCatalogRequest,HiveCatalog> updateHiveCatalogSettings()

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

Returns
Type Description
Builder<UpdateHiveCatalogRequest,HiveCatalog>

updateHiveDatabaseSettings()

public UnaryCallSettings.Builder<UpdateHiveDatabaseRequest,HiveDatabase> updateHiveDatabaseSettings()

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

Returns
Type Description
Builder<UpdateHiveDatabaseRequest,HiveDatabase>

updateHiveTableSettings()

public UnaryCallSettings.Builder<UpdateHiveTableRequest,HiveTable> updateHiveTableSettings()

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

Returns
Type Description
Builder<UpdateHiveTableRequest,HiveTable>