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 protectedSQLiteStorageSession()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected intcommitBatch()voidinit()protected SQLiteHistorian.TaginsertTag(java.lang.String tagPath)voidstore(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.ExceptionDescription copied from interface:StorageSessionStores a value for the given tag path.- Specified by:
storein 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:
closein interfacejava.lang.AutoCloseable- Throws:
java.lang.Exception
-
-