Kinetica C# API  Version 7.1.10.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 
247  public struct Options
248  {
249 
254  public const string RESTRICTION_THRESHOLD_VALUE = "restriction_threshold_value";
255 
271  public const string EXPORT_CREATE_RESULTS = "export_create_results";
272  public const string TRUE = "true";
273  public const string FALSE = "false";
274 
294  public const string ENABLE_GRAPH_DRAW = "enable_graph_draw";
295 
314  public const string SAVE_PERSIST = "save_persist";
315 
338  public const string ADD_TABLE_MONITOR = "add_table_monitor";
339 
350  public const string GRAPH_TABLE = "graph_table";
351 
369  public const string REMOVE_LABEL_ONLY = "remove_label_only";
370 
388  public const string ADD_TURNS = "add_turns";
389 
397  public const string TURN_ANGLE = "turn_angle";
398 
414  public const string USE_RTREE = "use_rtree";
415 
420  public const string LABEL_DELIMITER = "label_delimiter";
421 
438  public const string ALLOW_MULTIPLE_EDGES = "allow_multiple_edges";
439  } // end struct Options
440 
441 
443  public string graph_name { get; set; }
444 
464  public IList<string> nodes { get; set; } = new List<string>();
465 
485  public IList<string> edges { get; set; } = new List<string>();
486 
505  public IList<string> weights { get; set; } = new List<string>();
506 
526  public IList<string> restrictions { get; set; } = new List<string>();
527 
742  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
743 
744 
747  public ModifyGraphRequest() { }
748 
1046  IList<string> nodes,
1047  IList<string> edges,
1048  IList<string> weights,
1049  IList<string> restrictions,
1050  IDictionary<string, string> options = null)
1051  {
1052  this.graph_name = graph_name ?? "";
1053  this.nodes = nodes ?? new List<string>();
1054  this.edges = edges ?? new List<string>();
1055  this.weights = weights ?? new List<string>();
1056  this.restrictions = restrictions ?? new List<string>();
1057  this.options = options ?? new Dictionary<string, string>();
1058  } // end constructor
1059 
1060  } // end class ModifyGraphRequest
1061 
1062 
1063 
1068  {
1069 
1072  public bool result { get; set; }
1073 
1075  public long num_nodes { get; set; }
1076 
1078  public long num_edges { get; set; }
1079 
1082  public IList<long> edges_ids { get; set; } = new List<long>();
1083 
1085  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
1086 
1087  } // end class ModifyGraphResponse
1088 
1089 
1090 
1091 
1092 } // 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.
IDictionary< string, string > options
Optional parameters.
Definition: ModifyGraph.cs:742
IList< long > edges_ids
Edges given as pairs of node indices.
ModifyGraphRequest()
Constructs a ModifyGraphRequest object with default parameters.
Definition: ModifyGraph.cs:747
const string GRAPH_TABLE
If specified, the created graph is also created as a table with the given name, in [schema_name...
Definition: ModifyGraph.cs:350
IList< string > weights
Weights with which to update existing in graph specified by .
Definition: ModifyGraph.cs:505
const string EXPORT_CREATE_RESULTS
If set to true, returns the graph topology in the response as arrays.
Definition: ModifyGraph.cs:271
const string RESTRICTION_THRESHOLD_VALUE
Value-based restriction comparison.
Definition: ModifyGraph.cs:254
IList< string > nodes
Nodes with which to update existing in graph specified by .
Definition: ModifyGraph.cs:464
IList< string > restrictions
Restrictions with which to update existing in graph specified by .
Definition: ModifyGraph.cs:526
string graph_name
Name of the graph resource to modify.
Definition: ModifyGraph.cs:443
const string LABEL_DELIMITER
If provided the label string will be split according to this delimiter and each sub-string will be ap...
Definition: ModifyGraph.cs:420
IDictionary< string, string > info
Additional information.
const string ALLOW_MULTIPLE_EDGES
Multigraph choice; allowing multiple edges with the same node pairs if set to true, otherwise, new edges with existing same node pairs will not be inserted.
Definition: ModifyGraph.cs:438
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:338
const string USE_RTREE
Use an range tree structure to accelerate and improve the accuracy of snapping, especially to edges...
Definition: ModifyGraph.cs:414
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:388
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:314
IList< string > edges
Edges with which to update existing in graph specified by .
Definition: ModifyGraph.cs:485
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:294
long num_nodes
Total number of nodes in the graph.
const string TURN_ANGLE
Value in degrees modifies the thresholds for attributing right, left, sharp turns, and intersections.
Definition: ModifyGraph.cs:397
A set of results returned by Kinetica.modifyGraph(string,IList{string},IList{string},IList{string},IList{string},IDictionary{string, string}).
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:369
long num_edges
Total number of edges in the graph.
bool result
Indicates a successful modification on all servers.