Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The DataContext interface is probably the most central construct in MetaModel. The DataContext can be compared to a "connection" to the datastore that you're working with. The DataContext exposes methods to explore the schema model and to query the data of a datastore.

Exposing the schema model (read more)

 Methods: 

  • getSchemas(): Schema[] 
  • getSchemaNames(): String[] 
  • getDefaultSchema(): Schema 
  • getSchemaByName(String): Schema 
  • getTableByQualifiedLabel(String): Table 
  • getColumnByQualifiedLabel(String): Column  

...