public class TableServiceAsyncClient extends Object
TableServiceClientBuilder.buildAsyncClient() method on a
TableServiceClientBuilder object.| Modifier and Type | Method and Description |
|---|---|
Mono<Void> |
createTable(String tableName)
Creates a table within the Tables service.
|
Mono<Void> |
createTableIfNotExists(String tableName)
Creates a table within the Tables service if the table does not already exist.
|
Mono<com.azure.core.http.rest.Response<Void>> |
createTableIfNotExistsWithResponse(String tableName)
Creates a table within the Tables service if the table does not already exist.
|
Mono<com.azure.core.http.rest.Response<Void>> |
createTableWithResponse(String tableName)
Creates a table within the Tables service.
|
Mono<Void> |
deleteTable(String tableName)
Deletes a table within the Tables service.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteTableWithResponse(String tableName)
Deletes a table within the Tables service.
|
String |
getAccountName()
Gets the name of the account containing the table.
|
TablesServiceVersion |
getApiVersion()
Gets the REST API version used by this client.
|
String |
getServiceUrl()
Gets the absolute URL for the Tables service endpoint.
|
TableAsyncClient |
getTableClient(String tableName)
Gets a
TableAsyncClient instance for the provided table in the account. |
com.azure.core.http.rest.PagedFlux<TableItem> |
listTables()
Lists all tables within the account.
|
com.azure.core.http.rest.PagedFlux<TableItem> |
listTables(ListTablesOptions options)
Lists tables using the parameters in the provided options.
|
public String getAccountName()
public String getServiceUrl()
public TablesServiceVersion getApiVersion()
public TableAsyncClient getTableClient(String tableName)
TableAsyncClient instance for the provided table in the account.tableName - The name of the table.TableAsyncClient instance for the provided table in the account.NullPointerException - if tableName is null or empty.public Mono<Void> createTable(String tableName)
tableName - The name of the table to create.IllegalArgumentException - if tableName is null or empty.com.azure.data.tables.implementation.models.TableServiceErrorException - if a table with the same name already exists within the service.public Mono<com.azure.core.http.rest.Response<Void>> createTableWithResponse(String tableName)
tableName - The name of the table to create.IllegalArgumentException - if tableName is null or empty.com.azure.data.tables.implementation.models.TableServiceErrorException - if a table with the same name already exists within the service.public Mono<Void> createTableIfNotExists(String tableName)
tableName - The name of the table to create.IllegalArgumentException - if tableName is null or empty.public Mono<com.azure.core.http.rest.Response<Void>> createTableIfNotExistsWithResponse(String tableName)
tableName - The name of the table to create.IllegalArgumentException - if tableName is null or empty.public Mono<Void> deleteTable(String tableName)
tableName - The name of the table to delete.IllegalArgumentException - if tableName is null or empty.com.azure.data.tables.implementation.models.TableServiceErrorException - if no table with the provided name exists within the service.public Mono<com.azure.core.http.rest.Response<Void>> deleteTableWithResponse(String tableName)
tableName - The name of the table to delete.IllegalArgumentException - if tableName is null or empty.com.azure.data.tables.implementation.models.TableServiceErrorException - if no table with the provided name exists within the service.public com.azure.core.http.rest.PagedFlux<TableItem> listTables()
public com.azure.core.http.rest.PagedFlux<TableItem> listTables(ListTablesOptions options)
options - The `filter` and `top` OData query options to apply to this operation.IllegalArgumentException - if one or more of the OData query options in options is malformed.Copyright © 2021 Microsoft Corporation. All rights reserved.