API Reference
Interface
IRawArtifactStore
Stores raw artifact metadata used for incremental imports.
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
Methods
public abstract IReadOnlyList<RawArtifactDescriptor> GetAll() #Returns:
IReadOnlyList<RawArtifactDescriptor>Returns all tracked raw artifacts.
public abstract IReadOnlyDictionary<String, RawArtifactDescriptor> GetBySourceRootAdapter(String sourceRootId, String adapterId) #Returns:
IReadOnlyDictionary<String, RawArtifactDescriptor>Returns tracked raw artifacts for one source root and adapter keyed by normalized artifact path.
Parameters
- sourceRootId System.String
- adapterId System.String
public abstract IReadOnlyList<RawArtifactDescriptor> GetRecentPerSourceRoot(Int32 limitPerSourceRoot) #Returns:
IReadOnlyList<RawArtifactDescriptor>Returns the most recently imported raw artifacts per source root and adapter.
Parameters
- limitPerSourceRoot System.Int32
public abstract Boolean TryGet(String sourceRootId, String adapterId, String path, out RawArtifactDescriptor artifact) #Returns:
BooleanLooks up a raw artifact by source root, adapter, and normalized path.
Parameters
- sourceRootId System.String
- adapterId System.String
- path System.String
- artifact IntelligenceX.Telemetry.Usage.RawArtifactDescriptor@
public abstract Void Upsert(RawArtifactDescriptor artifact) #Returns:
VoidInserts or replaces a raw-artifact descriptor.
Parameters
- artifact IntelligenceX.Telemetry.Usage.RawArtifactDescriptor