Class ShardUpdater
java.lang.Object
io.weaviate.client.base.AsyncBaseClient<ShardStatus>
io.weaviate.client.v1.async.schema.api.ShardUpdater
- All Implemented Interfaces:
AsyncClientResult<ShardStatus>
public class ShardUpdater
extends AsyncBaseClient<ShardStatus>
implements AsyncClientResult<ShardStatus>
-
Field Summary
Fields inherited from class io.weaviate.client.base.AsyncBaseClient
client -
Constructor Summary
ConstructorsConstructorDescriptionShardUpdater(org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient client, Config config, AccessTokenProvider tokenProvider) -
Method Summary
Modifier and TypeMethodDescriptionrun(org.apache.hc.core5.concurrent.FutureCallback<Result<ShardStatus>> callback) withClassName(String className) withShardName(String shardName) withStatus(String targetStatus) 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
-
Constructor Details
-
ShardUpdater
public ShardUpdater(org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient client, Config config, AccessTokenProvider tokenProvider)
-
-
Method Details
-
withClassName
-
withShardName
-
withStatus
-
run
public Future<Result<ShardStatus>> run(org.apache.hc.core5.concurrent.FutureCallback<Result<ShardStatus>> callback) - Specified by:
runin interfaceAsyncClientResult<ShardStatus>
-