Class ViewMetaData

java.lang.Object
com.couchbase.client.java.view.ViewMetaData

public class ViewMetaData extends Object
Holds Metadata associated with a ViewResult.
Since:
3.0.0
  • Method Details

    • debug

      public Optional<JsonObject> debug()
      If present, returns debug information of the view request.

      This information is only present if the debug flag has been set on the view options in the first place. Note that this is a costly operation and should only be used - as the name suggests - during debugging.

      Returns:
      the debug information as a generic JsonObject if present.
    • totalRows

      public long totalRows()
      Returns the total number of rows in the view as presented by the server.
      Returns:
      the total number of rows.
    • toString

      public String toString()
      Overrides:
      toString in class Object