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 TypeMethodDescriptionvoid
createAggregated
(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.boolean
isBuilt()
void
processValue
(QualifiedValue value) Processes a single value.void
setErrored
(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, wasValueInterpolated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getDelegate
in classDelegatingResultNode
-
setErrored
Description copied from interface:ValueBasedResultNode
Sets the column to an error state.- Specified by:
setErrored
in interfaceValueBasedResultNode
- Parameters:
code
- The quality code representing the error
-
processValue
Description copied from interface:ValueBasedResultNode
Processes a single value.- Specified by:
processValue
in interfaceValueBasedResultNode
- Parameters:
value
- The qualified value to process
-