Kinetica C# API
Version 6.2.0.1
|
A set of parameters for Kinetica.createTriggerByRange(string,IList<string>,string,double,double,IDictionary<string, string>). More...
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... | |
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.
|
inline |
Constructs a CreateTriggerByRangeRequest object with default parameters.
Definition at line 63 of file CreateTriggerByRange.cs.
|
inline |
Constructs a CreateTriggerByRangeRequest object with the specified parameters.
request_id | User-created ID for the trigger. The ID can be alphanumeric, contain symbols, and must contain at least one character. |
table_names | Tables on which the trigger will be active. |
column_name | Name of a numeric column_name on which the trigger is activated. |
min | The lower bound (inclusive) for the trigger range. |
max | The upper bound (inclusive) for the trigger range. |
options | Optional parameters. The default value is an empty Dictionary. |
Definition at line 82 of file CreateTriggerByRange.cs.
|
getset |
Name of a numeric column_name on which the trigger is activated.
Definition at line 46 of file CreateTriggerByRange.cs.
|
getset |
The upper bound (inclusive) for the trigger range.
Definition at line 54 of file CreateTriggerByRange.cs.
|
getset |
The lower bound (inclusive) for the trigger range.
Definition at line 50 of file CreateTriggerByRange.cs.
|
getset |
Optional parameters.
The default value is an empty Dictionary.
Definition at line 58 of file CreateTriggerByRange.cs.
|
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.
|
getset |
Tables on which the trigger will be active.
Definition at line 42 of file CreateTriggerByRange.cs.