7 using System.Collections.Generic;
16 public class ShowGraphRequest : KineticaData
39 public const string TRUE =
"true";
40 public const string FALSE =
"false";
46 public const string SERVER_ID =
"server_id";
119 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
180 IDictionary<string, string>
options =
null)
190 public class ShowGraphResponse : KineticaData
195 public bool result {
get;
set; }
199 public IList<int>
load {
get;
set; } =
new List<int>();
202 public IList<long>
memory {
get;
set; } =
new List<long>();
205 public IList<string>
graph_names {
get;
set; } =
new List<string>();
224 public IList<bool>
directed {
get;
set; } =
new List<bool>();
227 public IList<long>
num_nodes {
get;
set; } =
new List<long>();
230 public IList<long>
num_edges {
get;
set; } =
new List<long>();
233 public IList<long>
num_bytes {
get;
set; } =
new List<long>();
240 public IList<bool>
is_persisted {
get;
set; } =
new List<bool>();
244 public IList<bool>
is_partitioned {
get;
set; } =
new List<bool>();
249 public IList<bool>
is_sync_db {
get;
set; } =
new List<bool>();
261 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
string graph_name
Name of the graph on which to retrieve information.
IList< int > graph_server_ids
Id(s) of the graph(s).
const string EXPORT_GRAPH_SCHEMA
If true, generates the graph ontology (schema) as a DOT format string in the response info field unde...
IDictionary< string, string > info
Additional information.
IList< string > graph_owner_user_names
Owner of the graph(s) and associated solution table(s).
IList< long > memory
Available memory.
bool result
Indicates a success.
IList< long > num_bytes
Memory this graph uses in bytes.
ShowGraphRequest()
Constructs a ShowGraphRequest object with default parameters.
const string SHOW_ORIGINAL_REQUEST
If set to TRUE, the request that was originally used to create the graph is also returned as JSON.
const string SERVER_ID
Indicates which graph server(s) to send the request to.
IList< long > num_edges
Total number of edges in the graph.
IList< string > graph_names
Name(s) of the graph(s).
IList< string > graph_owner_resource_groups
Owner of the resource groups(s) of the graph(s).
IList< bool > has_insert_table_monitor
Shows whether or not the graph has an insert table monitor attached to it.
IList< string > original_request
The original client request used to create the graph (before any expression evaluation or separator p...
IList< bool > is_sync_db
Shows whether or not the graph is linked to the original tables that created it, and will potentially...
ShowGraphRequest(string graph_name=null, IDictionary< string, string > options=null)
Constructs a ShowGraphRequest object with the specified parameters.
IList< bool > directed
Whether or not the edges of the graph have directions (bi-directional edges can still exist in direct...
IList< bool > is_persisted
Shows whether or not the graph is persisted (saved and loaded on launch).
IList< long > num_nodes
Total number of nodes in the graph.
IList< bool > is_partitioned
Indicates if the graph data is distributed across all available servers.
IList< long > resource_capacity
Memory this graph uses in bytes.
IDictionary< string, string > options
Optional parameters.
IList< int > load
A percentage approximating the current computational load on the server.