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 voidaddValue(java.lang.Object value)Adds a new row of data.HistoricalColumncopy()intgetRowCount()java.lang.ObjectgetSerializableValue()java.lang.StringgetValue()java.lang.ObjectgetValue(int row)Returns the raw value for the given row number.voidsetValue(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:HistoricalColumnReturns the raw value for the given row number. Can be null if the row doesn't exist.- Specified by:
getValuein classHistoricalColumn
-
getValue
public java.lang.String getValue()
-
setValue
public void setValue(java.lang.String value)
-
getRowCount
public int getRowCount()
- Specified by:
getRowCountin classHistoricalColumn
-
addValue
public void addValue(java.lang.Object value)
Description copied from class:HistoricalColumnAdds a new row of data.- Specified by:
addValuein classHistoricalColumn
-
getSerializableValue
public java.lang.Object getSerializableValue()
- Specified by:
getSerializableValuein classHistoricalColumn
-
copy
public HistoricalColumn copy() throws java.lang.Exception
- Overrides:
copyin classHistoricalColumn- Throws:
java.lang.Exception
-
-