Interface Schema

All Known Implementing Classes:
SimpleCatalog.SimpleSchema

public interface Schema
Represents a schema in a database catalog.

A schema is a namespace that contains tables, views, and other database objects.

This is a standalone version that can be used independently of Apache Calcite.

  • Method Details

    • getName

      Returns the name of the schema.
      Returns:
      Schema name
    • getCatalog

      Returns the catalog that this schema belongs to.
      Returns:
      Catalog
    • getTables

      Returns all tables in this schema.
      Returns:
      List of tables
    • getTable

      Returns a table by name, or null if not found.
      Parameters:
      tableName - Table name (case-sensitive)
      Returns:
      Table, or null
    • getTableNames

      Returns all table names in this schema.
      Returns:
      List of table names