public class DelegatingHistoryNode extends java.lang.Object implements HistoryNode
Constructor and Description |
---|
DelegatingHistoryNode(HistoryNode delegate) |
DelegatingHistoryNode(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
DataTypeClass |
getDataType() |
HistoryNode |
getDelegate() |
java.lang.String |
getName() |
HistoryNode |
getNext() |
HistoryNode |
getPrevious() |
DataQuality |
getQuality()
Gets the quality that corresponds to the last call to getValue
|
java.lang.Object |
getValue(long blockId,
int level) |
boolean |
hasMore()
Indicates whether the node has more data for the last time used with getValue.
|
void |
markCompleted(long time)
Tells the node that the data up to and including the specified time is no longer needed.
|
long |
maxAvailableTime()
Returns the MAX time that this column has values for.
|
void |
setDelegate(HistoryNode delegate) |
void |
setNext(HistoryNode node) |
void |
setPrevious(HistoryNode node) |
boolean |
wasValueInterpolated()
Returns whether the the last value provided by getValue was purely interpolated- not based on any actual data.
|
public DelegatingHistoryNode(java.lang.String name)
public DelegatingHistoryNode(HistoryNode delegate)
public void setDelegate(HistoryNode delegate)
public HistoryNode getDelegate()
public DataTypeClass getDataType()
getDataType
in interface HistoryNode
public java.lang.String getName()
getName
in interface HistoryNode
public java.lang.Object getValue(long blockId, int level)
getValue
in interface HistoryNode
public DataQuality getQuality()
HistoryNode
getQuality
in interface HistoryNode
public boolean hasMore()
HistoryNode
hasMore
in interface HistoryNode
public boolean wasValueInterpolated()
HistoryNode
wasValueInterpolated
in interface HistoryNode
public long maxAvailableTime()
HistoryNode
maxAvailableTime
in interface HistoryNode
public void markCompleted(long time)
HistoryNode
markCompleted
in interface HistoryNode
public HistoryNode getNext()
getNext
in interface HistoryNode
public void setNext(HistoryNode node)
setNext
in interface HistoryNode
public HistoryNode getPrevious()
getPrevious
in interface HistoryNode
public void setPrevious(HistoryNode node)
setPrevious
in interface HistoryNode