Package org.apache.iceberg.rest
Class CatalogHandlers
java.lang.Object
org.apache.iceberg.rest.CatalogHandlers
-
Method Summary
Modifier and TypeMethodDescriptionstatic CreateNamespaceResponse
createNamespace
(SupportsNamespaces catalog, CreateNamespaceRequest request) static LoadTableResponse
createTable
(Catalog catalog, Namespace namespace, CreateTableRequest request) static LoadViewResponse
createView
(ViewCatalog catalog, Namespace namespace, CreateViewRequest request) static void
dropNamespace
(SupportsNamespaces catalog, Namespace namespace) static void
dropTable
(Catalog catalog, TableIdentifier ident) static void
dropView
(ViewCatalog catalog, TableIdentifier viewIdentifier) static ListNamespacesResponse
listNamespaces
(SupportsNamespaces catalog, Namespace parent) static ListNamespacesResponse
listNamespaces
(SupportsNamespaces catalog, Namespace parent, String pageToken, String pageSize) static ListTablesResponse
listTables
(Catalog catalog, Namespace namespace) static ListTablesResponse
listTables
(Catalog catalog, Namespace namespace, String pageToken, String pageSize) static ListTablesResponse
listViews
(ViewCatalog catalog, Namespace namespace) static ListTablesResponse
listViews
(ViewCatalog catalog, Namespace namespace, String pageToken, String pageSize) static GetNamespaceResponse
loadNamespace
(SupportsNamespaces catalog, Namespace namespace) static LoadTableResponse
loadTable
(Catalog catalog, TableIdentifier ident) static LoadViewResponse
loadView
(ViewCatalog catalog, TableIdentifier viewIdentifier) static void
purgeTable
(Catalog catalog, TableIdentifier ident) static LoadTableResponse
registerTable
(Catalog catalog, Namespace namespace, RegisterTableRequest request) static void
renameTable
(Catalog catalog, RenameTableRequest request) static void
renameView
(ViewCatalog catalog, RenameTableRequest request) static LoadTableResponse
stageTableCreate
(Catalog catalog, Namespace namespace, CreateTableRequest request) updateNamespaceProperties
(SupportsNamespaces catalog, Namespace namespace, UpdateNamespacePropertiesRequest request) static LoadTableResponse
updateTable
(Catalog catalog, TableIdentifier ident, UpdateTableRequest request) static LoadViewResponse
updateView
(ViewCatalog catalog, TableIdentifier ident, UpdateTableRequest request)
-
Method Details
-
listNamespaces
-
listNamespaces
public static ListNamespacesResponse listNamespaces(SupportsNamespaces catalog, Namespace parent, String pageToken, String pageSize) -
createNamespace
public static CreateNamespaceResponse createNamespace(SupportsNamespaces catalog, CreateNamespaceRequest request) -
loadNamespace
-
dropNamespace
-
updateNamespaceProperties
public static UpdateNamespacePropertiesResponse updateNamespaceProperties(SupportsNamespaces catalog, Namespace namespace, UpdateNamespacePropertiesRequest request) -
listTables
-
listTables
public static ListTablesResponse listTables(Catalog catalog, Namespace namespace, String pageToken, String pageSize) -
stageTableCreate
public static LoadTableResponse stageTableCreate(Catalog catalog, Namespace namespace, CreateTableRequest request) -
createTable
public static LoadTableResponse createTable(Catalog catalog, Namespace namespace, CreateTableRequest request) -
registerTable
public static LoadTableResponse registerTable(Catalog catalog, Namespace namespace, RegisterTableRequest request) -
dropTable
-
purgeTable
-
loadTable
-
updateTable
public static LoadTableResponse updateTable(Catalog catalog, TableIdentifier ident, UpdateTableRequest request) -
renameTable
-
listViews
-
listViews
public static ListTablesResponse listViews(ViewCatalog catalog, Namespace namespace, String pageToken, String pageSize) -
createView
public static LoadViewResponse createView(ViewCatalog catalog, Namespace namespace, CreateViewRequest request) -
loadView
-
updateView
public static LoadViewResponse updateView(ViewCatalog catalog, TableIdentifier ident, UpdateTableRequest request) -
renameView
-
dropView
-