public class DefaultApi extends Object
| Constructor and Description |
|---|
DefaultApi() |
DefaultApi(ApiClient apiClient) |
public DefaultApi()
public DefaultApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call addCall(AddEmbedding body, String collectionId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)collectionId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Object add(AddEmbedding body, String collectionId) throws ApiException
body - (required)collectionId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> addWithHttpInfo(AddEmbedding body, String collectionId) throws ApiException
body - (required)collectionId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call addAsync(AddEmbedding body, String collectionId, ApiCallback<Object> callback) throws ApiException
body - (required)collectionId - (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 objectpublic okhttp3.Call countCall(String collectionId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
collectionId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Integer count(String collectionId) throws ApiException
collectionId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Integer> countWithHttpInfo(String collectionId) throws ApiException
collectionId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call countAsync(String collectionId, ApiCallback<Integer> callback) throws ApiException
collectionId - (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 objectpublic okhttp3.Call createCollectionCall(CreateCollection body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Object createCollection(CreateCollection body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> createCollectionWithHttpInfo(CreateCollection body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createCollectionAsync(CreateCollection body, ApiCallback<Object> callback) throws ApiException
body - (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 objectpublic okhttp3.Call createIndexCall(String collectionName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
collectionName - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Boolean createIndex(String collectionName) throws ApiException
collectionName - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Boolean> createIndexWithHttpInfo(String collectionName) throws ApiException
collectionName - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createIndexAsync(String collectionName, ApiCallback<Boolean> callback) throws ApiException
collectionName - (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 objectpublic okhttp3.Call deleteCall(DeleteEmbedding body, String collectionId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)collectionId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Object delete(DeleteEmbedding body, String collectionId) throws ApiException
body - (required)collectionId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> deleteWithHttpInfo(DeleteEmbedding body, String collectionId) throws ApiException
body - (required)collectionId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteAsync(DeleteEmbedding body, String collectionId, ApiCallback<Object> callback) throws ApiException
body - (required)collectionId - (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 objectpublic okhttp3.Call deleteCollectionCall(String collectionName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
collectionName - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Object deleteCollection(String collectionName) throws ApiException
collectionName - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> deleteCollectionWithHttpInfo(String collectionName) throws ApiException
collectionName - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteCollectionAsync(String collectionName, ApiCallback<Object> callback) throws ApiException
collectionName - (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 objectpublic okhttp3.Call getCall(GetEmbedding body, String collectionId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)collectionId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Object get(GetEmbedding body, String collectionId) throws ApiException
body - (required)collectionId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> getWithHttpInfo(GetEmbedding body, String collectionId) throws ApiException
body - (required)collectionId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAsync(GetEmbedding body, String collectionId, ApiCallback<Object> callback) throws ApiException
body - (required)collectionId - (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 objectpublic okhttp3.Call getCollectionCall(String collectionName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
collectionName - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Object getCollection(String collectionName) throws ApiException
collectionName - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> getCollectionWithHttpInfo(String collectionName) throws ApiException
collectionName - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getCollectionAsync(String collectionName, ApiCallback<Object> callback) throws ApiException
collectionName - (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 objectpublic okhttp3.Call getNearestNeighborsCall(QueryEmbedding body, String collectionId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)collectionId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Object getNearestNeighbors(QueryEmbedding body, String collectionId) throws ApiException
body - (required)collectionId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> getNearestNeighborsWithHttpInfo(QueryEmbedding body, String collectionId) throws ApiException
body - (required)collectionId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getNearestNeighborsAsync(QueryEmbedding body, String collectionId, ApiCallback<Object> callback) throws ApiException
body - (required)collectionId - (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 objectpublic okhttp3.Call heartbeatCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Map<String,BigDecimal> heartbeat() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Map<String,BigDecimal>> heartbeatWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call heartbeatAsync(ApiCallback<Map<String,BigDecimal>> callback) throws ApiException
callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call listCollectionsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Object listCollections() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> listCollectionsWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call listCollectionsAsync(ApiCallback<Object> callback) throws ApiException
callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call rawSqlCall(RawSql body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Object rawSql(RawSql body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> rawSqlWithHttpInfo(RawSql body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call rawSqlAsync(RawSql body, ApiCallback<Object> callback) throws ApiException
body - (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 objectpublic okhttp3.Call resetCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Boolean reset() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Boolean> resetWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call resetAsync(ApiCallback<Boolean> callback) throws ApiException
callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call rootCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Map<String,Integer> root() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Map<String,Integer>> rootWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call rootAsync(ApiCallback<Map<String,Integer>> callback) throws ApiException
callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call updateCall(UpdateEmbedding body, String collectionId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)collectionId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Object update(UpdateEmbedding body, String collectionId) throws ApiException
body - (required)collectionId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> updateWithHttpInfo(UpdateEmbedding body, String collectionId) throws ApiException
body - (required)collectionId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updateAsync(UpdateEmbedding body, String collectionId, ApiCallback<Object> callback) throws ApiException
body - (required)collectionId - (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 objectpublic okhttp3.Call updateCollectionCall(UpdateCollection body, String collectionId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)collectionId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Object updateCollection(UpdateCollection body, String collectionId) throws ApiException
body - (required)collectionId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> updateCollectionWithHttpInfo(UpdateCollection body, String collectionId) throws ApiException
body - (required)collectionId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updateCollectionAsync(UpdateCollection body, String collectionId, ApiCallback<Object> callback) throws ApiException
body - (required)collectionId - (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 objectpublic okhttp3.Call upsertCall(AddEmbedding body, String collectionId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)collectionId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Object upsert(AddEmbedding body, String collectionId) throws ApiException
body - (required)collectionId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> upsertWithHttpInfo(AddEmbedding body, String collectionId) throws ApiException
body - (required)collectionId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call upsertAsync(AddEmbedding body, String collectionId, ApiCallback<Object> callback) throws ApiException
body - (required)collectionId - (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 objectpublic okhttp3.Call versionCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String version() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> versionWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call versionAsync(ApiCallback<String> callback) throws ApiException
callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2023 Amikos Tech OOD. All rights reserved.