public class MetastoreRegistry extends Object implements AutoCloseable
Metastore class
which will be initialized based on MetastoreConfigConstants.IMPLEMENTATION_CLASS config property value.
Metastore initialization is delayed until get() method is called.
Metastore implementation must have constructor which accepts DrillConfig.| Constructor and Description |
|---|
MetastoreRegistry(DrillConfig config) |
public MetastoreRegistry(DrillConfig config)
public Metastore get()
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.