public final class MemoryCatalogInputReader extends Object implements CatalogInputReader
CatalogInputKind.IN_MEMORY sources: the source already
carries a UnifiedCatalogModel, so read returns it directly.
Plan §6 / §7.1. Used by tests and demos that build a catalog programmatically.
| Modifier and Type | Class and Description |
|---|---|
static class |
MemoryCatalogInputReader.Factory
ServiceLoader-discoverable factory.
|
| Constructor and Description |
|---|
MemoryCatalogInputReader() |
| Modifier and Type | Method and Description |
|---|---|
CatalogInputKind |
kind() |
UnifiedCatalogModel |
read(CatalogInputSource source,
CatalogLoadOptions options) |
boolean |
supports(CatalogInputSource source,
CatalogLoadOptions options) |
public MemoryCatalogInputReader()
public CatalogInputKind kind()
kind in interface CatalogInputReaderpublic boolean supports(CatalogInputSource source, CatalogLoadOptions options)
supports in interface CatalogInputReaderpublic UnifiedCatalogModel read(CatalogInputSource source, CatalogLoadOptions options) throws CatalogInputException
read in interface CatalogInputReaderCatalogInputException