Class: Sample

Sample

(protected) new Sample(row, msg)

Represents a data sample at a point in time.
Parameters:
Name Type Description
row Row The parent row for this data sample.
msg object The message containing details for this sample including sourceTimestamp, receptionTimestamp, and sample.
Source:

Members

data

Properties:
Name Type Description
data object The sample data itself.
Source:

row

Properties:
Name Type Description
row Row The parent row.
Source:

sourceTimestamp

Properties:
Name Type Description
sourceTimestamp Date Timestamp at the data source.
Source:

Methods

toString()

Source:

Events

Sample:expire

Fired when a sample is removed from the row by expiration policy.
Type:
  • object
Properties:
Name Type Description
sample Sample The expired sample
Source: