public class ErrorHistoryColumn extends AbstractHistoryNode implements HistoryColumn
type
Constructor and Description |
---|
ErrorHistoryColumn(HistoryNode node,
DataQuality errorQuality) |
ErrorHistoryColumn(java.lang.String name,
DataTypeClass type,
DataQuality errorQuality) |
Modifier and Type | Method and Description |
---|---|
DataQuality |
getQuality()
Gets the quality that corresponds to the last call to getValue
|
java.lang.Object |
getValue(long timestamp,
int level) |
boolean |
hasMore()
Indicates whether the node has more data for the last time used with getValue.
|
long |
maxAvailableTime()
Returns the MAX time that this column has values for.
|
void |
process(HistoricalValue value) |
boolean |
wasValueInterpolated()
Returns whether the the last value provided by getValue was purely interpolated- not based on any actual data.
|
getDataType, getErrorCode, getName, getNext, getPrevious, isErrored, markCompleted, setDataType, setErrored, setNext, setNextAvailableTime, setPrevious, shiftNodes, swapNodes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataType, getName, getNext, getPrevious, markCompleted, setNext, setPrevious
public ErrorHistoryColumn(HistoryNode node, DataQuality errorQuality)
public ErrorHistoryColumn(java.lang.String name, DataTypeClass type, DataQuality errorQuality)
public long maxAvailableTime()
HistoryNode
maxAvailableTime
in interface HistoryNode
maxAvailableTime
in class AbstractHistoryNode
public java.lang.Object getValue(long timestamp, int level)
getValue
in interface HistoryNode
public DataQuality getQuality()
HistoryNode
getQuality
in interface HistoryNode
public boolean wasValueInterpolated()
HistoryNode
wasValueInterpolated
in interface HistoryNode
public boolean hasMore()
HistoryNode
hasMore
in interface HistoryNode
public void process(HistoricalValue value)
process
in interface HistoryColumn