Class MetastoreRegistry

java.lang.Object
org.apache.drill.metastore.MetastoreRegistry
All Implemented Interfaces:
AutoCloseable

public class MetastoreRegistry extends Object implements 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.