(protected) new Table(openICE, domain, partition, topic)
Represents a data table.
Parameters:
Name | Type | Description |
---|---|---|
openICE |
OpenICE | The parent OpenICE connection. |
domain |
int | The domain containing the table. |
partition |
Array.<string> | The partition containing the table. |
topic |
string | The topic identifier for the table. |
- Source:
Members
-
domain
-
- Source:
Properties:
Name Type Description domain
int The domain containing this table. -
openICE
-
- Source:
Properties:
Name Type Description openICE
OpenICE The parent OpenICE instances. -
partition
-
- Source:
Properties:
Name Type Description partition
Array.<string> The partition(s) containing this table. -
rows
-
- Source:
Properties:
Name Type Description rows
object Rows stored by row identifier. -
topic
-
- Source:
Properties:
Name Type Description topic
string The Topic identifying this table.
Methods
-
getRows(keys)
-
Returns rows with matching values for the specified key fields.
Parameters:
Name Type Description keys
object Key values to match. - Source:
Events
-
Table:afteradd
-
A new row was just added to the table
Type:
- object
- Source:
Properties:
-
Table:afterremove
-
A row has been removed from the table
Type:
- object
- Source:
Properties:
-
Table:beforeadd
-
A new row is about to be added to the table
Type:
- object
- Source:
Properties:
-
Table:beforeremove
-
A row is about to be removed from the table
Type:
- object
- Source:
Properties:
-
Table:sample
-
A Sample is added to a Row of the table
Type:
- object
- Source:
Properties:
-
Table:schema
-
A schema has been (re)assigned to the table
Type:
- object
- Source:
Properties:
Name Type Description table
Table The table schema
object The schema