Package org.apache.iceberg.rest
Class CatalogHandlers
java.lang.Object
org.apache.iceberg.rest.CatalogHandlers
-
Method Summary
Modifier 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 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) updateNamespaceProperties(SupportsNamespaces catalog, Namespace namespace, UpdateNamespacePropertiesRequest request) static LoadTableResponseupdateTable(Catalog catalog, TableIdentifier ident, UpdateTableRequest request) static LoadViewResponseupdateView(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
-