public static final class InMemoryCatalogSnapshot.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
InMemoryCatalogSnapshot.Builder |
addDiagnostic(CatalogDiagnostic d) |
InMemoryCatalogSnapshot |
build() |
InMemoryCatalogSnapshot.Builder |
materializedAtMillis(long v) |
InMemoryCatalogSnapshot.Builder |
put(CatalogEntry entry) |
InMemoryCatalogSnapshot.Builder |
put(CatalogEntry entry,
CatalogObjectId parent)
Add an entry with optional parent.
|
InMemoryCatalogSnapshot.Builder |
vendor(EDbVendor v) |
public InMemoryCatalogSnapshot.Builder vendor(EDbVendor v)
public InMemoryCatalogSnapshot.Builder put(CatalogEntry entry, CatalogObjectId parent)
parent may be null for top-level
objects (catalogs). Children are folded into the snapshot's childrenByParent
index immediately so the resulting snapshot can answer children(...) in
constant time per parent/kind.public InMemoryCatalogSnapshot.Builder put(CatalogEntry entry)
public InMemoryCatalogSnapshot.Builder addDiagnostic(CatalogDiagnostic d)
public InMemoryCatalogSnapshot.Builder materializedAtMillis(long v)
public InMemoryCatalogSnapshot build()