Class DatasourceTagLister
- java.lang.Object
-
- com.inductiveautomation.gateway.tags.history.query.DatasourceTagLister
-
public class DatasourceTagLister extends java.lang.Object
Lists the historical tags available for the data source.
In the future, if we have different types of data sources, we can break the TagLister idea out into an interface.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROVIDER_NAME_SEPARATOR
-
Constructor Summary
Constructors Constructor Description DatasourceTagLister(GatewayContext context, java.lang.String datasource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SRConnection
getConnection()
protected java.util.Map<java.lang.Integer,java.lang.String>
getDrivers()
protected QueryCache
getQueryCache()
java.util.Set<TagPath>
getTags()
-
-
-
Field Detail
-
PROVIDER_NAME_SEPARATOR
public static final java.lang.String PROVIDER_NAME_SEPARATOR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DatasourceTagLister
public DatasourceTagLister(GatewayContext context, java.lang.String datasource)
-
-
Method Detail
-
getQueryCache
protected QueryCache getQueryCache()
-
getConnection
protected SRConnection getConnection() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getTags
public java.util.Set<TagPath> getTags() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getDrivers
protected java.util.Map<java.lang.Integer,java.lang.String> getDrivers() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-