Class: Table

Table

(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

Properties:
Name Type Description
domain int The domain containing this table.
Source:

openICE

Properties:
Name Type Description
openICE OpenICE The parent OpenICE instances.
Source:

partition

Properties:
Name Type Description
partition Array.<string> The partition(s) containing this table.
Source:

rows

Properties:
Name Type Description
rows object Rows stored by row identifier.
Source:

topic

Properties:
Name Type Description
topic string The Topic identifying this table.
Source:

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
Properties:
Name Type Description
table Table The table
row Row The new row
Source:

Table:afterremove

A row has been removed from the table
Type:
  • object
Properties:
Name Type Description
table Table The table
row Row The removed row
Source:

Table:beforeadd

A new row is about to be added to the table
Type:
  • object
Properties:
Name Type Description
table Table The table
row Row The new row
Source:

Table:beforeremove

A row is about to be removed from the table
Type:
  • object
Properties:
Name Type Description
table Table The table
row Row The row about to be removed
Source:

Table:sample

A Sample is added to a Row of the table
Type:
  • object
Properties:
Name Type Description
table Table The table
row Row The row
sample Sample The new sample
Source:

Table:schema

A schema has been (re)assigned to the table
Type:
  • object
Properties:
Name Type Description
table Table The table
schema object The schema
Source: