Trillo Workbench Java SDK
  • Introduction
    • Sample Example
  • BaseApi (Basic APIs)
  • LogApi (Logging APIs)
  • DSApi (Database APIs)
    • Overview
    • Retrieve APIs
    • Create and Update API
    • Delete APIs
    • Empty Table
    • Sample Functions Using API
  • FuncApi (Function APIs)
  • TaskApi (Task APIs)
  • CacheApi (Memory Cache APIs)
    • Delete APIs
    • Create and Update API
    • Retrieve APIs
  • StorageApi
  • CallLogger (Logging Level APIs)
  • CommandApi
  • OAuth1Api
  • Google Cloud APIs
    • BigQueryApi (BigQuery APIs)
    • GCSApi (Cloud Storage APIs)
    • GCPAuthApi
    • GCPRestApi
    • GCPTokenInfo
  • Metadata API (MetaApi)
    • Create and Update API
    • All Retrieve-Only
  • UMApi (User, Tenant, Roles APIs)
  • HttpApi (HTTP APIs)
  • SFTPApi
  • FileUtil
  • CSVApi
  • EmailApi (Email APIs)
Powered by GitBook
On this page
  • getAppDataDir
  • getClassM
  • getSchemaForDataStudio
  • getDomainFileAsMap
  • getMetadata
  • getClasses
  • getClassNames
  • getDataSourceNames
  • getDataSources

Was this helpful?

  1. Metadata API (MetaApi)

All Retrieve-Only

getAppDataDir

Locate and get the application data directory

MetaApi.getAppDataDir()

Parameters

no parameters.

Returns

application data directory​

getClassM

Get the object representing the class​

MetaApi.getClassM(String className)

Parameters

className: name of the class

Returns

the object representing the class​

getSchemaForDataStudio

Get class schema​ for the data studio

MetaApi.getSchemaForDataStudio(String className, boolean includeAllSysAttrs)

Parameters

className:          name of the class
includeAllSysAttrs:  include all system attributes

Returns

the schema object​ for the data studio

getDomainFileAsMap

get domain file as a hashmap.​

MetaApi.getDomainFileAsMap(String fileName)

Parameters

fileName:    name of the file

Returns

hashmap of the file​

getMetadata

get metadata from id

MetaApi.getMetadata(String id)
or
MetaApi.getMetadata(String modelClassName, String folder, String name) 

Parameters

id

Returns

Object

getClasses

get classes

MetaApi.getClasses(String filter)
or
MetaApi.getClasses(String dsName, String filter)
or
MetaApi.getClasses(String dsName, String schemaName, String filter)
or
MetaApi.getClasses(String appName, String dsName, String schemaName, String filter)

Parameters

filter
dsName
schemaName
appName

Returns

Object

getClassNames

get classes

MetaApi.getClassNames(String filter)
or
MetaApi.getClassNames(String dsName, String filter)
or
MetaApi.getClassNames(String dsName, String schemaName, String filter)
or
MetaApi. getClassNames(String appName, String dsName, String schemaName, String filter)

Parameters

filter
dsName
schemaName
appName

Returns

List<String>

getDataSourceNames

get data source names

MetaApi.getDataSourceNames(String filter)
or
MetaApi.getDataSourceNames(String appName, String filter)

Parameters

filter
appName

Returns

List<String>

getDataSources

get data sources

MetaApi.getDataSources(String filter)
or
MetaApi.getDataSources(String appName, String filter)

Parameters

filter
appName

Returns

List<DataSourceM>

Last updated 1 year ago

Was this helpful?