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

A set of parameters for Kinetica.createTriggerByRange(string,IList{string},string,double,double,IDictionary{string, string}). More...

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

Public Member Functions

 CreateTriggerByRangeRequest ()
 Constructs a CreateTriggerByRangeRequest object with default parameters. More...
 
 CreateTriggerByRangeRequest (string request_id, IList< string > table_names, string column_name, double min, double max, IDictionary< string, string > options=null)
 Constructs a CreateTriggerByRangeRequest 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 request_id [get, set]
 User-created ID for the trigger. More...
 
IList< string > table_names [get, set]
 Tables on which the trigger will be active. More...
 
string column_name = new List<string>() [get, set]
 Name of a numeric column_name on which the trigger is activated. More...
 
double min [get, set]
 The lower bound (inclusive) for the trigger range. More...
 
double max [get, set]
 The upper bound (inclusive) for the trigger range. 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.createTriggerByRange(string,IList{string},string,double,double,IDictionary{string, string}).


Sets up a simple range trigger for a column_name for one or more tables. Once the trigger has been activated, any record added to the listed tables(s) via Kinetica.insertRecords{T}(string,IList{T},IDictionary{string, string}) with the chosen column_name's value falling within the specified range will trip the trigger. All such records will be queued at the trigger port (by default '9001' but able to be retrieved via Kinetica.showSystemStatus(IDictionary{string, string})) for any listening client to collect. Active triggers can be cancelled by using the Kinetica.clearTrigger(string,IDictionary{string, string}) endpoint or by clearing all relevant tables.
The output returns the trigger handle as well as indicating success or failure of the trigger activation.

Definition at line 33 of file CreateTriggerByRange.cs.

Constructor & Destructor Documentation

kinetica.CreateTriggerByRangeRequest.CreateTriggerByRangeRequest ( )
inline

Constructs a CreateTriggerByRangeRequest object with default parameters.

Definition at line 63 of file CreateTriggerByRange.cs.

kinetica.CreateTriggerByRangeRequest.CreateTriggerByRangeRequest ( string  request_id,
IList< string >  table_names,
string  column_name,
double  min,
double  max,
IDictionary< string, string >  options = null 
)
inline

Constructs a CreateTriggerByRangeRequest object with the specified parameters.

Parameters
request_idUser-created ID for the trigger. The ID can be alphanumeric, contain symbols, and must contain at least one character.
table_namesTables on which the trigger will be active.
column_nameName of a numeric column_name on which the trigger is activated.
minThe lower bound (inclusive) for the trigger range.
maxThe upper bound (inclusive) for the trigger range.
optionsOptional parameters. The default value is an empty Dictionary.

Definition at line 82 of file CreateTriggerByRange.cs.

Property Documentation

string kinetica.CreateTriggerByRangeRequest.column_name = new List<string>()
getset

Name of a numeric column_name on which the trigger is activated.

Definition at line 46 of file CreateTriggerByRange.cs.

double kinetica.CreateTriggerByRangeRequest.max
getset

The upper bound (inclusive) for the trigger range.

Definition at line 54 of file CreateTriggerByRange.cs.

double kinetica.CreateTriggerByRangeRequest.min
getset

The lower bound (inclusive) for the trigger range.

Definition at line 50 of file CreateTriggerByRange.cs.

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

Optional parameters.

The default value is an empty Dictionary.

Definition at line 58 of file CreateTriggerByRange.cs.

string kinetica.CreateTriggerByRangeRequest.request_id
getset

User-created ID for the trigger.

The ID can be alphanumeric, contain symbols, and must contain at least one character.

Definition at line 39 of file CreateTriggerByRange.cs.

IList<string> kinetica.CreateTriggerByRangeRequest.table_names
getset

Tables on which the trigger will be active.

Definition at line 42 of file CreateTriggerByRange.cs.


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