Class InMemoryCatalog

All Implemented Interfaces:
Closeable, AutoCloseable, Catalog, SupportsNamespaces, ViewCatalog

public class InMemoryCatalog extends BaseMetastoreViewCatalog implements SupportsNamespaces, Closeable
Catalog implementation that uses in-memory data-structures to store the namespaces and tables. This class doesn't touch external resources and can be utilized to write unit tests without side effects. It uses InMemoryFileIO.