Uses of Interface
ai.vespa.feed.client.Result
-
Uses of Result in ai.vespa.feed.client
Modifier and TypeMethodDescriptionFeedClient.await
(CompletableFuture<Result>... promises) Same asFeedClient.await(List)
exceptpromises
parameter is a varargFeedClient.await
(List<CompletableFuture<Result>> promises) Waits for all feed operations to complete, either successfully or with exception.JsonFeeder.feedSingle
(String json) Feeds single JSON feed operations on the formFeedClient.put
(DocumentId documentId, String documentJson, OperationParameters params) Send a document put with the given parameters, returning a future with the result of the operation.FeedClient.remove
(DocumentId documentId, OperationParameters params) Send a document remove with the given parameters, returning a future with the result of the operation.FeedClient.update
(DocumentId documentId, String updateJson, OperationParameters params) Send a document update with the given parameters, returning a future with the result of the operation.Modifier and TypeMethodDescriptiondefault void
JsonFeeder.ResultCallback.onNextResult
(Result result, FeedException error) Invoked after each operation has either completed successfully or failed