Kinetica C# API
Version 6.0.1.0
|
A set of parameters for /create/trigger/byrange. 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. 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 /create/trigger/byrange.
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 /insert/records 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 /show/system/status) for any listening client to collect. Active triggers can be cancelled by using the /clear/trigger 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 27 of file CreateTriggerByRange.cs.
|
inline |
Constructs a CreateTriggerByRangeRequest object with default parameters.
Definition at line 56 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. |
Definition at line 74 of file CreateTriggerByRange.cs.
|
getset |
Name of a numeric column_name on which the trigger is activated.
Definition at line 40 of file CreateTriggerByRange.cs.
|
getset |
The upper bound (inclusive) for the trigger range.
Definition at line 48 of file CreateTriggerByRange.cs.
|
getset |
The lower bound (inclusive) for the trigger range.
Definition at line 44 of file CreateTriggerByRange.cs.
|
getset |
Optional parameters.
Definition at line 51 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 33 of file CreateTriggerByRange.cs.
|
getset |
Tables on which the trigger will be active.
Definition at line 36 of file CreateTriggerByRange.cs.