Interface IDatabase

All Superinterfaces:
IStatement, IStatementContainer
All Known Implementing Classes:
AbstractDatabase, ChDatabase, MsDatabase, PgDatabase

public interface IDatabase extends IStatementContainer
Interface representing a database containing schemas. Provides access to database schemas and extends statement container functionality.
  • Method Details

    • getSchemas

      Collection<? extends ISchema> getSchemas()
      Gets all schemas in this database.
      Returns:
      a collection of schemas
    • getSchema

      ISchema getSchema(String name)
      Gets a schema by name.
      Parameters:
      name - the schema name
      Returns:
      the schema with the given name, or null if not found