public class TableServiceAsyncClient extends Object
Modifier and Type | Method and Description |
---|---|
Mono<Void> |
createTable(String tableName)
creates the table with the given name.
|
Mono<Void> |
createTableIfNotExists(String tableName)
creates the table with the given name if it does not exist, otherwise no action is taken.
|
Mono<com.azure.core.http.rest.Response<Void>> |
createTableIfNotExistsWithResponse(String tableName)
creates the table with the given name if it does not exist, otherwise no action is taken.
|
Mono<com.azure.core.http.rest.Response<Void>> |
createTableWithResponse(String tableName)
creates the table with the given name.
|
Mono<Void> |
deleteTable(String tableName)
deletes the given table.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteTableWithResponse(String tableName)
deletes the given table.
|
String |
getAccountName()
returns the account for this service
|
TablesServiceVersion |
getApiVersion()
returns the version
|
String |
getServiceUrl()
returns Url of this service
|
TableAsyncClient |
getTableClient(String tableName)
retrieves the async table client for the provided table or creates one if it doesn't exist
|
com.azure.core.http.rest.PagedFlux<TableItem> |
listTables()
query all the tables under the storage account
|
com.azure.core.http.rest.PagedFlux<TableItem> |
listTables(ListTablesOptions options)
query all the tables under the storage account and return the tables that fit the query options
|
public String getAccountName()
public String getServiceUrl()
public TablesServiceVersion getApiVersion()
public TableAsyncClient getTableClient(String tableName)
tableName
- the tableName of the tablepublic Mono<Void> createTable(String tableName)
tableName
- the name of the table to createpublic Mono<com.azure.core.http.rest.Response<Void>> createTableWithResponse(String tableName)
tableName
- the name of the table to createpublic Mono<Void> createTableIfNotExists(String tableName)
tableName
- the name of the table to createpublic Mono<com.azure.core.http.rest.Response<Void>> createTableIfNotExistsWithResponse(String tableName)
tableName
- the name of the table to createpublic Mono<Void> deleteTable(String tableName)
tableName
- the name of the table to deletepublic Mono<com.azure.core.http.rest.Response<Void>> deleteTableWithResponse(String tableName)
tableName
- the name of the table to deletepublic com.azure.core.http.rest.PagedFlux<TableItem> listTables()
public com.azure.core.http.rest.PagedFlux<TableItem> listTables(ListTablesOptions options)
options
- the odata query objectCopyright © 2020 Microsoft Corporation. All rights reserved.