Skip to content

Commit aea8a75

Browse files
TableCatalog et al.
1 parent 6e70f76 commit aea8a75

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

docs/connector/catalog/CatalogPlugin.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
## Contract
99

10-
### <span id="defaultNamespace"> Default Namespace
10+
### Default Namespace { #defaultNamespace }
1111

1212
```java
1313
String[] defaultNamespace()
@@ -21,7 +21,7 @@ Used when:
2121

2222
* `CatalogManager` is requested for the [current namespace](CatalogManager.md#currentNamespace)
2323

24-
### <span id="initialize"> Initializing CatalogPlugin
24+
### Initialize CatalogPlugin { #initialize }
2525

2626
```java
2727
void initialize(
@@ -38,7 +38,7 @@ Used when:
3838

3939
* `Catalogs` utility is used to [load a catalog by name](Catalogs.md#load)
4040

41-
### <span id="name"> Name
41+
### Name
4242

4343
```java
4444
String name()
@@ -52,6 +52,7 @@ String name()
5252
* [FunctionCatalog](FunctionCatalog.md)
5353
* [SupportsNamespaces](SupportsNamespaces.md)
5454
* [TableCatalog](TableCatalog.md)
55+
* [ViewCatalog](ViewCatalog.md)
5556

5657
## Demo
5758

docs/connector/catalog/TableCatalog.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Contract
66

7-
### <span id="alterTable"> Altering Table
7+
### Alter Table { #alterTable }
88

99
```java
1010
Table alterTable(
@@ -19,7 +19,7 @@ Used when:
1919
* [AlterTableExec](../../physical-operators/AlterTableExec.md) physical command is executed
2020
* `DelegatingCatalogExtension` is requested to [alterTable](DelegatingCatalogExtension.md#alterTable)
2121

22-
### <span id="createTable"> createTable
22+
### Create Table { #createTable }
2323

2424
```java
2525
Table createTable(
@@ -40,7 +40,7 @@ Used when the following commands are executed:
4040
* [CreateTableAsSelectExec](../../physical-operators/CreateTableAsSelectExec.md)
4141
* `ReplaceTableAsSelectExec`
4242

43-
### <span id="dropTable"> dropTable
43+
### Drop Table { #dropTable }
4444

4545
```java
4646
boolean dropTable(
@@ -54,7 +54,7 @@ Used when the following commands are executed:
5454
* [CreateTableAsSelectExec](../../physical-operators/CreateTableAsSelectExec.md)
5555
* `ReplaceTableAsSelectExec`
5656

57-
### <span id="listTables"> Listing Tables
57+
### List Tables { #listTables }
5858

5959
```java
6060
Identifier[] listTables(
@@ -66,7 +66,7 @@ Used when the following commands are executed:
6666
* [DropNamespaceExec](../../physical-operators/DropNamespaceExec.md)
6767
* [ShowTablesExec](../../physical-operators/ShowTablesExec.md)
6868

69-
### <span id="loadTable"> Loading Table
69+
### Load Table { #loadTable }
7070

7171
```java
7272
Table loadTable(
@@ -88,7 +88,7 @@ Used when:
8888
* `TableCatalog` is requested to [tableExists](#tableExists)
8989
* `V2SessionCatalog` is requested to [createTable](../../V2SessionCatalog.md#createTable), [alterTable](../../V2SessionCatalog.md#alterTable), [dropTable](../../V2SessionCatalog.md#dropTable), [renameTable](../../V2SessionCatalog.md#renameTable)
9090

91-
### <span id="renameTable"> renameTable
91+
### Rename Table { #renameTable }
9292

9393
```java
9494
void renameTable(
@@ -100,7 +100,7 @@ Used when the following commands are executed:
100100

101101
* `RenameTableExec`
102102

103-
### <span id="tableExists"> tableExists
103+
### Table Exists { #tableExists }
104104

105105
```java
106106
boolean tableExists(
@@ -124,5 +124,6 @@ Used when:
124124
## Implementations
125125

126126
* [CatalogExtension](CatalogExtension.md)
127+
* [JDBCTableCatalog](../../jdbc/JDBCTableCatalog.md)
127128
* [StagingTableCatalog](StagingTableCatalog.md)
128129
* [V2SessionCatalog](../../V2SessionCatalog.md)

docs/connector/catalog/ViewCatalog.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# ViewCatalog
2+
3+
`ViewCatalog` is...FIXME

0 commit comments

Comments
 (0)