public class BulkOperationsApi
extends java.lang.Object
| Constructor and Description |
|---|
BulkOperationsApi() |
BulkOperationsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
cancelBulkImport(java.lang.String id)
Cancel an import
The `cancel_import` operation cancels an import operation if it is not yet finished.
|
okhttp3.Call |
cancelBulkImportAsync(java.lang.String id,
ApiCallback<java.lang.Object> _callback)
Cancel an import (asynchronously)
The `cancel_import` operation cancels an import operation if it is not yet finished.
|
okhttp3.Call |
cancelBulkImportCall(java.lang.String id,
ApiCallback _callback)
Build call for cancelBulkImport
|
ApiResponse<java.lang.Object> |
cancelBulkImportWithHttpInfo(java.lang.String id)
Cancel an import
The `cancel_import` operation cancels an import operation if it is not yet finished.
|
ImportModel |
describeBulkImport(java.lang.String id)
Describe an import
The `describe_import` operation returns details of a specific import operation.
|
okhttp3.Call |
describeBulkImportAsync(java.lang.String id,
ApiCallback<ImportModel> _callback)
Describe an import (asynchronously)
The `describe_import` operation returns details of a specific import operation.
|
okhttp3.Call |
describeBulkImportCall(java.lang.String id,
ApiCallback _callback)
Build call for describeBulkImport
|
ApiResponse<ImportModel> |
describeBulkImportWithHttpInfo(java.lang.String id)
Describe an import
The `describe_import` operation returns details of a specific import operation.
|
ApiClient |
getApiClient() |
java.lang.String |
getCustomBaseUrl() |
int |
getHostIndex() |
ListImportsResponse |
listBulkImports(java.lang.Integer limit,
java.lang.String paginationToken)
List imports
The `list_imports` operation lists all recent and ongoing import operations.
|
okhttp3.Call |
listBulkImportsAsync(java.lang.Integer limit,
java.lang.String paginationToken,
ApiCallback<ListImportsResponse> _callback)
List imports (asynchronously)
The `list_imports` operation lists all recent and ongoing import operations.
|
okhttp3.Call |
listBulkImportsCall(java.lang.Integer limit,
java.lang.String paginationToken,
ApiCallback _callback)
Build call for listBulkImports
|
ApiResponse<ListImportsResponse> |
listBulkImportsWithHttpInfo(java.lang.Integer limit,
java.lang.String paginationToken)
List imports
The `list_imports` operation lists all recent and ongoing import operations.
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(java.lang.String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
StartImportResponse |
startBulkImport(StartImportRequest startImportRequest)
Start import
The `start_import` operation starts an asynchronous import of vectors from object storage into an index.
|
okhttp3.Call |
startBulkImportAsync(StartImportRequest startImportRequest,
ApiCallback<StartImportResponse> _callback)
Start import (asynchronously)
The `start_import` operation starts an asynchronous import of vectors from object storage into an index.
|
okhttp3.Call |
startBulkImportCall(StartImportRequest startImportRequest,
ApiCallback _callback)
Build call for startBulkImport
|
ApiResponse<StartImportResponse> |
startBulkImportWithHttpInfo(StartImportRequest startImportRequest)
Start import
The `start_import` operation starts an asynchronous import of vectors from object storage into an index.
|
public BulkOperationsApi()
public BulkOperationsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public java.lang.String getCustomBaseUrl()
public void setCustomBaseUrl(java.lang.String customBaseUrl)
public okhttp3.Call cancelBulkImportCall(java.lang.String id,
ApiCallback _callback)
throws ApiException
id - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Operation cancelled successfully | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 4XX | An unexpected error response. | - |
| 5XX | An unexpected error response. | - |
public java.lang.Object cancelBulkImport(java.lang.String id)
throws ApiException
id - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Operation cancelled successfully | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 4XX | An unexpected error response. | - |
| 5XX | An unexpected error response. | - |
public ApiResponse<java.lang.Object> cancelBulkImportWithHttpInfo(java.lang.String id) throws ApiException
id - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Operation cancelled successfully | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 4XX | An unexpected error response. | - |
| 5XX | An unexpected error response. | - |
public okhttp3.Call cancelBulkImportAsync(java.lang.String id,
ApiCallback<java.lang.Object> _callback)
throws ApiException
id - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Operation cancelled successfully | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 4XX | An unexpected error response. | - |
| 5XX | An unexpected error response. | - |
public okhttp3.Call describeBulkImportCall(java.lang.String id,
ApiCallback _callback)
throws ApiException
id - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Details of the import operation | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 4XX | An unexpected error response. | - |
| 5XX | An unexpected error response. | - |
public ImportModel describeBulkImport(java.lang.String id) throws ApiException
id - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Details of the import operation | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 4XX | An unexpected error response. | - |
| 5XX | An unexpected error response. | - |
public ApiResponse<ImportModel> describeBulkImportWithHttpInfo(java.lang.String id) throws ApiException
id - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Details of the import operation | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 4XX | An unexpected error response. | - |
| 5XX | An unexpected error response. | - |
public okhttp3.Call describeBulkImportAsync(java.lang.String id,
ApiCallback<ImportModel> _callback)
throws ApiException
id - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Details of the import operation | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 4XX | An unexpected error response. | - |
| 5XX | An unexpected error response. | - |
public okhttp3.Call listBulkImportsCall(java.lang.Integer limit,
java.lang.String paginationToken,
ApiCallback _callback)
throws ApiException
limit - Max number of operations to return per page. (optional)paginationToken - Pagination token to continue a previous listing operation. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | A list of import operations | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 4XX | An unexpected error response. | - |
| 5XX | An unexpected error response. | - |
public ListImportsResponse listBulkImports(java.lang.Integer limit, java.lang.String paginationToken) throws ApiException
limit - Max number of operations to return per page. (optional)paginationToken - Pagination token to continue a previous listing operation. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | A list of import operations | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 4XX | An unexpected error response. | - |
| 5XX | An unexpected error response. | - |
public ApiResponse<ListImportsResponse> listBulkImportsWithHttpInfo(java.lang.Integer limit, java.lang.String paginationToken) throws ApiException
limit - Max number of operations to return per page. (optional)paginationToken - Pagination token to continue a previous listing operation. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | A list of import operations | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 4XX | An unexpected error response. | - |
| 5XX | An unexpected error response. | - |
public okhttp3.Call listBulkImportsAsync(java.lang.Integer limit,
java.lang.String paginationToken,
ApiCallback<ListImportsResponse> _callback)
throws ApiException
limit - Max number of operations to return per page. (optional)paginationToken - Pagination token to continue a previous listing operation. (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | A list of import operations | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 4XX | An unexpected error response. | - |
| 5XX | An unexpected error response. | - |
public okhttp3.Call startBulkImportCall(StartImportRequest startImportRequest, ApiCallback _callback) throws ApiException
startImportRequest - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Successful import operation | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 4XX | An unexpected error response. | - |
| 5XX | An unexpected error response. | - |
public StartImportResponse startBulkImport(StartImportRequest startImportRequest) throws ApiException
startImportRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successful import operation | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 4XX | An unexpected error response. | - |
| 5XX | An unexpected error response. | - |
public ApiResponse<StartImportResponse> startBulkImportWithHttpInfo(StartImportRequest startImportRequest) throws ApiException
startImportRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successful import operation | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 4XX | An unexpected error response. | - |
| 5XX | An unexpected error response. | - |
public okhttp3.Call startBulkImportAsync(StartImportRequest startImportRequest, ApiCallback<StartImportResponse> _callback) throws ApiException
startImportRequest - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Successful import operation | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 4XX | An unexpected error response. | - |
| 5XX | An unexpected error response. | - |