public final class CatalogProviders extends Object
CatalogProviders. Counterpart to
gudusoft.gsqlparser.catalog.input.CatalogInputReaders on the input side.| Modifier and Type | Method and Description |
|---|---|
static CatalogProvider |
inMemory(CatalogSnapshot snapshot)
Create an in-memory provider seeded with the given snapshot, opened and ready
to serve
snapshot(...) calls. |
static CatalogProvider |
modelBacked(UnifiedCatalogModel model)
Create a model-backed provider, opened and ready to serve
snapshot(...)
calls. |
public static CatalogProvider inMemory(CatalogSnapshot snapshot)
snapshot(...) calls.public static CatalogProvider modelBacked(UnifiedCatalogModel model)
snapshot(...)
calls. The provider materializes the model into a snapshot up front.