SqlDataSourceService
import io.skipcheck.tm1.client.service.process.SqlDataSourceService; The ODBC data sources on TM1's host, which processes can read from
(DataSource.Type ODBC). They're the host's ODBC configuration, not
TM1's: read only here.
List the data sources:
// The ODBC sources a process could read from, on TM1's host
return tm1.sqlDataSources().list(ODataQuery.none()).mapNotNull(SQLDataSource::name);
Members
SqlDataSourceService constructor | A service sending its requests through session. |
list | GET SQLDataSources, streamed. |
get | GET SQLDataSources('name'). |
SqlDataSourceService
constructorSqlDataSourceService(Tm1Session session) A service sending its requests through session.
Parameters
session- the session
list
Flux<SQLDataSource> list(ODataQuery query) GET SQLDataSources, streamed.
Parameters
query- what to select, filter and order
Returns
- the data sources: their names and descriptions
TM1 REST EntitySet SQLDataSources
get
Mono<SQLDataSource> get(String name, ODataQuery query) GET SQLDataSources('name').
Parameters
name- the data source's name
query- what to select
Returns
- the data source, or a
Tm1NotFoundExceptionif the host has none by that name
TM1 REST EntitySet SQLDataSources
Also in the Javadoc.