Skip to main content

◆ createTriggerByArea() [1/2]

CreateTriggerByAreaResponse kinetica.Kinetica.createTriggerByArea (CreateTriggerByAreaRequestrequest_)
inline

Sets up an area trigger mechanism for two column_names for one or more tables.

(This function is essentially the two-dimensional version of createTriggerByRange.) Once the trigger has been activated, any record added to the listed tables(s) via 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 showSystemStatus) for any listening client to collect. Active triggers can be cancelled by using the 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.

Parameters
request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

Definition at line 28588 of file KineticaFunctions.cs.

◆ createTriggerByArea() [2/2]

CreateTriggerByAreaResponse kinetica.Kinetica.createTriggerByArea (stringrequest_id,
IList< string >table_names,
stringx_column_name,
IList< double >x_vector,
stringy_column_name,
IList< double >y_vector,
IDictionary< string, string >options = null )
inline

Sets up an area trigger mechanism for two column_names for one or more tables.

(This function is essentially the two-dimensional version of createTriggerByRange.) Once the trigger has been activated, any record added to the listed tables(s) via 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 showSystemStatus) for any listening client to collect. Active triggers can be cancelled by using the 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.

Parameters
request_idUser-created ID for the trigger. The ID can be alphanumeric, contain symbols, and must contain at least one character.
table_namesNames 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_nameName of a numeric column on which the trigger is activated. Usually ‘x’ for geospatial data points.
x_vectorThe 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_nameName of a second numeric column on which the trigger is activated. Usually ‘y’ for geospatial data points.
y_vectorThe 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.
optionsOptional parameters. The default value is an empty Dictionary.
Returns
Response object containing the result of the operation.

Definition at line 28669 of file KineticaFunctions.cs.

◆ CreateTriggerByAreaAsync() [1/2]

async System.Threading.Tasks.Task< CreateTriggerByAreaResponse > kinetica.Kinetica.CreateTriggerByAreaAsync (CreateTriggerByAreaRequestrequest_,
System.Threading.CancellationTokencancellationToken = default )
inline

Sets up an area trigger mechanism for two column_names for one or more tables.

(async)

(This function is essentially the two-dimensional version of createTriggerByRange.) Once the trigger has been activated, any record added to the listed tables(s) via 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 showSystemStatus) for any listening client to collect. Active triggers can be cancelled by using the 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.

Parameters
request_Request object containing the parameters for the operation.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 28619 of file KineticaFunctions.cs.

◆ CreateTriggerByAreaAsync() [2/2]

async System.Threading.Tasks.Task< CreateTriggerByAreaResponse > kinetica.Kinetica.CreateTriggerByAreaAsync (stringrequest_id,
IList< string >table_names,
stringx_column_name,
IList< double >x_vector,
stringy_column_name,
IList< double >y_vector,
IDictionary< string, string >options = null,
System.Threading.CancellationTokencancellationToken = default )
inline

Sets up an area trigger mechanism for two column_names for one or more tables.

(async)

(This function is essentially the two-dimensional version of createTriggerByRange.) Once the trigger has been activated, any record added to the listed tables(s) via 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 showSystemStatus) for any listening client to collect. Active triggers can be cancelled by using the 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.

Parameters
request_idUser-created ID for the trigger. The ID can be alphanumeric, contain symbols, and must contain at least one character.
table_namesNames 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_nameName of a numeric column on which the trigger is activated. Usually ‘x’ for geospatial data points.
x_vectorThe 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_nameName of a second numeric column on which the trigger is activated. Usually ‘y’ for geospatial data points.
y_vectorThe 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.
optionsOptional parameters. The default value is an empty Dictionary.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 28729 of file KineticaFunctions.cs.