Interface Row
- All Known Implementing Classes:
Row.Attributed, Row.Calculation, Row.Tall, Row.Wide
One assembled row emitted by
RowAssembler into a RowSink. Each variant matches a
ResultWriterOptions.ResultFormat.
Multi-engine queries tag each row with the histprov id of its engine through engineId(); single-engine rows return null there.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordWraps a row to stamp a non-nullengineIdon it for multi-engine attribution; every other accessor delegates to the wrapped row.static final recordCalculation row: one aggregate result per row, with thetimestampof the start of the window it finalized over.static final recordTall-format row: one path, value and quality per row, with the aggregate that produced the value ornullfor a raw sample.static final recordWide-format row: one timestamp, with parallel value and quality arrays per column. -
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable StringengineId()Returns the histprov id of the engine that produced this row, set byEngineAttributingSinkon multi-engine queries;nullon single-engine queries.Returns the per-cell qualities; never null or empty.longReturns the row's timestamp in epoch milliseconds.
-
Method Details
-
timestamp
long timestamp()Returns the row's timestamp in epoch milliseconds. ForRow.Calculationit is the start of the window the aggregate finalized over. -
qualities
QualityCode[] qualities()Returns the per-cell qualities; never null or empty. -
engineId
Returns the histprov id of the engine that produced this row, set byEngineAttributingSinkon multi-engine queries;nullon single-engine queries.
-