Class ObjectsBatchDeleter
java.lang.Object
io.weaviate.client.base.AsyncBaseClient<BatchDeleteResponse>
io.weaviate.client.v1.async.batch.api.ObjectsBatchDeleter
- All Implemented Interfaces:
AsyncClientResult<BatchDeleteResponse>
public class ObjectsBatchDeleter
extends AsyncBaseClient<BatchDeleteResponse>
implements AsyncClientResult<BatchDeleteResponse>
-
Field Summary
Fields inherited from class io.weaviate.client.base.AsyncBaseClient
client -
Constructor Summary
ConstructorsConstructorDescriptionObjectsBatchDeleter(org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient client, Config config, AccessTokenProvider tokenProvider, ObjectsPath objectsPath) -
Method Summary
Modifier and TypeMethodDescriptionrun()run(org.apache.hc.core5.concurrent.FutureCallback<Result<BatchDeleteResponse>> callback) withClassName(String className) withConsistencyLevel(String consistencyLevel) withDryRun(Boolean dryRun) withOutput(String output) withTenant(String tenant) withWhere(WhereFilter where) Methods inherited from class io.weaviate.client.base.AsyncBaseClient
getRequest, sendDeleteRequest, sendDeleteRequest, sendGetRequest, sendGetRequest, sendHeadRequest, sendHeadRequest, sendPatchRequest, sendPatchRequest, sendPostRequest, sendPostRequest, sendPutRequest, sendPutRequest
-
Constructor Details
-
ObjectsBatchDeleter
public ObjectsBatchDeleter(org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient client, Config config, AccessTokenProvider tokenProvider, ObjectsPath objectsPath)
-
-
Method Details
-
withClassName
-
withConsistencyLevel
-
withTenant
-
withWhere
-
withOutput
-
withDryRun
-
run
- Specified by:
runin interfaceAsyncClientResult<BatchDeleteResponse>
-
run
public Future<Result<BatchDeleteResponse>> run(org.apache.hc.core5.concurrent.FutureCallback<Result<BatchDeleteResponse>> callback) - Specified by:
runin interfaceAsyncClientResult<BatchDeleteResponse>
-