Kinetica C# API  Version 6.2.0.1
kinetica.ExecuteProcRequest Class Reference

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>). More...

+ Inheritance diagram for kinetica.ExecuteProcRequest:
+ Collaboration diagram for kinetica.ExecuteProcRequest:

Classes

struct  Options
 Optional parameters. More...
 

Public Member Functions

 ExecuteProcRequest ()
 Constructs an ExecuteProcRequest object with default parameters. More...
 
 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. More...
 
- Public Member Functions inherited from kinetica.KineticaData
 KineticaData (KineticaType type)
 Constructor from Kinetica Type More...
 
 KineticaData (System.Type type=null)
 Default constructor, with optional System.Type More...
 
object Get (int fieldPos)
 Retrieve a specific property from this object More...
 
void Put (int fieldPos, object fieldValue)
 Write a specific property to this object More...
 

Properties

string proc_name [get, set]
 Name of the proc to execute. More...
 
IDictionary< string, string > _params [get, set]
 A map containing named parameters to pass to the proc. More...
 
IDictionary< string, byte[]> bin_params = new Dictionary<string, string>() [get, set]
 A map containing named binary parameters to pass to the proc. More...
 
IList< string > input_table_names = new Dictionary<string, byte[]>() [get, set]
 Names of the tables containing data to be passed to the proc. More...
 
IDictionary< string, IList< string > > input_column_names = new List<string>() [get, set]
 Map of table names from to lists of names of columns from those tables that will be passed to the proc. More...
 
IList< string > output_table_names = new Dictionary<string, IList<string>>() [get, set]
 Names of the tables to which output data from the proc will be written. More...
 
IDictionary< string, string > options = new List<string>() [get, set]
 Optional parameters. More...
 
- Properties inherited from kinetica.KineticaData
Schema Schema [get]
 Avro Schema for this class More...
 

Additional Inherited Members

- Static Public Member Functions inherited from kinetica.KineticaData
static RecordSchema SchemaFromType (System.Type t, KineticaType ktype=null)
 Create an Avro Schema from a System.Type and a KineticaType. More...
 

Detailed Description

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>).


Executes a proc. This endpoint is asynchronous and does not wait for the proc to complete before returning.

Definition at line 20 of file ExecuteProc.cs.

Constructor & Destructor Documentation

◆ ExecuteProcRequest() [1/2]

kinetica.ExecuteProcRequest.ExecuteProcRequest ( )
inline

Constructs an ExecuteProcRequest object with default parameters.

Definition at line 193 of file ExecuteProc.cs.

◆ ExecuteProcRequest() [2/2]

kinetica.ExecuteProcRequest.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 
)
inline

Constructs an ExecuteProcRequest object with the specified parameters.

Parameters
proc_nameName of the proc to execute. Must be the name of a currently existing proc.
_paramsA map containing named parameters to pass to the proc. Each key/value pair specifies the name of a parameter and its value. The default value is an empty Dictionary.
bin_paramsA map containing named binary parameters to pass to the proc. Each key/value pair specifies the name of a parameter and its value. The default value is an empty Dictionary.
input_table_namesNames of the tables containing data to be passed to the proc. Each name specified must be the name of a currently existing table. If no table names are specified, no data will be passed to the proc. The default value is an empty List.
input_column_namesMap of table names from to lists of names of columns from those tables that will be passed to the proc. Each column name specified must be the name of an existing column in the corresponding table. If a table name from is not included, all columns from that table will be passed to the proc. The default value is an empty Dictionary.
output_table_namesNames of the tables to which output data from the proc will be written. If a specified table does not exist, it will automatically be created with the same schema as the corresponding table (by order) from , excluding any primary and shard keys. If a specified table is a non-persistent result table, it must not have primary or shard keys. If no table names are specified, no output data can be returned from the proc. The default value is an empty List.
optionsOptional parameters.
  • CACHE_INPUT: A comma-delimited list of table names from from which input data will be cached for use in subsequent calls to /execute/proc with the use_cached_input option. Cached input data will be retained until the proc status is cleared with the /show/proc/status option of /show/proc/status and all proc instances using the cached data have completed. The default value is ''.
  • USE_CACHED_INPUT: A comma-delimited list of run IDs (as returned from prior calls to /execute/proc) of running or completed proc instances from which input data cached using the cache_input option will be used. Cached input data will not be used for any tables specified in , but data from all other tables cached for the specified run IDs will be passed to the proc. If the same table was cached for multiple specified run IDs, the cached data from the first run ID specified in the list that includes that table will be used. The default value is ''.
  • KIFS_INPUT_DIRS: A comma-delimited list of KiFS directories whose local files will be made directly accessible to the proc through the API. (All KiFS files, local or not, are also accessible through the file system below the KiFS mount point.) Each name specified must the name of an existing KiFS directory. The default value is ''.
