Kinetica C# API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
kinetica.CreateTableMonitorRequest Class Reference

A set of parameters for Kinetica.createTableMonitor(string,IDictionary{string, string}). More...

+ Inheritance diagram for kinetica.CreateTableMonitorRequest:
+ Collaboration diagram for kinetica.CreateTableMonitorRequest:

Classes

struct  Options
 Optional parameters. More...
 

Public Member Functions

 CreateTableMonitorRequest ()
 Constructs a CreateTableMonitorRequest object with default parameters. More...
 
 CreateTableMonitorRequest (string table_name, IDictionary< string, string > options=null)
 Constructs a CreateTableMonitorRequest object with the specified parameters. More...
 
- Public Member Functions inherited from kinetica.KineticaData
 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 table_name [get, set]
 Name of the table to monitor. More...
 
IDictionary< string, string > options [get, set]
 Optional parameters. More...
 
- Properties inherited from kinetica.KineticaData
Schema Schema [get]
 Avro Schema for this class More...
 

Additional Inherited Members

- Static Public Member Functions inherited from kinetica.KineticaData
static RecordSchema SchemaFromType (System.Type t, KineticaType ktype=null)
 Create an Avro Schema from a System.Type and a KineticaType. More...
 

Detailed Description

A set of parameters for Kinetica.createTableMonitor(string,IDictionary{string, string}).


Creates a monitor that watches for a single table modification event type (insert, update, or delete) on a particular table (identified by table_name) and forwards event notifications to subscribers via ZMQ. After this call completes, subscribe to the returned <member name="topic_id"> on the ZMQ table monitor port (default 9002). Each time an operation of the given type on the table completes, a multipart message is published for that topic; the first part contains only the topic ID, and each subsequent part contains one binary-encoded Avro object that corresponds to the event and can be decoded using <member name="type_schema">. The monitor will continue to run (regardless of whether or not there are any subscribers) until deactivated with Kinetica.clearTableMonitor(string,IDictionary{string, string}).
For more information on table monitors, see Table Monitors.

Definition at line 42 of file CreateTableMonitor.cs.

Constructor & Destructor Documentation

kinetica.CreateTableMonitorRequest.CreateTableMonitorRequest ( )
inline

Constructs a CreateTableMonitorRequest object with default parameters.

Definition at line 175 of file CreateTableMonitor.cs.

kinetica.CreateTableMonitorRequest.CreateTableMonitorRequest ( string  table_name,
IDictionary< string, string >  options = null 
)
inline

Constructs a CreateTableMonitorRequest object with the specified parameters.

Parameters
table_nameName of the table to monitor. Must not refer to a collection.
optionsOptional parameters.
  • EVENT: Type of modification event on the target table to be monitored by this table monitor. Supported values:
    • INSERT: Get notifications of new record insertions. The new row images are forwarded to the subscribers.
    • UPDATE: Get notifications of update operations. The modified row count information is forwarded to the subscribers.
    • DELETE: Get notifications of delete operations. The deleted row count information is forwarded to the subscribers.
    The default value is INSERT.
The default value is an empty Dictionary.

Definition at line 218 of file CreateTableMonitor.cs.

Property Documentation

IDictionary<string, string> kinetica.CreateTableMonitorRequest.options
getset

Optional parameters.

  • EVENT: Type of modification event on the target table to be monitored by this table monitor. Supported values:
    • INSERT: Get notifications of new record insertions. The new row images are forwarded to the subscribers.
    • UPDATE: Get notifications of update operations. The modified row count information is forwarded to the subscribers.
    • DELETE: Get notifications of delete operations. The deleted row count information is forwarded to the subscribers.
    The default value is INSERT.

The default value is an empty Dictionary.

Definition at line 170 of file CreateTableMonitor.cs.

string kinetica.CreateTableMonitorRequest.table_name
getset

Name of the table to monitor.

Must not refer to a collection.

Definition at line 133 of file CreateTableMonitor.cs.


The documentation for this class was generated from the following file: