public static class CatalogManager.TableLookupResult extends Object
CatalogManager.getTable(ObjectIdentifier)
. It combines the
CatalogBaseTable
with additional information such as if the table is a temporary
table or comes from the catalog.Modifier and Type | Method and Description |
---|---|
Optional<Catalog> |
getCatalog() |
ResolvedSchema |
getResolvedSchema() |
ResolvedCatalogBaseTable<?> |
getResolvedTable()
Returns a fully resolved catalog object.
|
CatalogBaseTable |
getTable()
Returns the original metadata object returned by the catalog.
|
boolean |
isTemporary() |
static CatalogManager.TableLookupResult |
permanent(Catalog catalog,
ResolvedCatalogBaseTable<?> resolvedTable) |
static CatalogManager.TableLookupResult |
temporary(ResolvedCatalogBaseTable<?> resolvedTable) |
@VisibleForTesting public static CatalogManager.TableLookupResult temporary(ResolvedCatalogBaseTable<?> resolvedTable)
@VisibleForTesting public static CatalogManager.TableLookupResult permanent(Catalog catalog, ResolvedCatalogBaseTable<?> resolvedTable)
public boolean isTemporary()
public ResolvedCatalogBaseTable<?> getResolvedTable()
public ResolvedSchema getResolvedSchema()
public CatalogBaseTable getTable()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.