@Generated(value="OracleSDKGenerator", comments="API Version: 20190828") public interface Nosql extends AutoCloseable
The control plane API for NoSQL Database Cloud Service HTTPS provides endpoints to perform NDCS operations, including creation and deletion of tables and indexes; population and access of data in tables; and access of table usage metrics.
| Modifier and Type | Method and Description |
|---|---|
ChangeTableCompartmentResponse |
changeTableCompartment(ChangeTableCompartmentRequest request)
Change a table’s compartment.
|
CreateIndexResponse |
createIndex(CreateIndexRequest request)
Create a new index on the table identified by tableNameOrId.
|
CreateTableResponse |
createTable(CreateTableRequest request)
Create a new table.
|
DeleteIndexResponse |
deleteIndex(DeleteIndexRequest request)
Delete an index from the table identified by tableNameOrId.
|
DeleteRowResponse |
deleteRow(DeleteRowRequest request)
Delete a single row from the table, by primary key.
|
DeleteTableResponse |
deleteTable(DeleteTableRequest request)
Delete a table by tableNameOrId.
|
DeleteWorkRequestResponse |
deleteWorkRequest(DeleteWorkRequestRequest request)
Cancel a work request operation with the given ID.
|
String |
getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
|
GetIndexResponse |
getIndex(GetIndexRequest request)
Get information about a single index.
|
NosqlPaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple
pages of data.
|
GetRowResponse |
getRow(GetRowRequest request)
Get a single row from the table by primary key.
|
GetTableResponse |
getTable(GetTableRequest request)
Get table info by identifier.
|
NosqlWaiters |
getWaiters()
Gets the pre-configured waiters available for resources for this service.
|
GetWorkRequestResponse |
getWorkRequest(GetWorkRequestRequest request)
Get the status of the work request with the given ID.
|
ListIndexesResponse |
listIndexes(ListIndexesRequest request)
Get a list of indexes on a table.
|
ListTablesResponse |
listTables(ListTablesRequest request)
Get a list of tables in a compartment.
|
ListTableUsageResponse |
listTableUsage(ListTableUsageRequest request)
Get table usage info.
|
ListWorkRequestErrorsResponse |
listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Return a (paginated) list of errors for a given work request.
|
ListWorkRequestLogsResponse |
listWorkRequestLogs(ListWorkRequestLogsRequest request)
Return a (paginated) list of logs for a given work request.
|
ListWorkRequestsResponse |
listWorkRequests(ListWorkRequestsRequest request)
List the work requests in a compartment.
|
PrepareStatementResponse |
prepareStatement(PrepareStatementRequest request)
Prepare a SQL statement for use in a query with variable substitution.
|
QueryResponse |
query(QueryRequest request)
Execute a SQL query.
|
void |
setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
|
void |
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
|
void |
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
|
SummarizeStatementResponse |
summarizeStatement(SummarizeStatementRequest request)
Check the syntax and return a brief summary of a SQL statement.
|
UpdateRowResponse |
updateRow(UpdateRowRequest request)
Write a single row into the table.
|
UpdateTableResponse |
updateTable(UpdateTableRequest request)
Alter the table identified by tableNameOrId,
changing schema, limits, or tags
|
closevoid setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint - The endpoint of the service.String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint after resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.
region - The region of the service.void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call
setRegion.
If no known Region could be determined, it will create an endpoint based on the
default endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint.
regionId - The public region ID.ChangeTableCompartmentResponse changeTableCompartment(ChangeTableCompartmentRequest request)
Change a table’s compartment.
request - The request object containing the details to sendBmcException - when an error occurs.CreateIndexResponse createIndex(CreateIndexRequest request)
Create a new index on the table identified by tableNameOrId.
request - The request object containing the details to sendBmcException - when an error occurs.CreateTableResponse createTable(CreateTableRequest request)
Create a new table.
request - The request object containing the details to sendBmcException - when an error occurs.DeleteIndexResponse deleteIndex(DeleteIndexRequest request)
Delete an index from the table identified by tableNameOrId.
request - The request object containing the details to sendBmcException - when an error occurs.DeleteRowResponse deleteRow(DeleteRowRequest request)
Delete a single row from the table, by primary key.
request - The request object containing the details to sendBmcException - when an error occurs.DeleteTableResponse deleteTable(DeleteTableRequest request)
Delete a table by tableNameOrId.
request - The request object containing the details to sendBmcException - when an error occurs.DeleteWorkRequestResponse deleteWorkRequest(DeleteWorkRequestRequest request)
Cancel a work request operation with the given ID.
request - The request object containing the details to sendBmcException - when an error occurs.GetIndexResponse getIndex(GetIndexRequest request)
Get information about a single index.
request - The request object containing the details to sendBmcException - when an error occurs.GetRowResponse getRow(GetRowRequest request)
Get a single row from the table by primary key.
request - The request object containing the details to sendBmcException - when an error occurs.GetTableResponse getTable(GetTableRequest request)
Get table info by identifier.
request - The request object containing the details to sendBmcException - when an error occurs.GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Get the status of the work request with the given ID.
request - The request object containing the details to sendBmcException - when an error occurs.ListIndexesResponse listIndexes(ListIndexesRequest request)
Get a list of indexes on a table.
request - The request object containing the details to sendBmcException - when an error occurs.ListTableUsageResponse listTableUsage(ListTableUsageRequest request)
Get table usage info.
request - The request object containing the details to sendBmcException - when an error occurs.ListTablesResponse listTables(ListTablesRequest request)
Get a list of tables in a compartment.
request - The request object containing the details to sendBmcException - when an error occurs.ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Return a (paginated) list of errors for a given work request.
request - The request object containing the details to sendBmcException - when an error occurs.ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Return a (paginated) list of logs for a given work request.
request - The request object containing the details to sendBmcException - when an error occurs.ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
List the work requests in a compartment.
request - The request object containing the details to sendBmcException - when an error occurs.PrepareStatementResponse prepareStatement(PrepareStatementRequest request)
Prepare a SQL statement for use in a query with variable substitution.
request - The request object containing the details to sendBmcException - when an error occurs.QueryResponse query(QueryRequest request)
Execute a SQL query.
request - The request object containing the details to sendBmcException - when an error occurs.SummarizeStatementResponse summarizeStatement(SummarizeStatementRequest request)
Check the syntax and return a brief summary of a SQL statement.
request - The request object containing the details to sendBmcException - when an error occurs.UpdateRowResponse updateRow(UpdateRowRequest request)
Write a single row into the table.
request - The request object containing the details to sendBmcException - when an error occurs.UpdateTableResponse updateTable(UpdateTableRequest request)
Alter the table identified by tableNameOrId, changing schema, limits, or tags
request - The request object containing the details to sendBmcException - when an error occurs.NosqlWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.
NosqlPaginators getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple
pages of data. These paginators provide an Iterable interface so that service responses, or
resources/records, can be iterated through without having to manually deal with pagination and page tokens.
Copyright © 2016–2020. All rights reserved.