Kinetica C# API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
ModifyGraph.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 
10 
11 namespace kinetica
12 {
13 
29  {
30 
194  public struct Options
195  {
196 
201  public const string RESTRICTION_THRESHOLD_VALUE = "restriction_threshold_value";
202 
218  public const string EXPORT_CREATE_RESULTS = "export_create_results";
219  public const string TRUE = "true";
220  public const string FALSE = "false";
221 
241  public const string ENABLE_GRAPH_DRAW = "enable_graph_draw";
242 
261  public const string SAVE_PERSIST = "save_persist";
262 
285  public const string ADD_TABLE_MONITOR = "add_table_monitor";
286 
291  public const string GRAPH_TABLE = "graph_table";
292 
310  public const string REMOVE_LABEL_ONLY = "remove_label_only";
311 
329  public const string ADD_TURNS = "add_turns";
330 
338  public const string TURN_ANGLE = "turn_angle";
339  } // end struct Options
340 
341 
343  public string graph_name { get; set; }
344 
364  public IList<string> nodes { get; set; } = new List<string>();
365 
385  public IList<string> edges { get; set; } = new List<string>();
386 
405  public IList<string> weights { get; set; } = new List<string>();
406 
426  public IList<string> restrictions { get; set; } = new List<string>();
427 
589  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
590 
591 
594  public ModifyGraphRequest() { }
595 
840  IList<string> nodes,
841  IList<string> edges,
842  IList<string> weights,
843  IList<string> restrictions,
844  IDictionary<string, string> options = null)
845  {
846  this.graph_name = graph_name ?? "";
847  this.nodes = nodes ?? new List<string>();
848  this.edges = edges ?? new List<string>();
849  this.weights = weights ?? new List<string>();
850  this.restrictions = restrictions ?? new List<string>();
851  this.options = options ?? new Dictionary<string, string>();
852  } // end constructor
853 
854  } // end class ModifyGraphRequest
855 
856 
857 
862  {
863 
865  public long num_nodes { get; set; }
866 
868  public long num_edges { get; set; }
869 
872  public IList<long> edges_ids { get; set; } = new List<long>();
873 
875  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
876 
877  } // end class ModifyGraphResponse
878 
879 
880 
881 
882 } // end namespace kinetica
A set of parameters for Kinetica.modifyGraph(string,IList{string},IList{string},IList{string},IList{string},IDictionary{string, string}).
Definition: ModifyGraph.cs:28
ModifyGraphRequest(string graph_name, IList< string > nodes, IList< string > edges, IList< string > weights, IList< string > restrictions, IDictionary< string, string > options=null)
Constructs a ModifyGraphRequest object with the specified parameters.
Definition: ModifyGraph.cs:839
IDictionary< string, string > options
Optional parameters.
Definition: ModifyGraph.cs:589
IList< long > edges_ids
Edges given as pairs of node indices.
Definition: ModifyGraph.cs:872
ModifyGraphRequest()
Constructs a ModifyGraphRequest object with default parameters.
Definition: ModifyGraph.cs:594
const string GRAPH_TABLE
If specified, the created graph is also created as a table with the given name and following identifi...
Definition: ModifyGraph.cs:291
IList< string > weights
Weights with which to update existing in graph specified by .
Definition: ModifyGraph.cs:405
const string EXPORT_CREATE_RESULTS
If set to true, returns the graph topology in the response as arrays.
Definition: ModifyGraph.cs:218
const string RESTRICTION_THRESHOLD_VALUE
Value-based restriction comparison.
Definition: ModifyGraph.cs:201
IList< string > nodes
Nodes with which to update existing in graph specified by .
Definition: ModifyGraph.cs:364
IList< string > restrictions
Restrictions with which to update existing in graph specified by .
Definition: ModifyGraph.cs:426
string graph_name
Name of the graph resource to modify.
Definition: ModifyGraph.cs:343
IDictionary< string, string > info
Additional information.
Definition: ModifyGraph.cs:875
const string ADD_TABLE_MONITOR
Adds a table monitor to every table used in the creation of the graph; this table monitor will trigge...
Definition: ModifyGraph.cs:285
const string ADD_TURNS
Adds dummy &#39;pillowed&#39; edges around intersection nodes where there are more than three edges so that a...
Definition: ModifyGraph.cs:329
const string SAVE_PERSIST
If set to true, the graph will be saved in the persist directory (see the config reference for more i...
Definition: ModifyGraph.cs:261
IList< string > edges
Edges with which to update existing in graph specified by .
Definition: ModifyGraph.cs:385
const string ENABLE_GRAPH_DRAW
If set to true, adds a &#39;EDGE_WKTLINE&#39; column identifier to the specified graph_table so the graph can...
Definition: ModifyGraph.cs:241
long num_nodes
Total number of nodes in the graph.
Definition: ModifyGraph.cs:865
const string TURN_ANGLE
Value in degrees modifies the thresholds for attributing right, left, sharp turns, and intersections.
Definition: ModifyGraph.cs:338
A set of results returned by Kinetica.modifyGraph(string,IList{string},IList{string},IList{string},IList{string},IDictionary{string, string}).
Definition: ModifyGraph.cs:861
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string REMOVE_LABEL_ONLY
When RESTRICTIONS on labeled entities requested, if set to true this will NOT delete the entity but o...
Definition: ModifyGraph.cs:310
long num_edges
Total number of edges in the graph.
Definition: ModifyGraph.cs:868