Package com.yahoo.vespa.http.client
Programmatic API for feeding to Vespa clusters independently of the
cluster configuration.
NOTE: This is a PUBLIC API, but not annotated as such because this is not a bundle and
we don't want to introduce Vespa dependencies.
-
Interface Summary Interface Description FeedClient API for feeding document operations (add, removes or updates) to one or many Vespa clusters.FeedClient.ResultCallback This callback is executed when new results are arriving or an error occur.Session Deprecated. use either FeedClient or SyncFeedClient // TODO: Remove on Vespa 8 -
Class Summary Class Description FeedClientFactory Factory for creating FeedClient.Result The result of a stream operation.Result.Detail Information in a Result for a single operation sent to a single endpoint.SessionFactory Deprecated. use either FeedClient or SyncFeedClient // TODO: Remove on Vespa 8SimpleLoggerResultCallback Simple implementation of the ResultCallback that logs to std err for every X documents: "Result received: 34 (1 failed so far, 2003 sent, success rate 1999.23 docs/sec)." On each failure it will print the Result object content.SyncFeedClient A utility wrapper of a FeedClient which feeds a list of documents and blocks until all responses are returned, before returning the results.SyncFeedClient.SyncOperation Holds the arguments to a single stream operationSyncFeedClient.SyncResult The result of a SyncFeedClient.stream call. -
Enum Summary Enum Description Result.ResultType -
Exception Summary Exception Description FeedConnectException An exception thrown when the client is unable to connect to a feed endpoint.FeedEndpointException An exception type for endpoint specific errors.FeedProtocolException An exception thrown when a feed endpoint returns an error during feeding.