Kinetica C# API  Version 6.1.0.0
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 
54  public struct Options
55  {
56 
68  public const string CACHE_INPUT = "cache_input";
69 
81  public const string USE_CACHED_INPUT = "use_cached_input";
82  } // end struct Options
83 
84 
87  public string proc_name { get; set; }
88 
92  public IDictionary<string, string> _params { get; set; } = new Dictionary<string, string>();
93 
97  public IDictionary<string, byte[]> bin_params { get; set; } = new Dictionary<string, byte[]>();
98 
103  public IList<string> input_table_names { get; set; } = new List<string>();
104 
112  public IDictionary<string, IList<string>> input_column_names { get; set; } = new Dictionary<string, IList<string>>();
113 
123  public IList<string> output_table_names { get; set; } = new List<string>();
124 
154  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
155 
156 
159  public ExecuteProcRequest() { }
160 
223  IDictionary<string, string> _params = null,
224  IDictionary<string, byte[]> bin_params = null,
225  IList<string> input_table_names = null,
226  IDictionary<string, IList<string>> input_column_names = null,
227  IList<string> output_table_names = null,
228  IDictionary<string, string> options = null)
229  {
230  this.proc_name = proc_name ?? "";
231  this._params = _params ?? new Dictionary<string, string>();
232  this.bin_params = bin_params ?? new Dictionary<string, byte[]>();
233  this.input_table_names = input_table_names ?? new List<string>();
234  this.input_column_names = input_column_names ?? new Dictionary<string, IList<string>>();
235  this.output_table_names = output_table_names ?? new List<string>();
236  this.options = options ?? new Dictionary<string, string>();
237  } // end constructor
238 
239  } // end class ExecuteProcRequest
240 
241 
242 
247  {
248 
252  public string run_id { get; set; }
253 
254  } // end class ExecuteProcResponse
255 
256 
257 
258 
259 } // end namespace kinetica
IList< string > input_table_names
Names of the tables containing data to be passed to the proc.
Definition: ExecuteProc.cs:103
string proc_name
Name of the proc to execute.
Definition: ExecuteProc.cs:87
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:81
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:222
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:68
IDictionary< string, byte[]> bin_params
A map containing named binary parameters to pass to the proc.
Definition: ExecuteProc.cs:97
IDictionary< string, string > options
Optional parameters.
Definition: ExecuteProc.cs:154
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:246
IList< string > output_table_names
Names of the tables to which output data from the proc will be written.
Definition: ExecuteProc.cs:123
ExecuteProcRequest()
Constructs an ExecuteProcRequest object with default parameters.
Definition: ExecuteProc.cs:159
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:112
IDictionary< string, string > _params
A map containing named parameters to pass to the proc.
Definition: ExecuteProc.cs:92
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