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.
Assembly: Gremlin.Net.dll
Syntax
public sealed class ResultSet<T> : IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable
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
Properties
Count
Declaration
public int Count { get; }
Property Value
StatusAttributes
Gets or sets the status attributes from the gremlin response
Declaration
public IReadOnlyDictionary<string, object> StatusAttributes { get; }
Property Value
Methods
GetEnumerator()
Declaration
public IEnumerator<T> GetEnumerator()
Returns
Implements