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 |
---|---|
TableSchema |
getResolvedSchema() |
CatalogBaseTable |
getTable() |
boolean |
isTemporary() |
static CatalogManager.TableLookupResult |
permanent(CatalogBaseTable table,
TableSchema resolvedSchema) |
static CatalogManager.TableLookupResult |
temporary(CatalogBaseTable table,
TableSchema resolvedSchema) |
@VisibleForTesting public static CatalogManager.TableLookupResult temporary(CatalogBaseTable table, TableSchema resolvedSchema)
@VisibleForTesting public static CatalogManager.TableLookupResult permanent(CatalogBaseTable table, TableSchema resolvedSchema)
public boolean isTemporary()
public CatalogBaseTable getTable()
public TableSchema getResolvedSchema()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.