Package com.yahoo.vespa.http.client
Class Result
java.lang.Object
com.yahoo.vespa.http.client.Result
Deprecated.
Vespa-http-client will be removed in Vespa 8. It's replaced by vespa-feed-client
The result of a stream operation. A Result refers to a single document,
but may contain more than one Result.Detail instances, as these pertains to a
single endpoint, and a Result may wrap data for multiple endpoints.
- Author:
- Einar M R Rosenvinge
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Deprecated.Information in a Result for a single operation sent to a single endpoint.static enum
Deprecated. -
Constructor Summary
ConstructorDescriptionResult
(Document document, Collection<Result.Detail> values, StringBuilder localTrace) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the context of the object if anyDeprecated.Deprecated.Returns the document dataDeprecated.Returns the document id that this result is forDeprecated.Returns the id of the operation this is the result ofboolean
Deprecated.Returns whether the operation has been set up with local tracingboolean
Deprecated.Returns true if the operation(s) was successful.boolean
Deprecated.toString()
Deprecated.
-
Constructor Details
-
Result
Deprecated.
-
-
Method Details
-
getDocumentId
Deprecated.Returns the document id that this result is for -
getOperationId
Deprecated.Returns the id of the operation this is the result of -
getDocumentDataAsCharSequence
Deprecated.Returns the document data -
getContext
Deprecated.Returns the context of the object if any -
isSuccess
public boolean isSuccess()Deprecated.Returns true if the operation(s) was successful. If at least oneResult.Detail
ingetDetails()
is unsuccessful, this will return false. -
isSuccessOrConditionNotMet
public boolean isSuccessOrConditionNotMet()Deprecated. -
getDetails
Deprecated. -
hasLocalTrace
public boolean hasLocalTrace()Deprecated.Returns whether the operation has been set up with local tracing -
toString
Deprecated.
-