Class HistoryWriter.ListHead
java.lang.Object
com.inductiveautomation.historian.gateway.query.writing.HistoryWriter.ListHead
- All Implemented Interfaces:
ResultNode
- Enclosing class:
- HistoryWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
getNext()
Gets the quality that corresponds to the last call to getValuegetValue
(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
Returns the MAX time that this column has values for.void
void
setNext
(ResultNode node) void
setPrevious
(ResultNode node) boolean
Returns whether the last value provided by getValue was purely interpolated- not based on any actual data.
-
Constructor Details
-
ListHead
protected ListHead()
-
-
Method Details
-
maxAvailableTime
public long maxAvailableTime()Description copied from interface:ResultNode
Returns the MAX time that this column has values for. NOTE: the max time can be well in the future (compared to the last value time). In fact, columns that don't interpolate data could return long.maxvalue. This time simply means "if you call getValue with a time less than this time, I can give you a value".- Specified by:
maxAvailableTime
in interfaceResultNode
-
setNext
- Specified by:
setNext
in interfaceResultNode
-
getNext
- Specified by:
getNext
in interfaceResultNode
-
getPrevious
- Specified by:
getPrevious
in interfaceResultNode
-
setPrevious
- Specified by:
setPrevious
in interfaceResultNode
-
getName
- Specified by:
getName
in interfaceResultNode
-
getValue
- Specified by:
getValue
in interfaceResultNode
-
getDataType
- Specified by:
getDataType
in interfaceResultNode
-
wasValueInterpolated
public boolean wasValueInterpolated()Description copied from interface:ResultNode
Returns whether the last value provided by getValue was purely interpolated- not based on any actual data.- Specified by:
wasValueInterpolated
in interfaceResultNode
-
getQuality
Description copied from interface:ResultNode
Gets the quality that corresponds to the last call to getValue- Specified by:
getQuality
in interfaceResultNode
-
hasMore
public boolean hasMore()Description copied from interface:ResultNode
Indicates whether the node has more data for the last time used with getValue.- Specified by:
hasMore
in interfaceResultNode
-
markCompleted
public void markCompleted(long time) Description copied from interface:ResultNode
Tells the node that the data up to and including the specified time is no longer needed. The node should potentially update its maxAvailableTime and sort itself in the list.- Specified by:
markCompleted
in interfaceResultNode
-
printList
public void printList()
-