@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,
@PositiveOrZero(message="startFrom should be a positive number") Integer startFrom,
@PositiveOrZero(message="pageSize should be a positive number") Integer pageSize)
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,
@PositiveOrZero(message="startFrom should be a positive number") Integer startFrom,
@PositiveOrZero(message="pageSize should be a positive number") Integer pageSize)
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, @PositiveOrZero(message="startFrom should be a positive number") @RequestParam @PositiveOrZero(message="startFrom should be a positive number") Integer startFrom, @PositiveOrZero(message="pageSize should be a positive number") @RequestParam @PositiveOrZero(message="pageSize should be a positive number") Integer pageSize)
serverName - unique identifier for requested server.userId - the unique identifier for the userstartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to return@GetMapping(path="/{dataSourceGUID}/schemas")
public AnalyticsModelingOMASAPIResponse getSchemas(@PathVariable(value="serverName")
String serverName,
@PathVariable(value="userId")
String userId,
@PathVariable(value="dataSourceGUID")
String dataSource,
@PositiveOrZero(message="startFrom should be a positive number") @RequestParam
@PositiveOrZero(message="startFrom should be a positive number") Integer startFrom,
@PositiveOrZero(message="pageSize should be a positive number") @RequestParam
@PositiveOrZero(message="pageSize should be a positive number") Integer pageSize)
serverName - unique identifier for requested server.userId - the unique identifier for the userdataSource - data source GUID.startFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to return@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.