Class HiveMetastoreServiceStubSettings.Builder (0.76.0)

public static class HiveMetastoreServiceStubSettings.Builder extends StubSettings.Builder<HiveMetastoreServiceStubSettings,HiveMetastoreServiceStubSettings.Builder>

Builder for HiveMetastoreServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > HiveMetastoreServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(HiveMetastoreServiceStubSettings settings)

protected Builder(HiveMetastoreServiceStubSettings settings)
Parameter
Name Description
settings HiveMetastoreServiceStubSettings

Methods

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

public HiveMetastoreServiceStubSettings.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
HiveMetastoreServiceStubSettings.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 HiveMetastoreServiceStubSettings build()
Returns
Type Description
HiveMetastoreServiceStubSettings
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>

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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

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>