Class SQLiteHistorian.SQLiteStorageSession
- java.lang.Object
-
- com.inductiveautomation.gateway.tsdb.historians.SQLiteHistorian.SQLiteStorageSession
-
- All Implemented Interfaces:
StorageSession
,java.lang.AutoCloseable
- Enclosing class:
- SQLiteHistorian
protected class SQLiteHistorian.SQLiteStorageSession extends java.lang.Object implements StorageSession
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SQLiteStorageSession()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected int
commitBatch()
void
init()
protected SQLiteHistorian.Tag
insertTag(java.lang.String tagPath)
void
store(java.lang.String tag, java.lang.Object value, int quality, long timestamp)
Stores a value for the given tag path.
-
-
-
Method Detail
-
init
public void init() throws java.lang.Exception
- Throws:
java.lang.Exception
-
insertTag
protected SQLiteHistorian.Tag insertTag(java.lang.String tagPath)
-
store
public void store(@Nonnull java.lang.String tag, @Nullable java.lang.Object value, int quality, long timestamp) throws java.lang.Exception
Description copied from interface:StorageSession
Stores a value for the given tag path.- Specified by:
store
in interfaceStorageSession
- Throws:
java.lang.Exception
-
commitBatch
protected int commitBatch() throws java.lang.Exception
- Throws:
java.lang.Exception
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.lang.Exception
-
-