public interface DataWindow
Modifier and Type | Method and Description |
---|---|
void |
addValue(HistoricalValue value)
Adds a value to the window.
|
void |
finalize(HistoricalValue trailingValue)
Provides the window with the value that comes next, outside of the window, in order to finalize calculations.
|
long |
getEndTime()
The end time of the window, also sometimes referred to as the "block id".
|
HistoricalValue |
getEntryValue()
Returns the edge value of the window, which will be used for interpolation from the previous value.
|
HistoricalValue |
getExitValue()
Returns the "exit" value of this window.
|
long |
getStartTime()
The start time of the window.
|
HistoricalValue |
getValue(int level)
Returns the value for the specified "level" of the window.
|
boolean |
hasMore(int level) |
void |
initialize(HistoricalValue entryValue)
Provides the window with the previous window's value.
|
long getStartTime()
long getEndTime()
boolean hasMore(int level)
HistoricalValue getValue(int level)
HistoricalValue getEntryValue()
HistoricalValue getExitValue()
void initialize(HistoricalValue entryValue)
void finalize(HistoricalValue trailingValue)
void addValue(HistoricalValue value)