Class Result

java.lang.Object
com.yahoo.vespa.http.client.Result

@Deprecated public class Result extends Object
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
  • Constructor Details

  • Method Details

    • getDocumentId

      public String getDocumentId()
      Deprecated.
      Returns the document id that this result is for
    • getOperationId

      public String getOperationId()
      Deprecated.
      Returns the id of the operation this is the result of
    • getDocumentDataAsCharSequence

      public CharSequence getDocumentDataAsCharSequence()
      Deprecated.
      Returns the document data
    • getContext

      public Object 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 one Result.Detail in getDetails() is unsuccessful, this will return false.
    • isSuccessOrConditionNotMet

      public boolean isSuccessOrConditionNotMet()
      Deprecated.
    • getDetails

      public List<Result.Detail> getDetails()
      Deprecated.
    • hasLocalTrace

      public boolean hasLocalTrace()
      Deprecated.
      Returns whether the operation has been set up with local tracing
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object