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) booleanhasMore()Indicates whether the node has more data for the last time used with getValue.voidmarkCompleted(long time) Tells the node that the data up to and including the specified time is no longer needed.longReturns the MAX time that this column has values for.voidvoidsetNext(ResultNode node) voidsetPrevious(ResultNode node) booleanReturns 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:ResultNodeReturns 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:
maxAvailableTimein interfaceResultNode
-
setNext
- Specified by:
setNextin interfaceResultNode
-
getNext
- Specified by:
getNextin interfaceResultNode
-
getPrevious
- Specified by:
getPreviousin interfaceResultNode
-
setPrevious
- Specified by:
setPreviousin interfaceResultNode
-
getName
- Specified by:
getNamein interfaceResultNode
-
getValue
- Specified by:
getValuein interfaceResultNode
-
getDataType
- Specified by:
getDataTypein interfaceResultNode
-
wasValueInterpolated
public boolean wasValueInterpolated()Description copied from interface:ResultNodeReturns whether the last value provided by getValue was purely interpolated- not based on any actual data.- Specified by:
wasValueInterpolatedin interfaceResultNode
-
getQuality
Description copied from interface:ResultNodeGets the quality that corresponds to the last call to getValue- Specified by:
getQualityin interfaceResultNode
-
hasMore
public boolean hasMore()Description copied from interface:ResultNodeIndicates whether the node has more data for the last time used with getValue.- Specified by:
hasMorein interfaceResultNode
-
markCompleted
public void markCompleted(long time) Description copied from interface:ResultNodeTells 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:
markCompletedin interfaceResultNode
-
printList
public void printList()
-