Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
TableLoader (CatalogServiceCatalog catalog) | |
Table | load (Db db, String tblName, Table cachedValue) |
Private Attributes | |
final CatalogServiceCatalog | catalog_ |
Static Private Attributes | |
static final Logger | LOG = Logger.getLogger(TableLoader.class) |
static EnumSet< TableType > | SUPPORTED_TABLE_TYPES |
static final Object | metastoreAccessLock_ = new Object() |
Class that implements the logic for how a table's metadata should be loaded from the Hive Metastore / HDFS / etc.
Definition at line 29 of file TableLoader.java.
|
inline |
Definition at line 43 of file TableLoader.java.
References com.cloudera.impala.catalog.TableLoader.catalog_.
|
inline |
Creates the Impala representation of Hive/HBase metadata for one table. Calls load() on the appropriate instance of Table subclass. cachedValue is the existing cache entry and might still contain valid info to help speed up metadata loading. cachedValue is null if there is no existing cache entry (i.e. during fresh load). The catalogVersion parameter specifies what version will be assigned to the newly loaded object. Returns new instance of Table, If there were any errors loading the table metadata an IncompleteTable will be returned that contains details on the error.
Definition at line 58 of file TableLoader.java.
References com.cloudera.impala.catalog.Db.getName(), com.cloudera.impala.catalog.TableLoader.metastoreAccessLock_, and com.cloudera.impala.catalog.TableLoader.SUPPORTED_TABLE_TYPES.
|
private |
Definition at line 36 of file TableLoader.java.
Referenced by com.cloudera.impala.catalog.TableLoader.TableLoader().
|
staticprivate |
Definition at line 30 of file TableLoader.java.
|
staticprivate |
Definition at line 41 of file TableLoader.java.
Referenced by com.cloudera.impala.catalog.TableLoader.load().
|
staticprivate |
Definition at line 33 of file TableLoader.java.
Referenced by com.cloudera.impala.catalog.TableLoader.load().