Kinetica C# API
Version 7.1.10.0
|
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... | |
![]() | |
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, each in [schema_name. 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... | |
![]() | |
Schema | Schema [get] |
Avro Schema for this class More... | |
Additional Inherited Members | |
![]() | |
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 38 of file CreateTriggerByRange.cs.
|
inline |
Constructs a CreateTriggerByRangeRequest object with default parameters.
Definition at line 71 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, each in [schema_name.]table_name format, using standard name resolution rules. |
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 92 of file CreateTriggerByRange.cs.
|
getset |
Name of a numeric column_name on which the trigger is activated.
Definition at line 54 of file CreateTriggerByRange.cs.
|
getset |
The upper bound (inclusive) for the trigger range.
Definition at line 62 of file CreateTriggerByRange.cs.
|
getset |
The lower bound (inclusive) for the trigger range.
Definition at line 58 of file CreateTriggerByRange.cs.
|
getset |
Optional parameters.
The default value is an empty Dictionary.
Definition at line 66 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 44 of file CreateTriggerByRange.cs.
|
getset |
Tables on which the trigger will be active, each in [schema_name.
]table_name format, using standard name resolution rules.
Definition at line 50 of file CreateTriggerByRange.cs.