Interface IDocumentFragment
Inherited Members
Namespace: Couchbase.Core.IO.Operations.SubDocument
Assembly: Couchbase.NetClient.dll
Syntax
public interface IDocumentFragment : IOperationResult, IResult
Methods
| Improve this Doc View SourceContent(Int32)
The value if it exists for a specific index.
Declaration
object Content(int index)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The ordinal of the operation to retrieve the value from. |
Returns
Type | Description |
---|---|
Object | An |
Remarks
If no value exists, the default value for the
Content(String)
The value if it exists for a specific path.
Declaration
object Content(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path of the operation to retrieve the value from. |
Returns
Type | Description |
---|---|
Object | An |
Remarks
If no value exists, the default value (null) for the
Content<TContent>(Int32)
The value if it exists for a specific index.
Declaration
TContent Content<TContent>(int index)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The ordinal of the operation to retrieve the value from. |
Returns
Type | Description |
---|---|
TContent | An object of type |
Type Parameters
Name | Description |
---|---|
TContent | The |
Remarks
If no value exists, the default value for the
Content<TContent>(String)
The value if it exists for a specific path.
Declaration
TContent Content<TContent>(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path of the operation to retrieve the value from. |
Returns
Type | Description |
---|---|
TContent | An object of type |
Type Parameters
Name | Description |
---|---|
TContent | The |
Remarks
If no value exists, the default value for the
Count()
The count of the sub-document operations chained togather.
Declaration
int Count()
Returns
Type | Description |
---|---|
Int32 | An |
Exists(String)
Checks whether the given path is part of this result set, eg. an operation targeted it, and the operation executed successfully.
Declaration
bool Exists(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path for the sub-document operation. |
Returns
Type | Description |
---|---|
Boolean |
|
OpStatus(Int32)
Gets the ResponseStatus for a specific operation at it's index.
Declaration
ResponseStatus OpStatus(int index)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The ordinal of the operation. |
Returns
Type | Description |
---|---|
ResponseStatus | The ResponseStatus that the server returned. |
OpStatus(String)
Gets the ResponseStatus for a specific operation at it's path.
Declaration
ResponseStatus OpStatus(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path of the operation. |
Returns
Type | Description |
---|---|
ResponseStatus | The ResponseStatus that the server returned. |