Kinetica   C#   API  Version 7.2.3.0
GetGraphEntities.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 namespace kinetica
10 {
19  {
23  public struct Options
24  {
40  public const string ENTITY_TYPE = "entity_type";
41 
43  public const string EDGE = "edge";
44 
46  public const string NODE = "node";
47 
52  public const string SERVER_ID = "server_id";
53  } // end struct Options
54 
57  public string graph_name { get; set; }
58 
62  public long offset { get; set; } = 0;
63 
73  public long limit { get; set; } = 10000;
74 
104  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
105 
109 
155  long? offset = null,
156  long? limit = null,
157  IDictionary<string, string> options = null)
158  {
159  this.graph_name = graph_name ?? "";
160  this.offset = offset ?? 0;
161  this.limit = limit ?? 10000;
162  this.options = options ?? new Dictionary<string, string>();
163  } // end constructor
164  } // end class GetGraphEntitiesRequest
165 
170  {
172  public bool result { get; set; }
173 
182  public IList<long> entities_int { get; set; } = new List<long>();
183 
196  public IList<string> entities_string { get; set; } = new List<string>();
197 
202  public IList<string> labels { get; set; } = new List<string>();
203 
214  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
215  } // end class GetGraphEntitiesResponse
216 } // end namespace kinetica
A set of string constants for the parameter options.
long limit
Number of entities to retrieve starting from offset.
IDictionary< string, string > info
Additional information map.
const string ENTITY_TYPE
The type of entity to retrieve.
IList< string > labels
Array of distinct label strings.
IList< string > entities_string
Flat array of entity data for name-identifier or WKT-identifier (geo/XY) graphs with a repeating stri...
const string EDGE
Retrieve edge entities (default).
bool result
Indicates a successful retrieval.
long offset
Starting index of the entities to retrieve (0-based).
IList< long > entities_int
Flat array of entity data for integer-identifier graphs with a repeating stride.
string graph_name
Name of the graph from which to retrieve entities.
A set of results returned by Kinetica.getGraphEntities.
A set of parameters for Kinetica.getGraphEntities.
IDictionary< string, string > options
Optional parameters.
GetGraphEntitiesRequest()
Constructs a GetGraphEntitiesRequest object with default parameters.
GetGraphEntitiesRequest(string graph_name, long? offset=null, long? limit=null, IDictionary< string, string > options=null)
Constructs a GetGraphEntitiesRequest object with the specified parameters.
const string NODE
Retrieve node entities.
const string SERVER_ID
Indicates which graph server to send the request to.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14