Kinetica C# API  Version 6.1.0.0
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 
24  {
25 
50  public struct ExecutionMode
51  {
52 
58  public const string DISTRIBUTED = "distributed";
59 
63  public const string NONDISTRIBUTED = "nondistributed";
64  } // end struct ExecutionMode
65 
66 
69  public string proc_name { get; set; }
70 
94  public string execution_mode { get; set; } = ExecutionMode.DISTRIBUTED;
95 
101  public IDictionary<string, byte[]> files { get; set; } = new Dictionary<string, byte[]>();
102 
115  public string command { get; set; } = "";
116 
120  public IList<string> args { get; set; } = new List<string>();
121 
123  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
124 
125 
128  public CreateProcRequest() { }
129 
180  public CreateProcRequest( string proc_name,
181  string execution_mode = null,
182  IDictionary<string, byte[]> files = null,
183  string command = null,
184  IList<string> args = null,
185  IDictionary<string, string> options = null)
186  {
187  this.proc_name = proc_name ?? "";
189  this.files = files ?? new Dictionary<string, byte[]>();
190  this.command = command ?? "";
191  this.args = args ?? new List<string>();
192  this.options = options ?? new Dictionary<string, string>();
193  } // end constructor
194 
195  } // end class CreateProcRequest
196 
197 
198 
203  {
204 
207  public string proc_name { get; set; }
208 
209  } // end class CreateProcResponse
210 
211 
212 
213 
214 } // end namespace kinetica
CreateProcRequest()
Constructs a CreateProcRequest object with default parameters.
Definition: CreateProc.cs:128
A set of parameters for Kinetica.createProc(string,string,IDictionary<string, byte[]>,string,IList<string>,IDictionary<string, string>).
Definition: CreateProc.cs:23
IDictionary< string, string > options
Optional parameters.
Definition: CreateProc.cs:123
IDictionary< string, byte[]> files
A map of the files that make up the proc.
Definition: CreateProc.cs:101
IList< string > args
An array of command-line arguments that will be passed to when the proc is executed.
Definition: CreateProc.cs:120
string command
The command (excluding arguments) that will be invoked when the proc is executed. ...
Definition: CreateProc.cs:115
string proc_name
Name of the proc to be created.
Definition: CreateProc.cs:69
string execution_mode
The execution mode of the proc.
Definition: CreateProc.cs:94
const string DISTRIBUTED
Input table data will be divided into data segments that are distributed across all nodes in the clus...
Definition: CreateProc.cs:58
A set of results returned by Kinetica.createProc(string,string,IDictionary<string, byte[]>,string,IList<string>,IDictionary<string, string>).
Definition: CreateProc.cs:202
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:180
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
The execution mode of the proc.
Definition: CreateProc.cs:50
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:63