Package org.apache.iceberg.rest
Class CatalogHandlers
- java.lang.Object
-
- org.apache.iceberg.rest.CatalogHandlers
-
public class CatalogHandlers extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
listNamespaces
public static ListNamespacesResponse listNamespaces(SupportsNamespaces catalog, Namespace parent)
-
listNamespaces
public static ListNamespacesResponse listNamespaces(SupportsNamespaces catalog, Namespace parent, java.lang.String pageToken, java.lang.String pageSize)
-
createNamespace
public static CreateNamespaceResponse createNamespace(SupportsNamespaces catalog, CreateNamespaceRequest request)
-
loadNamespace
public static GetNamespaceResponse loadNamespace(SupportsNamespaces catalog, Namespace namespace)
-
dropNamespace
public static void dropNamespace(SupportsNamespaces catalog, Namespace namespace)
-
updateNamespaceProperties
public static UpdateNamespacePropertiesResponse updateNamespaceProperties(SupportsNamespaces catalog, Namespace namespace, UpdateNamespacePropertiesRequest request)
-
listTables
public static ListTablesResponse listTables(Catalog catalog, Namespace namespace)
-
listTables
public static ListTablesResponse listTables(Catalog catalog, Namespace namespace, java.lang.String pageToken, java.lang.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
public static void dropTable(Catalog catalog, TableIdentifier ident)
-
purgeTable
public static void purgeTable(Catalog catalog, TableIdentifier ident)
-
loadTable
public static LoadTableResponse loadTable(Catalog catalog, TableIdentifier ident)
-
updateTable
public static LoadTableResponse updateTable(Catalog catalog, TableIdentifier ident, UpdateTableRequest request)
-
renameTable
public static void renameTable(Catalog catalog, RenameTableRequest request)
-
listViews
public static ListTablesResponse listViews(ViewCatalog catalog, Namespace namespace)
-
listViews
public static ListTablesResponse listViews(ViewCatalog catalog, Namespace namespace, java.lang.String pageToken, java.lang.String pageSize)
-
createView
public static LoadViewResponse createView(ViewCatalog catalog, Namespace namespace, CreateViewRequest request)
-
loadView
public static LoadViewResponse loadView(ViewCatalog catalog, TableIdentifier viewIdentifier)
-
updateView
public static LoadViewResponse updateView(ViewCatalog catalog, TableIdentifier ident, UpdateTableRequest request)
-
renameView
public static void renameView(ViewCatalog catalog, RenameTableRequest request)
-
dropView
public static void dropView(ViewCatalog catalog, TableIdentifier viewIdentifier)
-
-