Kinetica C# API  Version 6.2.0.1
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 
23  {
24 
49  public struct ExecutionMode
50  {
51 
57  public const string DISTRIBUTED = "distributed";
58 
62  public const string NONDISTRIBUTED = "nondistributed";
63  } // end struct ExecutionMode
64 
65 
79  public struct Options
80  {
81 
85  public const string MAX_CONCURRENCY_PER_NODE = "max_concurrency_per_node";
86  } // end struct Options
87 
88 
91  public string proc_name { get; set; }
92 
116  public string execution_mode { get; set; } = ExecutionMode.DISTRIBUTED;
117 
124  public IDictionary<string, byte[]> files { get; set; } = new Dictionary<string, byte[]>();
125 
138  public string command { get; set; } = "";
139 
143  public IList<string> args { get; set; } = new List<string>();
144 
156  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
157 
158 
161  public CreateProcRequest() { }
162 
225  public CreateProcRequest( string proc_name,
226  string execution_mode = null,
227  IDictionary<string, byte[]> files = null,
228  string command = null,
229  IList<string> args = null,
230  IDictionary<string, string> options = null)
231  {
232  this.proc_name = proc_name ?? "";
234  this.files = files ?? new Dictionary<string, byte[]>();
235  this.command = command ?? "";
236  this.args = args ?? new List<string>();
237  this.options = options ?? new Dictionary<string, string>();
238  } // end constructor
239 
240  } // end class CreateProcRequest
241 
242 
243 
248  {
249 
252  public string proc_name { get; set; }
253 
254  } // end class CreateProcResponse
255 
256 
257 
258 
259 } // end namespace kinetica
CreateProcRequest()
Constructs a CreateProcRequest object with default parameters.
Definition: CreateProc.cs:161
A set of parameters for Kinetica.createProc(string,string,IDictionary<string, byte[]>,string,IList<string>,IDictionary<string, string>).
Definition: CreateProc.cs:22
IDictionary< string, string > options
Optional parameters.
Definition: CreateProc.cs:156
IDictionary< string, byte[]> files
A map of the files that make up the proc.
Definition: CreateProc.cs:124
IList< string > args
An array of command-line arguments that will be passed to when the proc is executed.
Definition: CreateProc.cs:143
string command
The command (excluding arguments) that will be invoked when the proc is executed. ...
Definition: CreateProc.cs:138
string proc_name
Name of the proc to be created.
Definition: CreateProc.cs:91
string execution_mode
The execution mode of the proc.
Definition: CreateProc.cs:116
const string DISTRIBUTED
Input table data will be divided into data segments that are distributed across all nodes in the clus...
Definition: CreateProc.cs:57
A set of results returned by Kinetica.createProc(string,string,IDictionary<string, byte[]>,string,IList<string>,IDictionary<string, string>).
Definition: CreateProc.cs:247
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:225
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
The execution mode of the proc.
Definition: CreateProc.cs:49
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:62