Represents the results of a View query.
Inheritance Hierarchy
Namespace: Couchbase.ViewsAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax
Type Parameters
- T
- The Type parameter to be used for deserialization by the IDataMapper implementation.
The ViewResult T type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ViewResult T | Initializes a new instance of the ViewResult T class |
Methods
Name | Description | |
---|---|---|
CannotRetry |
Checks to see if the operation is eligible for a retry.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ShouldRetry | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Error |
An error message if one occured.
| |
Exception |
If Success is false and an exception has been caught internally, this field will contain the exception.
| |
Message |
An optional message returned by the server or the client
| |
Rows |
The results of the query if successful as a IEnumerable T | |
StatusCode |
The HTTP Status Code for the request
| |
Success |
True if the request was successful
| |
TotalRows |
The total number of rows.
| |
Values |
Returns the value of each element within the Rows property as a IEnumerable T .
|
See Also