Class BackupCreator
java.lang.Object
io.weaviate.client.base.AsyncBaseClient<BackupCreateResponse>
io.weaviate.client.v1.async.backup.api.BackupCreator
- All Implemented Interfaces:
AsyncClientResult<BackupCreateResponse>
public class BackupCreator
extends AsyncBaseClient<BackupCreateResponse>
implements AsyncClientResult<BackupCreateResponse>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic class -
Field Summary
Fields inherited from class io.weaviate.client.base.AsyncBaseClient
client -
Constructor Summary
ConstructorsConstructorDescriptionBackupCreator(org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient client, Config config, AccessTokenProvider tokenProvider, BackupCreateStatusGetter statusGetter, Executor executor) -
Method Summary
Modifier and TypeMethodDescriptionrun(org.apache.hc.core5.concurrent.FutureCallback<Result<BackupCreateResponse>> callback) withBackend(String backend) withBackupId(String backupId) withExcludeClassNames(String... classNames) withIncludeClassNames(String... classNames) withWaitForCompletion(boolean waitForCompletion) 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
-
BackupCreator
public BackupCreator(org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient client, Config config, AccessTokenProvider tokenProvider, BackupCreateStatusGetter statusGetter, Executor executor)
-
-
Method Details
-
withIncludeClassNames
-
withExcludeClassNames
-
withBackend
-
withBackupId
-
withConfig
-
withWaitForCompletion
-
run
public Future<Result<BackupCreateResponse>> run(org.apache.hc.core5.concurrent.FutureCallback<Result<BackupCreateResponse>> callback) - Specified by:
runin interfaceAsyncClientResult<BackupCreateResponse>
-