Package org.apache.iceberg.rest
Class CatalogHandlers
java.lang.Object
org.apache.iceberg.rest.CatalogHandlers
- 
Method SummaryModifier and TypeMethodDescriptionstatic CreateNamespaceResponsecreateNamespace(SupportsNamespaces catalog, CreateNamespaceRequest request) static LoadTableResponsecreateTable(Catalog catalog, Namespace namespace, CreateTableRequest request) static LoadViewResponsecreateView(ViewCatalog catalog, Namespace namespace, CreateViewRequest request) static voiddropNamespace(SupportsNamespaces catalog, Namespace namespace) static voiddropTable(Catalog catalog, TableIdentifier ident) static voiddropView(ViewCatalog catalog, TableIdentifier viewIdentifier) static ListNamespacesResponselistNamespaces(SupportsNamespaces catalog, Namespace parent) static ListNamespacesResponselistNamespaces(SupportsNamespaces catalog, Namespace parent, String pageToken, String pageSize) static ListTablesResponselistTables(Catalog catalog, Namespace namespace) static ListTablesResponselistTables(Catalog catalog, Namespace namespace, String pageToken, String pageSize) static ListTablesResponselistViews(ViewCatalog catalog, Namespace namespace) static ListTablesResponselistViews(ViewCatalog catalog, Namespace namespace, String pageToken, String pageSize) static GetNamespaceResponseloadNamespace(SupportsNamespaces catalog, Namespace namespace) static LoadTableResponseloadTable(Catalog catalog, TableIdentifier ident) static LoadViewResponseloadView(ViewCatalog catalog, TableIdentifier viewIdentifier) static voidnamespaceExists(SupportsNamespaces catalog, Namespace namespace) static voidpurgeTable(Catalog catalog, TableIdentifier ident) static LoadTableResponseregisterTable(Catalog catalog, Namespace namespace, RegisterTableRequest request) static voidrenameTable(Catalog catalog, RenameTableRequest request) static voidrenameView(ViewCatalog catalog, RenameTableRequest request) static LoadTableResponsestageTableCreate(Catalog catalog, Namespace namespace, CreateTableRequest request) static voidtableExists(Catalog catalog, TableIdentifier ident) updateNamespaceProperties(SupportsNamespaces catalog, Namespace namespace, UpdateNamespacePropertiesRequest request) static LoadTableResponseupdateTable(Catalog catalog, TableIdentifier ident, UpdateTableRequest request) static LoadViewResponseupdateView(ViewCatalog catalog, TableIdentifier ident, UpdateTableRequest request) static voidviewExists(ViewCatalog catalog, TableIdentifier viewIdentifier) 
- 
Method Details- 
listNamespaces
- 
listNamespacespublic static ListNamespacesResponse listNamespaces(SupportsNamespaces catalog, Namespace parent, String pageToken, String pageSize) 
- 
createNamespacepublic static CreateNamespaceResponse createNamespace(SupportsNamespaces catalog, CreateNamespaceRequest request) 
- 
namespaceExists
- 
loadNamespace
- 
dropNamespace
- 
updateNamespacePropertiespublic static UpdateNamespacePropertiesResponse updateNamespaceProperties(SupportsNamespaces catalog, Namespace namespace, UpdateNamespacePropertiesRequest request) 
- 
listTables
- 
listTablespublic static ListTablesResponse listTables(Catalog catalog, Namespace namespace, String pageToken, String pageSize) 
- 
stageTableCreatepublic static LoadTableResponse stageTableCreate(Catalog catalog, Namespace namespace, CreateTableRequest request) 
- 
createTablepublic static LoadTableResponse createTable(Catalog catalog, Namespace namespace, CreateTableRequest request) 
- 
registerTablepublic static LoadTableResponse registerTable(Catalog catalog, Namespace namespace, RegisterTableRequest request) 
- 
dropTable
- 
purgeTable
- 
tableExists
- 
loadTable
- 
updateTablepublic static LoadTableResponse updateTable(Catalog catalog, TableIdentifier ident, UpdateTableRequest request) 
- 
renameTable
- 
listViews
- 
listViewspublic static ListTablesResponse listViews(ViewCatalog catalog, Namespace namespace, String pageToken, String pageSize) 
- 
createViewpublic static LoadViewResponse createView(ViewCatalog catalog, Namespace namespace, CreateViewRequest request) 
- 
viewExists
- 
loadView
- 
updateViewpublic static LoadViewResponse updateView(ViewCatalog catalog, TableIdentifier ident, UpdateTableRequest request) 
- 
renameView
- 
dropView
 
-