Class ValueHistoricalColumn
java.lang.Object
com.inductiveautomation.ignition.gateway.storeforward.data.history.HistoricalColumn
com.inductiveautomation.ignition.gateway.storeforward.data.history.ValueHistoricalColumn
A historical column that contains a list of arbitrary values.
-
Constructor Summary
ConstructorsConstructorDescriptionValueHistoricalColumn
(String name) ValueHistoricalColumn
(String name, QualifiedValue value) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a value to the end of this column.copy()
Creates a copy of this historical column.boolean
int
Returns the number of rows in this column.Returns a serializable version of the values stored in this column.getValue
(int row) Retrieves the value at the specified row index in the value list.int
hashCode()
toString()
Methods inherited from class com.inductiveautomation.ignition.gateway.storeforward.data.history.HistoricalColumn
getName, setName
-
Constructor Details
-
ValueHistoricalColumn
-
ValueHistoricalColumn
-
-
Method Details
-
getValue
Retrieves the value at the specified row index in the value list.- Specified by:
getValue
in classHistoricalColumn
- Parameters:
row
- The row index of the value to retrieve.- Returns:
- The value at the specified row index, or null if the row is empty.
-
addValue
Adds a value to the end of this column.- Specified by:
addValue
in classHistoricalColumn
-
getRowCount
public int getRowCount()Returns the number of rows in this column.- Specified by:
getRowCount
in classHistoricalColumn
-
getSerializableValue
Returns a serializable version of the values stored in this column.- Specified by:
getSerializableValue
in classHistoricalColumn
- Returns:
- an array of objects representing the values within this column, or null if no values are present
-
copy
Creates a copy of this historical column. The copy will have the same name and values as this column.- Specified by:
copy
in classHistoricalColumn
- Returns:
- a new
ValueHistoricalColumn
with the same name and values as this column
-
toString
-
equals
- Overrides:
equals
in classHistoricalColumn
-
hashCode
public int hashCode()- Overrides:
hashCode
in classHistoricalColumn
-