Class HistorianDataColumn<K extends DataPointQueryKey>
java.lang.Object
com.inductiveautomation.ignition.gateway.sqltags.history.query.columns.DelegatingResultNode
com.inductiveautomation.historian.gateway.query.HistorianDataColumn<K>
- All Implemented Interfaces:
ResultNode,ValueBasedResultNode
public class HistorianDataColumn<K extends DataPointQueryKey>
extends DelegatingResultNode
implements ValueBasedResultNode
This history column is self-configuring based on the various settings configured on it. It configures itself
when the first value is published.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateAggregated(QueryController controller, ColumnQueryDefinition definition, QualifiedPathAdapter pathAdapter, boolean nativeAggregate) static HistorianDataColumn<RawQueryKey>createRaw(QueryController controller, ColumnQueryDefinition definition, QualifiedPathAdapter pathAdapter) The column maintains a builder that can be updated until the point which the first data arrives.booleanisBuilt()voidprocessValue(QualifiedValue value) Processes a single value.voidsetErrored(QualityCode code) Sets the column to an error state.Methods inherited from class com.inductiveautomation.ignition.gateway.sqltags.history.query.columns.DelegatingResultNode
getDataType, getName, getNext, getPrevious, getQuality, getValue, hasMore, markCompleted, maxAvailableTime, setDelegate, setNext, setPrevious, wasValueInterpolatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.gateway.sqltags.history.query.columns.ResultNode
getDataType, getName, getNext, getPrevious, getQuality, getValue, hasMore, markCompleted, maxAvailableTime, setNext, setPrevious, wasValueInterpolated
-
Method Details
-
getColumnKey
-
createAggregated
public static HistorianDataColumn<AggregatedQueryKey> createAggregated(QueryController controller, ColumnQueryDefinition definition, QualifiedPathAdapter pathAdapter, boolean nativeAggregate) -
createRaw
public static HistorianDataColumn<RawQueryKey> createRaw(QueryController controller, ColumnQueryDefinition definition, QualifiedPathAdapter pathAdapter) -
getBuilder
The column maintains a builder that can be updated until the point which the first data arrives. At that point, the builder will be used to generate the underlying column type. -
buildColumn
public void buildColumn() -
isBuilt
public boolean isBuilt() -
getDelegate
- Overrides:
getDelegatein classDelegatingResultNode
-
setErrored
Description copied from interface:ValueBasedResultNodeSets the column to an error state.- Specified by:
setErroredin interfaceValueBasedResultNode- Parameters:
code- The quality code representing the error
-
processValue
Description copied from interface:ValueBasedResultNodeProcesses a single value.- Specified by:
processValuein interfaceValueBasedResultNode- Parameters:
value- The qualified value to process
-