public static class MetastoreServiceStubSettings.Builder extends StubSettings.Builder<MetastoreServiceStubSettings,MetastoreServiceStubSettings.Builder>
Builder for MetastoreServiceStubSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
protected Builder(MetastoreServiceStubSettings settings)
Methods
public MetastoreServiceStubSettings.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.
public MetastoreServiceStubSettings build()
Overrides
public UnaryCallSettings.Builder<CreateCatalogRequest,Catalog> createCatalogSettings()
Returns the builder for the settings used for calls to createCatalog.
public UnaryCallSettings.Builder<CreateDatabaseRequest,Database> createDatabaseSettings()
Returns the builder for the settings used for calls to createDatabase.
public UnaryCallSettings.Builder<CreateTableRequest,Table> createTableSettings()
Returns the builder for the settings used for calls to createTable.
public UnaryCallSettings.Builder<DeleteCatalogRequest,Catalog> deleteCatalogSettings()
Returns the builder for the settings used for calls to deleteCatalog.
public UnaryCallSettings.Builder<DeleteDatabaseRequest,Database> deleteDatabaseSettings()
Returns the builder for the settings used for calls to deleteDatabase.
public UnaryCallSettings.Builder<DeleteTableRequest,Table> deleteTableSettings()
Returns the builder for the settings used for calls to deleteTable.
public UnaryCallSettings.Builder<GetCatalogRequest,Catalog> getCatalogSettings()
Returns the builder for the settings used for calls to getCatalog.
public UnaryCallSettings.Builder<GetDatabaseRequest,Database> getDatabaseSettings()
Returns the builder for the settings used for calls to getDatabase.
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
public UnaryCallSettings.Builder<GetTableRequest,Table> getTableSettings()
Returns the builder for the settings used for calls to getTable.
public PagedCallSettings.Builder<ListCatalogsRequest,ListCatalogsResponse,MetastoreServiceClient.ListCatalogsPagedResponse> listCatalogsSettings()
Returns the builder for the settings used for calls to listCatalogs.
public PagedCallSettings.Builder<ListDatabasesRequest,ListDatabasesResponse,MetastoreServiceClient.ListDatabasesPagedResponse> listDatabasesSettings()
Returns the builder for the settings used for calls to listDatabases.
public PagedCallSettings.Builder<ListTablesRequest,ListTablesResponse,MetastoreServiceClient.ListTablesPagedResponse> listTablesSettings()
Returns the builder for the settings used for calls to listTables.
public UnaryCallSettings.Builder<RenameTableRequest,Table> renameTableSettings()
Returns the builder for the settings used for calls to renameTable.
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |
public UnaryCallSettings.Builder<UpdateDatabaseRequest,Database> updateDatabaseSettings()
Returns the builder for the settings used for calls to updateDatabase.
public UnaryCallSettings.Builder<UpdateTableRequest,Table> updateTableSettings()
Returns the builder for the settings used for calls to updateTable.