Package org.apache.drill.metastore
Class MetastoreRegistry
java.lang.Object
org.apache.drill.metastore.MetastoreRegistry
- All Implemented Interfaces:
AutoCloseable
Class is responsible for returning instance of
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 Summary
-
Method Summary
-
Constructor Details
-
MetastoreRegistry
-
-
Method Details
-
get
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-