Kinetica   C#   API  Version 7.2.3.0
kinetica.ExecuteProcRequest Class Reference

A set of parameters for Kinetica.executeProc. More...

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

Classes

struct  Options
 A set of string constants for the parameter options. 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...
 
 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...
 
 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 = new Dictionary<string, string>() [get, set]
 A map containing named parameters to pass to the proc. More...
 
IDictionary< string, byte[]> bin_params = new Dictionary<string, byte[]>() [get, set]
 A map containing named binary parameters to pass to the proc. More...
 
IList< string > input_table_names = new List<string>() [get, set]
 Names of the tables containing data to be passed to the proc. More...
 
IDictionary< string, IList< string > > input_column_names = new Dictionary<string, IList<string>>() [get, set]
 Map of table names from input_table_names to lists of names of columns from those tables that will be passed to the proc. More...
 
IList< string > output_table_names = new List<string>() [get, set]
 Names of the tables to which output data from the proc will be written, each in [schema_name. More...
 
IDictionary< string, string > options = new Dictionary<string, string>() [get, set]
 Optional parameters. More...
 
- Properties inherited from kinetica.KineticaData
Schema Schema [get]
 Avro Schema for this class More...
 
- Properties inherited from Avro.Specific.ISpecificRecord
Schema Schema [get]
 

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

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

If the proc being executed is distributed, input_table_names & input_column_names may be passed to the proc to use for reading data, and output_table_names may be passed to the proc to use for writing data.

If the proc being executed is non-distributed, these table parameters will be ignored.

Definition at line 23 of file ExecuteProc.cs.

Constructor & Destructor Documentation

◆ ExecuteProcRequest() [1/4]

kinetica.ExecuteProcRequest.ExecuteProcRequest ( )
inline

Constructs an ExecuteProcRequest object with default parameters.

Definition at line 217 of file ExecuteProc.cs.

◆ ExecuteProcRequest() [2/4]

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, in [schema_name.]table_name format, using standard name resolution rules. If no table names are specified, no data will be passed to the proc. This parameter is ignored if the proc has a non-distributed execution mode. The default value is an empty List.
input_column_namesMap of table names from input_table_names 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 input_table_names is not included, all columns from that table will be passed to the proc. This parameter is ignored if the proc has a non-distributed execution mode. The default value is an empty Dictionary.
output_table_namesNames of the tables to which output data from the proc will be written, each in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. If a specified table does not exist, it will automatically be created with the same schema as the corresponding table (by order) from input_table_names , 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. This parameter is ignored if the proc has a non-distributed execution mode. The default value is an empty List.
optionsOptional parameters. The default value is an empty Dictionary.

Definition at line 334 of file ExecuteProc.cs.

◆ ExecuteProcRequest() [3/4]

kinetica.ExecuteProcRequest.ExecuteProcRequest ( )
inline

Constructs an ExecuteProcRequest object with default parameters.

Definition at line 217 of file ExecuteProc.cs.

◆ ExecuteProcRequest() [4/4]

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, in [schema_name.]table_name format, using standard name resolution rules. If no table names are specified, no data will be passed to the proc. This parameter is ignored if the proc has a non-distributed execution mode. The default value is an empty List.
input_column_namesMap of table names from input_table_names 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 input_table_names is not included, all columns from that table will be passed to the proc. This parameter is ignored if the proc has a non-distributed execution mode. The default value is an empty Dictionary.
output_table_namesNames of the tables to which output data from the proc will be written, each in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. If a specified table does not exist, it will automatically be created with the same schema as the corresponding table (by order) from input_table_names , 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. This parameter is ignored if the proc has a non-distributed execution mode. The default value is an empty List.
optionsOptional parameters. The default value is an empty Dictionary.

Definition at line 334 of file ExecuteProc.cs.

Property Documentation

◆ _params

IDictionary< string, string > kinetica.ExecuteProcRequest._params = new Dictionary<string, string>()
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 93 of file ExecuteProc.cs.

◆ bin_params

IDictionary< string, byte[]> kinetica.ExecuteProcRequest.bin_params = new Dictionary<string, byte[]>()
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 100 of file ExecuteProc.cs.

◆ input_column_names

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

Map of table names from input_table_names 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 input_table_names is not included, all columns from that table will be passed to the proc. This parameter is ignored if the proc has a non-distributed execution mode. The default value is an empty Dictionary.

Definition at line 122 of file ExecuteProc.cs.

◆ input_table_names

IList< string > kinetica.ExecuteProcRequest.input_table_names = new List<string>()
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, in [schema_name.]table_name format, using standard name resolution rules. If no table names are specified, no data will be passed to the proc. This parameter is ignored if the proc has a non-distributed execution mode. The default value is an empty List.

Definition at line 111 of file ExecuteProc.cs.

◆ options

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

Optional parameters.

The default value is an empty Dictionary.

Definition at line 213 of file ExecuteProc.cs.

◆ output_table_names

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

Names of the tables to which output data from the proc will be written, each in [schema_name.

]table_name format, using standard name resolution rules and meeting table naming criteria.

If a specified table does not exist, it will automatically be created with the same schema as the corresponding table (by order) from input_table_names, 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. This parameter is ignored if the proc has a non-distributed execution mode. The default value is an empty List.

Definition at line 139 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 86 of file ExecuteProc.cs.


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