7 using System.Collections.Generic;
50 public const string TRUE =
"true";
51 public const string FALSE =
"false";
230 public IList<string>
nodes {
get;
set; } =
new List<string>();
251 public IList<string>
edges {
get;
set; } =
new List<string>();
271 public IList<string>
weights {
get;
set; } =
new List<string>();
514 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
824 IDictionary<string, string>
options =
null)
827 this.nodes =
nodes ??
new List<string>();
828 this.edges =
edges ??
new List<string>();
829 this.weights =
weights ??
new List<string>();
855 public IList<long>
edges_ids {
get;
set; } =
new List<long>();
858 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
A set of parameters for Kinetica.modifyGraph.
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.
A set of string constants for the parameter options.
IDictionary< string, string > options
Optional parameters.
IList< long > edges_ids
Edges given as pairs of node indices.
ModifyGraphRequest()
Constructs a ModifyGraphRequest object with default parameters.
const string GRAPH_TABLE
If specified, the created graph is also created as a table with the given name, in [schema_name.
IList< string > weights
Weights with which to update existing weights in graph specified by graph_name.
const string EXPORT_CREATE_RESULTS
If set to TRUE, returns the graph topology in the response as arrays.
const string RESTRICTION_THRESHOLD_VALUE
Value-based restriction comparison.
IList< string > nodes
Nodes with which to update existing nodes in graph specified by graph_name.
IList< string > restrictions
Restrictions with which to update existing restrictions in graph specified by graph_name.
string graph_name
Name of the graph resource to modify.
const string LABEL_DELIMITER
If provided the label string will be split according to this delimiter and each sub-string will be ap...
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,...
const string ADD_TABLE_MONITOR
Adds a table monitor to every table used in the creation of the graph; this table monitor will trigge...
const string USE_RTREE
Use an range tree structure to accelerate and improve the accuracy of snapping, especially to edges.
const string ADD_TURNS
Adds dummy 'pillowed' edges around intersection nodes where there are more than three edges so that a...
const string SAVE_PERSIST
If set to TRUE, the graph will be saved in the persist directory (see the config reference for more i...
IList< string > edges
Edges with which to update existing edges in graph specified by graph_name.
const string ENABLE_GRAPH_DRAW
If set to TRUE, adds a 'EDGE_WKTLINE' column identifier to the specified GRAPH_TABLE so the graph can...
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,...
A set of results returned by Kinetica.modifyGraph.
KineticaData - class to help with Avro Encoding for Kinetica
const string REMOVE_LABEL_ONLY
When RESTRICTIONS on labeled entities requested, if set to true this will NOT delete the entity but o...
long num_edges
Total number of edges in the graph.
const string EMBEDDING_TABLE
If table exists (should be generated by the match/graph match_embedding solver), the vector embedding...
bool result
Indicates a successful modification on all servers.