Kinetica C# API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
kinetica.AlterEnvironmentRequest Class Reference

A set of parameters for Kinetica.alterEnvironment(string,string,string,IDictionary{string, string}). More...

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

Classes

struct  Action
 Modification operation to be applied Supported values:

More...
 
struct  Options
 Optional parameters. More...
 

Public Member Functions

 AlterEnvironmentRequest ()
 Constructs an AlterEnvironmentRequest object with default parameters. More...
 
 AlterEnvironmentRequest (string environment_name, string action, string _value, IDictionary< string, string > options=null)
 Constructs an AlterEnvironmentRequest 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 environment_name [get, set]
 Name of the environment to be altered. More...
 
string action [get, set]
 Modification operation to be applied Supported values:

More...
 
string _value [get, set]
 The value of the modification, depending on . More...
 
IDictionary< string, string > options [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.alterEnvironment(string,string,string,IDictionary{string, string}).


Alters an existing environment which can be referenced by a user-defined function (UDF).

Definition at line 21 of file AlterEnvironment.cs.

Constructor & Destructor Documentation

kinetica.AlterEnvironmentRequest.AlterEnvironmentRequest ( )
inline

Constructs an AlterEnvironmentRequest object with default parameters.

Definition at line 195 of file AlterEnvironment.cs.

kinetica.AlterEnvironmentRequest.AlterEnvironmentRequest ( string  environment_name,
string  action,
string  _value,
IDictionary< string, string >  options = null 
)
inline

Constructs an AlterEnvironmentRequest object with the specified parameters.

Parameters
environment_nameName of the environment to be altered.
actionModification operation to be applied Supported values:
  • INSTALL_PACKAGE: Install a python package from PyPI, an external data source or KiFS
  • INSTALL_REQUIREMENTS: Install packages from a requirements file
  • UNINSTALL_PACKAGE: Uninstall a python package.
  • UNINSTALL_REQUIREMENTS: Uninstall packages from a requirements file
  • RESET: Uninstalls all packages in the environment and resets it to the original state at time of creation
  • REBUILD: Recreates the environment and re-installs all packages, upgrades the packages if necessary based on dependencies
_valueThe value of the modification, depending on . For example, if is install_package, this would be the python package name. If is install_requirements, this would be the path of a requirements file from which to install packages. If an external data source is specified in datasource_name, this can be the path to a wheel file or source archive. Alternatively, if installing from a file (wheel or source archive), the value may be a reference to a file in KiFS.
optionsOptional parameters.
  • DATASOURCE_NAME: Name of an existing external data source from which packages specified in can be loaded
The default value is an empty Dictionary.

Definition at line 267 of file AlterEnvironment.cs.

Property Documentation

string kinetica.AlterEnvironmentRequest._value
getset

The value of the modification, depending on .

For example, if is install_package, this would be the python package name.
If is install_requirements, this would be the path of a requirements file from which to install packages.
If an external data source is specified in datasource_name, this can be the path to a wheel file or source archive. Alternatively, if installing from a file (wheel or source archive), the value may be a reference to a file in KiFS.

Definition at line 176 of file AlterEnvironment.cs.

string kinetica.AlterEnvironmentRequest.action
getset

Modification operation to be applied Supported values:

UNINSTALL_REQUIREMENTS: Uninstall packages from a requirements file RESET: Uninstalls all packages in the environment and resets it to the original state at time of creation REBUILD: Recreates the environment and re-installs all packages, upgrades the packages if necessary based on dependencies

Definition at line 160 of file AlterEnvironment.cs.

string kinetica.AlterEnvironmentRequest.environment_name
getset

Name of the environment to be altered.

Definition at line 118 of file AlterEnvironment.cs.

IDictionary<string, string> kinetica.AlterEnvironmentRequest.options
getset

Optional parameters.

  • DATASOURCE_NAME: Name of an existing external data source from which packages specified in can be loaded

The default value is an empty Dictionary.

Definition at line 190 of file AlterEnvironment.cs.


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