Class EventStreamContext
java.lang.Object
com.inductiveautomation.eventstream.designer.api.EventStreamContext
-
Constructor Summary
ConstructorsConstructorDescriptionEventStreamContext
(DesignerContext designerContext, ResourcePath resourcePath, EventStreamRpc rpc) -
Method Summary
Modifier and TypeMethodDescriptionlistEventStreams
(String projectName) listTableColumns
(String datasource, String tableName) listTables
(String datasourceName) rpc()
-
Constructor Details
-
EventStreamContext
public EventStreamContext(DesignerContext designerContext, ResourcePath resourcePath, EventStreamRpc rpc)
-
-
Method Details
-
functionFactory
-
designerContext
-
resourcePath
-
rpc
-
listProjects
- Returns:
- List of projects
-
listProjectsOrdered
- Returns:
- List of projects ordered
- Throws:
Exception
-
listEventStreams
- Returns:
- Ordered list of Event Streams
-
listDatasources
- Returns:
- List of data sources
- Throws:
Exception
- If unable to retrieve the list from the Gateway an exception will be thrown
-
listTables
- Parameters:
datasourceName
- The name of the datasource for which the list of tables is retrieved- Returns:
- List of tables for
datasourceName
- Throws:
Exception
- If unable to retrieve the list from the Gateway
-
listTableColumns
- Parameters:
datasource
- The name of the datasource in which thetableName
can be foundtableName
- The name of the table to retrieve a list of columns- Returns:
- List of table columns for the table specified in
tableName
- Throws:
Exception
- If unable to retrieve the list from the Gateway
-
listUserSources
- Returns:
- List of user sources.
- Throws:
Exception
- If unable to retrieve the list from the Gateway
-