Class ReferencesBatcher
java.lang.Object
io.weaviate.client.base.AsyncBaseClient<BatchReferenceResponse[]>
io.weaviate.client.v1.async.batch.api.ReferencesBatcher
- All Implemented Interfaces:
AsyncClientResult<BatchReferenceResponse[]>
public class ReferencesBatcher
extends AsyncBaseClient<BatchReferenceResponse[]>
implements AsyncClientResult<BatchReferenceResponse[]>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields inherited from class io.weaviate.client.base.AsyncBaseClient
client -
Method Summary
Modifier and TypeMethodDescriptionstatic ReferencesBatchercreate(org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient client, Config config, AccessTokenProvider tokenProvider, ReferencesPath referencesPath, ReferencesBatcher.BatchRetriesConfig batchRetriesConfig, Executor executor) static ReferencesBatchercreateAuto(org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient client, Config config, AccessTokenProvider tokenProvider, ReferencesPath referencesPath, ReferencesBatcher.BatchRetriesConfig batchRetriesConfig, ReferencesBatcher.AutoBatchConfig autoBatchConfig, Executor executor) run(org.apache.hc.core5.concurrent.FutureCallback<Result<BatchReferenceResponse[]>> callback) withConsistencyLevel(String consistencyLevel) withReference(BatchReference reference) withReferences(BatchReference... references) Methods inherited from class io.weaviate.client.base.AsyncBaseClient
getRequest, sendDeleteRequest, sendDeleteRequest, sendGetRequest, sendGetRequest, sendHeadRequest, sendHeadRequest, sendPatchRequest, sendPatchRequest, sendPostRequest, sendPostRequest, sendPutRequest, sendPutRequestMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.weaviate.client.base.AsyncClientResult
run
-
Method Details
-
create
public static ReferencesBatcher create(org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient client, Config config, AccessTokenProvider tokenProvider, ReferencesPath referencesPath, ReferencesBatcher.BatchRetriesConfig batchRetriesConfig, Executor executor) -
createAuto
public static ReferencesBatcher createAuto(org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient client, Config config, AccessTokenProvider tokenProvider, ReferencesPath referencesPath, ReferencesBatcher.BatchRetriesConfig batchRetriesConfig, ReferencesBatcher.AutoBatchConfig autoBatchConfig, Executor executor) -
withReference
-
withReferences
-
withConsistencyLevel
-
run
public Future<Result<BatchReferenceResponse[]>> run(org.apache.hc.core5.concurrent.FutureCallback<Result<BatchReferenceResponse[]>> callback) - Specified by:
runin interfaceAsyncClientResult<BatchReferenceResponse[]>
-