IArchiveSchemaResolver
Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData
Resolves attribute paths declared on CkArchiveColumn against a CK type's attribute graph,
producing ArchiveColumnSpec entries that downstream DDL generation and validation
consume. DB-neutral.
public interface IArchiveSchemaResolver
Methods
ResolvePath(RtCkId<CkTypeId>, String)
Resolves a single attribute path against . Returns a
ArchiveColumnSpec describing the column shape. Throws
ArchivePathInvalidException when the path cannot be resolved (unknown attribute,
broken record traversal, illegal array indexing).
ArchiveColumnSpec ResolvePath(RtCkId<CkTypeId> targetCkTypeId, string path)
Parameters
targetCkTypeId RtCkId<CkTypeId>
path String
Returns
EnumerateAvailablePaths(RtCkId<CkTypeId>, Int32)
Enumerates all attribute paths reachable from recursively
via record traversal up to . Used by the studio's path picker
(GraphQL availableArchivePaths resolver).
IEnumerable<ArchiveColumnSpec> EnumerateAvailablePaths(RtCkId<CkTypeId> targetCkTypeId, int maxDepth)
Parameters
targetCkTypeId RtCkId<CkTypeId>
maxDepth Int32