Package org.jooq

Interface Meta


  • public interface Meta
    A wrapping object for DatabaseMetaData or for other sources of database meta information (e.g. InformationSchema)

    This object can be obtained through DSLContext.meta() in order to provide convenient access to your database meta data. This abstraction has two purposes:

    1. To increase API convenience, as no checked SQLException is thrown, only the unchecked DataAccessException
    2. To increase API convenience, as the returned objects are always jOOQ objects, not JDBC ResultSet objects with hard-to-remember API constraints
    Author:
    Lukas Eder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Catalog getCatalog​(java.lang.String name)
      Get a catalog object by name from the underlying meta data source, or null if no such object exists.
      Catalog getCatalog​(Name name)
      Get a catalog object by name from the underlying meta data source, or null if no such object exists.
      java.util.List<Catalog> getCatalogs()
      Get all catalog objects from the underlying meta data source.
      java.util.List<UniqueKey<?>> getPrimaryKeys()
      Get all primary keys from the underlying meta data source.
      java.util.List<Schema> getSchemas()
      Get all schema objects from the underlying meta data source.
      java.util.List<Schema> getSchemas​(java.lang.String name)
      Get all schema objects by name from the underlying meta data source.
      java.util.List<Schema> getSchemas​(Name name)
      Get all schema objects by name from the underlying meta data source.
      java.util.List<Sequence<?>> getSequences()
      Get all sequence objects from the underlying meta data source.
      java.util.List<Sequence<?>> getSequences​(java.lang.String name)
      Get all sequence objects by name from the underlying meta data source.
      java.util.List<Sequence<?>> getSequences​(Name name)
      Get all sequence objects by name from the underlying meta data source.
      java.util.List<Table<?>> getTables()
      Get all table objects from the underlying meta data source.
      java.util.List<Table<?>> getTables​(java.lang.String name)
      Get all table objects by name from the underlying meta data source.
      java.util.List<Table<?>> getTables​(Name name)
      Get all table objects by name from the underlying meta data source.