Class LiteralHistoricalColumn
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.history.HistoricalColumn
-
- com.inductiveautomation.ignition.gateway.history.LiteralHistoricalColumn
-
- All Implemented Interfaces:
java.io.Serializable
public class LiteralHistoricalColumn extends HistoricalColumn
This column type provides a literal string that will be worked into the raw db query. It can therefore be a DB keyword such as CURRENT_TIMESTAMP or just a value, like 'my table'.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LiteralHistoricalColumn()
LiteralHistoricalColumn(java.lang.String name, java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValue(java.lang.Object value)
Adds a new row of data.HistoricalColumn
copy()
int
getRowCount()
java.lang.Object
getSerializableValue()
java.lang.String
getValue()
java.lang.Object
getValue(int row)
Returns the raw value for the given row number.void
setValue(java.lang.String value)
-
Methods inherited from class com.inductiveautomation.ignition.gateway.history.HistoricalColumn
getName, setName
-
-
-
-
Method Detail
-
getValue
public java.lang.Object getValue(int row)
Description copied from class:HistoricalColumn
Returns the raw value for the given row number. Can be null if the row doesn't exist.- Specified by:
getValue
in classHistoricalColumn
-
getValue
public java.lang.String getValue()
-
setValue
public void setValue(java.lang.String value)
-
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in classHistoricalColumn
-
addValue
public void addValue(java.lang.Object value)
Description copied from class:HistoricalColumn
Adds a new row of data.- Specified by:
addValue
in classHistoricalColumn
-
getSerializableValue
public java.lang.Object getSerializableValue()
- Specified by:
getSerializableValue
in classHistoricalColumn
-
copy
public HistoricalColumn copy() throws java.lang.Exception
- Overrides:
copy
in classHistoricalColumn
- Throws:
java.lang.Exception
-
-