Interface Summary Interface Description FeedClientAPI for feeding document operations (add, removes or updates) to one or many Vespa clusters. FeedClient.ResultCallbackThis callback is executed when new results are arriving or an error occur. SessionA Session is an entity used to feed operations (like documents, removes or updates) to one Vespa cluster or several clusters in parallel.
Class Summary Class Description FeedClientFactoryFactory for creating FeedClient. ResultThe result of a stream operation. Result.DetailInformation in a Result for a single operation sent to a single endpoint. SessionFactoryFactory for creating
SimpleLoggerResultCallbackSimple 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. SyncFeedClientA utility wrapper of a FeedClient which feeds a list of documents and blocks until all responses are returned, before returning the results. SyncFeedClient.SyncOperationHolds the arguments to a single stream operation SyncFeedClient.SyncResultThe result of a SyncFeedClient.stream call.
Enum Summary Enum Description Result.ResultType
Exception Summary Exception Description FeedConnectExceptionAn exception thrown when the client is unable to connect to a feed endpoint. FeedEndpointExceptionAn exception type for endpoint specific errors. FeedProtocolExceptionAn exception thrown when a feed endpoint returns an error during feeding.