Class ResultSet<T>
A ResultSet is returned from the submission of a Gremlin script to the server and represents the results provided by the server. ResultSet includes enumerable data and status attributes.
Inheritance
System.Object
ResultSet<T>
Namespace: Gremlin.Net.Driver
Assembly: cs.temp.dll.dll
Syntax
public sealed class ResultSet<T> : IReadOnlyCollection<T>
Type Parameters
Name | Description |
---|---|
T | Type of the result elements |
Constructors
ResultSet(IReadOnlyCollection<T>, IReadOnlyDictionary<String, Object>)
Initializes a new instance of the ResultSet class for the specified data and status attributes.
Declaration
public ResultSet(IReadOnlyCollection<T> data, IReadOnlyDictionary<string, object> attributes)
Parameters
Type | Name | Description |
---|---|---|
IReadOnlyCollection<T> | data | |
IReadOnlyDictionary<System.String, System.Object> | attributes |
Properties
Count
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
StatusAttributes
Gets or sets the status attributes from the gremlin response
Declaration
public IReadOnlyDictionary<string, object> StatusAttributes { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<System.String, System.Object> |
Methods
GetEnumerator()
Declaration
public IEnumerator<T> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<T> |