(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
-
- Source:
Properties:
Name Type Description data
object The sample data itself. -
row
-
- Source:
Properties:
Name Type Description row
Row The parent row. -
sourceTimestamp
-
- Source:
Properties:
Name Type Description sourceTimestamp
Date Timestamp at the data source.
Methods
-
toString()
-
- Source:
Events
-
Sample:expire
-
Fired when a sample is removed from the row by expiration policy.
Type:
- object
- Source:
Properties:
Name Type Description sample
Sample The expired sample