@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/access-services/analytics-modeling/users/{userId}/")
public class AnalyticsModelingOMASResource
extends Object
| Constructor and Description |
|---|
AnalyticsModelingOMASResource() |
| Modifier and Type | Method and Description |
|---|---|
AnalyticsModelingOMASAPIResponse |
getDatabases(String serverName,
String userId)
Get list of databases.
|
AnalyticsModelingOMASAPIResponse |
getPhysicalModule(String serverName,
String userId,
String dataSource,
String catalog,
String schema,
Object request)
Get physical module of a given dataSource, catalog and schema.
|
AnalyticsModelingOMASAPIResponse |
getSchemas(String serverName,
String userId,
String dataSource)
Get list of schemas of a given dataSource.
|
AnalyticsModelingOMASAPIResponse |
getTables(String serverName,
String userId,
String dataSource,
String catalog,
String schema,
Object request)
Get list of tables of a given dataSource, catalog and schema.
|
@GetMapping(path="/databases") public AnalyticsModelingOMASAPIResponse getDatabases(@PathVariable(value="serverName") String serverName, @PathVariable(value="userId") String userId)
serverName - unique identifier for requested server.userId - the unique identifier for the user@GetMapping(path="/{dataSourceGUID}/schemas")
public AnalyticsModelingOMASAPIResponse getSchemas(@PathVariable(value="serverName")
String serverName,
@PathVariable(value="userId")
String userId,
@PathVariable(value="dataSourceGUID")
String dataSource)
serverName - unique identifier for requested server.userId - the unique identifier for the userdataSource - data source GUID.@PostMapping(path="/{dataSourceGUID}/tables")
public AnalyticsModelingOMASAPIResponse getTables(@PathVariable(value="serverName")
String serverName,
@PathVariable(value="userId")
String userId,
@PathVariable(value="dataSourceGUID")
String dataSource,
@RequestParam(required=false)
String catalog,
@RequestParam(required=true)
String schema,
@RequestBody(required=false)
Object request)
serverName - unique identifier for requested server.userId - the unique identifier for the userdataSource - data source id.catalog - of the db.schema - of the db.request - body.@PostMapping(path="/{dataSourceGUID}/physicalModule")
public AnalyticsModelingOMASAPIResponse getPhysicalModule(@PathVariable(value="serverName")
String serverName,
@PathVariable(value="userId")
String userId,
@PathVariable(value="dataSourceGUID")
String dataSource,
@RequestParam(required=false)
String catalog,
@RequestParam(required=true)
String schema,
@RequestBody(required=false)
Object request)
serverName - unique identifier for requested server.userId - the unique identifier for the userdataSource - data source id.catalog - of the db.schema - of the db.request - body.Copyright © 2018–2020 ODPi. All rights reserved.