The default value is an empty Dictionary.

Definition at line 272 of file ExecuteProc.cs.

Property Documentation

◆ _params

IDictionary<string, string> kinetica.ExecuteProcRequest._params
getset

A map containing named parameters to pass to the proc.

Each key/value pair specifies the name of a parameter and its value. The default value is an empty Dictionary.

Definition at line 113 of file ExecuteProc.cs.

◆ bin_params

IDictionary<string, byte[]> kinetica.ExecuteProcRequest.bin_params = new Dictionary<string, string>()
getset

A map containing named binary parameters to pass to the proc.

Each key/value pair specifies the name of a parameter and its value. The default value is an empty Dictionary.

Definition at line 118 of file ExecuteProc.cs.

◆ input_column_names

IDictionary<string, IList<string> > kinetica.ExecuteProcRequest.input_column_names = new List<string>()
getset

Map of table names from to lists of names of columns from those tables that will be passed to the proc.

Each column name specified must be the name of an existing column in the corresponding table. If a table name from is not included, all columns from that table will be passed to the proc. The default value is an empty Dictionary.

Definition at line 134 of file ExecuteProc.cs.

◆ input_table_names

IList<string> kinetica.ExecuteProcRequest.input_table_names = new Dictionary<string, byte[]>()
getset

Names of the tables containing data to be passed to the proc.

Each name specified must be the name of a currently existing table. If no table names are specified, no data will be passed to the proc. The default value is an empty List.

Definition at line 124 of file ExecuteProc.cs.

◆ options

IDictionary<string, string> kinetica.ExecuteProcRequest.options = new List<string>()
getset

Optional parameters.

  • CACHE_INPUT: A comma-delimited list of table names from from which input data will be cached for use in subsequent calls to /execute/proc with the use_cached_input option. Cached input data will be retained until the proc status is cleared with the /show/proc/status option of /show/proc/status and all proc instances using the cached data have completed. The default value is ''.
  • USE_CACHED_INPUT: A comma-delimited list of run IDs (as returned from prior calls to /execute/proc) of running or completed proc instances from which input data cached using the cache_input option will be used. Cached input data will not be used for any tables specified in , but data from all other tables cached for the specified run IDs will be passed to the proc. If the same table was cached for multiple specified run IDs, the cached data from the first run ID specified in the list that includes that table will be used. The default value is ''.
  • KIFS_INPUT_DIRS: A comma-delimited list of KiFS directories whose local files will be made directly accessible to the proc through the API. (All KiFS files, local or not, are also accessible through the file system below the KiFS mount point.) Each name specified must the name of an existing KiFS directory. The default value is ''.

The default value is an empty Dictionary.

Definition at line 188 of file ExecuteProc.cs.

◆ output_table_names

IList<string> kinetica.ExecuteProcRequest.output_table_names = new Dictionary<string, IList<string>>()
getset

Names of the tables to which output data from the proc will be written.

If a specified table does not exist, it will automatically be created with the same schema as the corresponding table (by order) from , excluding any primary and shard keys. If a specified table is a non-persistent result table, it must not have primary or shard keys. If no table names are specified, no output data can be returned from the proc. The default value is an empty List.

Definition at line 145 of file ExecuteProc.cs.

◆ proc_name

string kinetica.ExecuteProcRequest.proc_name
getset

Name of the proc to execute.

Must be the name of a currently existing proc.

Definition at line 108 of file ExecuteProc.cs.


The documentation for this class was generated from the following file: