Skip to main content

◆ createTriggerByRange() [1/2]

CreateTriggerByRangeResponse kinetica.Kinetica.createTriggerByRange (CreateTriggerByRangeRequestrequest_)
inline

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 insertRecords 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 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 28766 of file KineticaFunctions.cs.

◆ createTriggerByRange() [2/2]

CreateTriggerByRangeResponse kinetica.Kinetica.createTriggerByRange (stringrequest_id,
IList< string >table_names,
stringcolumn_name,
doublemin,
doublemax,
IDictionary< string, string >options = null )
inline

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 insertRecords 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 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_namesTables on which the trigger will be active, each in [schema_name.]table_name format, using standard name resolution rules.
column_nameName of a numeric column_name on which the trigger is activated.
minThe lower bound (inclusive) for the trigger range.
maxThe upper bound (inclusive) for the trigger range.
optionsOptional parameters. The default value is an empty Dictionary.
Returns
Response object containing the result of the operation.

Definition at line 28834 of file KineticaFunctions.cs.

◆ CreateTriggerByRangeAsync() [1/2]

async System.Threading.Tasks.Task< CreateTriggerByRangeResponse > kinetica.Kinetica.CreateTriggerByRangeAsync (CreateTriggerByRangeRequestrequest_,
System.Threading.CancellationTokencancellationToken = default )
inline

Sets up a simple range trigger for a column_name for one or more tables.

(async)

Once the trigger has been activated, any record added to the listed tables(s) via insertRecords 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 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 28794 of file KineticaFunctions.cs.

◆ CreateTriggerByRangeAsync() [2/2]

async System.Threading.Tasks.Task< CreateTriggerByRangeResponse > kinetica.Kinetica.CreateTriggerByRangeAsync (stringrequest_id,
IList< string >table_names,
stringcolumn_name,
doublemin,
doublemax,
IDictionary< string, string >options = null,
System.Threading.CancellationTokencancellationToken = default )
inline

Sets up a simple range trigger for a column_name for one or more tables.

(async)

Once the trigger has been activated, any record added to the listed tables(s) via insertRecords 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 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_namesTables on which the trigger will be active, each in [schema_name.]table_name format, using standard name resolution rules.
column_nameName of a numeric column_name on which the trigger is activated.
minThe lower bound (inclusive) for the trigger range.
maxThe upper bound (inclusive) for the trigger range.
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 28881 of file KineticaFunctions.cs.