Skip to content

TableCatalog

TableCatalog is an extension of the CatalogPlugin abstraction for table catalogs.

Contract

alterTable

Table alterTable(
  Identifier ident,
  TableChange... changes)

TableChanges to alter a table

Used when:

createTable

Table createTable(
  Identifier ident,
  StructType schema,
  Transform[] partitions,
  Map<String, String> properties)

Used when the following commands are executed:

dropTable

boolean dropTable(
  Identifier ident)

Used when the following commands are executed:

invalidateTable

void invalidateTable(
  Identifier ident)

Used when the following commands are executed:

Listing Tables

Identifier[] listTables(
  String[] namespace)

Used when the following commands are executed:

Loading Table

Table loadTable(
  Identifier ident)

Used when:

renameTable

void renameTable(
  Identifier oldIdent,
  Identifier newIdent)

Used when the following commands are executed:

tableExists

boolean tableExists(
  Identifier ident)

Used when:

Implementations


Last update: 2021-06-12
Back to top