Kinetica C# API
Version 7.2.3.0
|
A set of parameters for Kinetica.createTriggerByArea. More...
Public Member Functions | |
CreateTriggerByAreaRequest () | |
Constructs a CreateTriggerByAreaRequest object with default parameters. More... | |
CreateTriggerByAreaRequest (string request_id, IList< string > table_names, string x_column_name, IList< double > x_vector, string y_column_name, IList< double > y_vector, IDictionary< string, string > options=null) | |
Constructs a CreateTriggerByAreaRequest 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 = new List<string>() [get, set] |
Names of the tables on which the trigger will be activated and maintained, each in [schema_name. More... | |
string | x_column_name [get, set] |
Name of a numeric column on which the trigger is activated. More... | |
IList< double > | x_vector = new List<double>() [get, set] |
The respective coordinate values for the region on which the trigger is activated. More... | |
string | y_column_name [get, set] |
Name of a second numeric column on which the trigger is activated. More... | |
IList< double > | y_vector = new List<double>() [get, set] |
The respective coordinate values for the region on which the trigger is activated. More... | |
IDictionary< string, string > | options = new Dictionary<string, string>() [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.createTriggerByArea.
Sets up an area trigger mechanism for two column_names for one or more tables. (This function is essentially the two-dimensional version of Kinetica.createTriggerByRange.) Once the trigger has been activated, any record added to the listed tables(s) via Kinetica.insertRecords with the chosen columns' values falling within the specified region 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) for any listening client to collect. Active triggers can be cancelled by using the Kinetica.clearTrigger 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 31 of file CreateTriggerByArea.cs.
|
inline |
Constructs a CreateTriggerByAreaRequest object with default parameters.
Definition at line 76 of file CreateTriggerByArea.cs.
|
inline |
Constructs a CreateTriggerByAreaRequest 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 | Names of the tables on which the trigger will be activated and maintained, each in [schema_name.]table_name format, using standard name resolution rules. |
x_column_name | Name of a numeric column on which the trigger is activated. Usually 'x' for geospatial data points. |
x_vector | The respective coordinate values for the region on which the trigger is activated. This usually translates to the x-coordinates of a geospatial region. |
y_column_name | Name of a second numeric column on which the trigger is activated. Usually 'y' for geospatial data points. |
y_vector | The respective coordinate values for the region on which the trigger is activated. This usually translates to the y-coordinates of a geospatial region. Must be the same length as xvals. |
options | Optional parameters. The default value is an empty Dictionary. |
Definition at line 104 of file CreateTriggerByArea.cs.
|
getset |
Optional parameters.
The default value is an empty Dictionary.
Definition at line 72 of file CreateTriggerByArea.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 36 of file CreateTriggerByArea.cs.
|
getset |
Names of the tables on which the trigger will be activated and maintained, each in [schema_name.
]table_name format, using standard name resolution rules.
Definition at line 42 of file CreateTriggerByArea.cs.
|
getset |
Name of a numeric column on which the trigger is activated.
Usually 'x' for geospatial data points.
Definition at line 48 of file CreateTriggerByArea.cs.
|
getset |
The respective coordinate values for the region on which the trigger is activated.
This usually translates to the x-coordinates of a geospatial region.
Definition at line 54 of file CreateTriggerByArea.cs.
|
getset |
Name of a second numeric column on which the trigger is activated.
Usually 'y' for geospatial data points.
Definition at line 60 of file CreateTriggerByArea.cs.
|
getset |
The respective coordinate values for the region on which the trigger is activated.
This usually translates to the y-coordinates of a geospatial region. Must be the same length as xvals.
Definition at line 67 of file CreateTriggerByArea.cs.