Kinetica C# API  Version 6.2.0.1
ExecuteProc.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 
21  {
22 
66  public struct Options
67  {
68 
80  public const string CACHE_INPUT = "cache_input";
81 
94  public const string USE_CACHED_INPUT = "use_cached_input";
95 
102  public const string KIFS_INPUT_DIRS = "kifs_input_dirs";
103  } // end struct Options
104 
105 
108  public string proc_name { get; set; }
109 
113  public IDictionary<string, string> _params { get; set; } = new Dictionary<string, string>();
114 
118  public IDictionary<string, byte[]> bin_params { get; set; } = new Dictionary<string, byte[]>();
119 
124  public IList<string> input_table_names { get; set; } = new List<string>();
125 
134  public IDictionary<string, IList<string>> input_column_names { get; set; } = new Dictionary<string, IList<string>>();
135 
145  public IList<string> output_table_names { get; set; } = new List<string>();
146 
188  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
189 
190 
193  public ExecuteProcRequest() { }
194 
273  IDictionary<string, string> _params = null,
274  IDictionary<string, byte[]> bin_params = null,
275  IList<string> input_table_names = null,
276  IDictionary<string, IList<string>> input_column_names = null,
277  IList<string> output_table_names = null,
278  IDictionary<string, string> options = null)
279  {
280  this.proc_name = proc_name ?? "";
281  this._params = _params ?? new Dictionary<string, string>();
282  this.bin_params = bin_params ?? new Dictionary<string, byte[]>();
283  this.input_table_names = input_table_names ?? new List<string>();
284  this.input_column_names = input_column_names ?? new Dictionary<string, IList<string>>();
285  this.output_table_names = output_table_names ?? new List<string>();
286  this.options = options ?? new Dictionary<string, string>();
287  } // end constructor
288 
289  } // end class ExecuteProcRequest
290 
291 
292 
297  {
298 
302  public string run_id { get; set; }
303 
304  } // end class ExecuteProcResponse
305 
306 
307 
308 
309 } // end namespace kinetica
IList< string > input_table_names
Names of the tables containing data to be passed to the proc.
Definition: ExecuteProc.cs:124
string proc_name
Name of the proc to execute.
Definition: ExecuteProc.cs:108
const string USE_CACHED_INPUT
A comma-delimited list of run IDs (as returned from prior calls to Kinetica.executeProc(string,IDictionary<string, string>,IDictionary<string, byte[]>,IList<string>,IDictionary<string, IList<string>>,IList<string>,IDictionary<string, string>)) of running or completed proc instances from which input data cached using the cache_input option will be used.
Definition: ExecuteProc.cs:94
ExecuteProcRequest(string proc_name, IDictionary< string, string > _params=null, IDictionary< string, byte[]> bin_params=null, IList< string > input_table_names=null, IDictionary< string, IList< string >> input_column_names=null, IList< string > output_table_names=null, IDictionary< string, string > options=null)
Constructs an ExecuteProcRequest object with the specified parameters.
Definition: ExecuteProc.cs:272
const string CACHE_INPUT
A comma-delimited list of table names from input_table_names from which input data will be cached for...
Definition: ExecuteProc.cs:80
IDictionary< string, byte[]> bin_params
A map containing named binary parameters to pass to the proc.
Definition: ExecuteProc.cs:118
IDictionary< string, string > options
Optional parameters.
Definition: ExecuteProc.cs:188
A set of results returned by Kinetica.executeProc(string,IDictionary<string, string>,IDictionary<string, byte[]>,IList<string>,IDictionary<string, IList<string>>,IList<string>,IDictionary<string, string>).
Definition: ExecuteProc.cs:296
const string KIFS_INPUT_DIRS
A comma-delimited list of KiFS directories whose local files will be made directly accessible to the ...
Definition: ExecuteProc.cs:102
IList< string > output_table_names
Names of the tables to which output data from the proc will be written.
Definition: ExecuteProc.cs:145
ExecuteProcRequest()
Constructs an ExecuteProcRequest object with default parameters.
Definition: ExecuteProc.cs:193
IDictionary< string, IList< string > > input_column_names
Map of table names from to lists of names of columns from those tables that will be passed to the pr...
Definition: ExecuteProc.cs:134
IDictionary< string, string > _params
A map containing named parameters to pass to the proc.
Definition: ExecuteProc.cs:113
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
A set of parameters for Kinetica.executeProc(string,IDictionary<string, string>,IDictionary<string, byte[]>,IList<string>,IDictionary<string, IList<string>>,IList<string>,IDictionary<string, string>).
Definition: ExecuteProc.cs:20