Kinetica C# API  Version 6.0.1.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
CreateProc.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 
22  {
23 
29  public struct ExecutionMode
30  {
31 
37  public const string DISTRIBUTED = "distributed";
38 
42  public const string NONDISTRIBUTED = "nondistributed";
43  } // end struct ExecutionMode
44 
45 
48  public string proc_name { get; set; }
49 
53  public string execution_mode { get; set; } = ExecutionMode.DISTRIBUTED;
54 
60  public IDictionary<string, byte[]> files { get; set; } = new Dictionary<string, byte[]>();
61 
74  public string command { get; set; } = "";
75 
79  public IList<string> args { get; set; } = new List<string>();
80 
82  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
83 
84 
87  public CreateProcRequest() { }
88 
119  public CreateProcRequest( string proc_name,
120  string execution_mode = null,
121  IDictionary<string, byte[]> files = null,
122  string command = null,
123  IList<string> args = null,
124  IDictionary<string, string> options = null)
125  {
126  this.proc_name = proc_name ?? "";
127  this.execution_mode = execution_mode ?? ExecutionMode.DISTRIBUTED;
128  this.files = files ?? new Dictionary<string, byte[]>();
129  this.command = command ?? "";
130  this.args = args ?? new List<string>();
131  this.options = options ?? new Dictionary<string, string>();
132  } // end constructor
133 
134  } // end class CreateProcRequest
135 
136 
137 
140  {
141 
144  public string proc_name { get; set; }
145 
146  } // end class CreateProcResponse
147 
148 
149 
150 
151 } // end namespace kinetica
CreateProcRequest()
Constructs a CreateProcRequest object with default parameters.
Definition: CreateProc.cs:87
A set of parameters for /create/proc.
Definition: CreateProc.cs:21
IDictionary< string, string > options
Optional parameters.
Definition: CreateProc.cs:82
IDictionary< string, byte[]> files
A map of the files that make up the proc.
Definition: CreateProc.cs:60
IList< string > args
An array of command-line arguments that will be passed to when the proc is executed.
Definition: CreateProc.cs:79
string command
The command (excluding arguments) that will be invoked when the proc is executed. ...
Definition: CreateProc.cs:74
string proc_name
Name of the proc to be created.
Definition: CreateProc.cs:48
string execution_mode
The execution mode of the proc.
Definition: CreateProc.cs:53
const string DISTRIBUTED
Input table data will be divided into data segments that are distributed across all nodes in the clus...
Definition: CreateProc.cs:37
A set of results returned by /create/proc.
Definition: CreateProc.cs:139
CreateProcRequest(string proc_name, string execution_mode=null, IDictionary< string, byte[]> files=null, string command=null, IList< string > args=null, IDictionary< string, string > options=null)
Constructs a CreateProcRequest object with the specified parameters.
Definition: CreateProc.cs:119
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
string proc_name
Value of .
Definition: CreateProc.cs:144
The execution mode of the proc.
Definition: CreateProc.cs:29
const string NONDISTRIBUTED
The proc command will be invoked only once per execution, and will not have access to any input or ou...
Definition: CreateProc.cs:42