Show / Hide Table of Contents

Class Result

A class representing information about a "row" in the result of an IQuery

Inheritance
System.Object
Result
Implements
IArray
IArrayFragment
System.Collections.Generic.IEnumerable<System.Object>
IDictionaryObject
IDictionaryFragment
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Object>>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Couchbase.Lite.Query
Assembly: Couchbase.Lite.dll
Syntax
public sealed class Result : IArray, IArrayFragment, IEnumerable<object>, IDictionaryObject, IDictionaryFragment, IEnumerable<KeyValuePair<string, object>>, IEnumerable

Properties

| Improve this Doc View Source

Count

Gets the number of entries in the result

Declaration
public int Count { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Item[Int32]

Declaration
public IFragment this[int index] { get; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
IFragment
| Improve this Doc View Source

Item[String]

Declaration
public IFragment this[string key] { get; }
Parameters
Type Name Description
System.String key
Property Value
Type Description
IFragment
| Improve this Doc View Source

Keys

Declaration
public ICollection<string> Keys { get; }
Property Value
Type Description
System.Collections.Generic.ICollection<System.String>

Methods

| Improve this Doc View Source

Contains(String)

Declaration
public bool Contains(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetArray(Int32)

Declaration
public ArrayObject GetArray(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
ArrayObject
| Improve this Doc View Source

GetArray(String)

Declaration
public ArrayObject GetArray(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
ArrayObject
| Improve this Doc View Source

GetBlob(Int32)

Declaration
public Blob GetBlob(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
Blob
| Improve this Doc View Source

GetBlob(String)

Declaration
public Blob GetBlob(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
Blob
| Improve this Doc View Source

GetBoolean(Int32)

Declaration
public bool GetBoolean(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetBoolean(String)

Declaration
public bool GetBoolean(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetDate(Int32)

Declaration
public DateTimeOffset GetDate(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.DateTimeOffset
| Improve this Doc View Source

GetDate(String)

Declaration
public DateTimeOffset GetDate(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.DateTimeOffset
| Improve this Doc View Source

GetDictionary(Int32)

Declaration
public DictionaryObject GetDictionary(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
DictionaryObject
| Improve this Doc View Source

GetDictionary(String)

Declaration
public DictionaryObject GetDictionary(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
DictionaryObject
| Improve this Doc View Source

GetDouble(Int32)

Declaration
public double GetDouble(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.Double
| Improve this Doc View Source

GetDouble(String)

Declaration
public double GetDouble(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.Double
| Improve this Doc View Source

GetFloat(Int32)

Declaration
public float GetFloat(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.Single
| Improve this Doc View Source

GetFloat(String)

Declaration
public float GetFloat(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.Single
| Improve this Doc View Source

GetInt(Int32)

Declaration
public int GetInt(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetInt(String)

Declaration
public int GetInt(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetLong(Int32)

Declaration
public long GetLong(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.Int64
| Improve this Doc View Source

GetLong(String)

Declaration
public long GetLong(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.Int64
| Improve this Doc View Source

GetString(Int32)

Declaration
public string GetString(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.String
| Improve this Doc View Source

GetString(String)

Declaration
public string GetString(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.String
| Improve this Doc View Source

GetValue(Int32)

Declaration
public object GetValue(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.Object
| Improve this Doc View Source

GetValue(String)

Declaration
public object GetValue(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.Object
| Improve this Doc View Source

ToDictionary()

Declaration
public Dictionary<string, object> ToDictionary()
Returns
Type Description
System.Collections.Generic.Dictionary<System.String, System.Object>
| Improve this Doc View Source

ToList()

Declaration
public List<object> ToList()
Returns
Type Description
System.Collections.Generic.List<System.Object>

Explicit Interface Implementations

| Improve this Doc View Source

IEnumerable<KeyValuePair<String, Object>>.GetEnumerator()

Declaration
IEnumerator<KeyValuePair<string, object>> IEnumerable<KeyValuePair<string, object>>.GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<System.String, System.Object>>
| Improve this Doc View Source

IEnumerable<Object>.GetEnumerator()

Declaration
IEnumerator<object> IEnumerable<object>.GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<System.Object>
| Improve this Doc View Source

IEnumerable.GetEnumerator()

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

Implements

IArray
IArrayFragment
System.Collections.Generic.IEnumerable<T>
IDictionaryObject
IDictionaryFragment
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX