IntelligenceX

API Reference

Class

SqliteGitHubRepositorySnapshotStore

Namespace IntelligenceX.Telemetry.GitHub
Assembly IntelligenceX
Implements
Modifiers sealed

SQLite-backed store for repository snapshots.

Inheritance

  • Object
  • SqliteGitHubRepositorySnapshotStore

Constructors

public SqliteGitHubRepositorySnapshotStore(String dbPath) #

Initializes a new SQLite-backed snapshot store.

Parameters

dbPath System.String requiredposition: 0

Methods

public virtual IReadOnlyList<GitHubRepositorySnapshotRecord> GetAll() #
Returns: IReadOnlyList<GitHubRepositorySnapshotRecord>
public virtual IReadOnlyList<GitHubRepositorySnapshotRecord> GetByWatch(String watchId) #
Returns: IReadOnlyList<GitHubRepositorySnapshotRecord>

Parameters

watchId System.String requiredposition: 0
public virtual Boolean TryGet(String id, out GitHubRepositorySnapshotRecord snapshot) #
Returns: Boolean

Parameters

id System.String requiredposition: 0
snapshot IntelligenceX.Telemetry.GitHub.GitHubRepositorySnapshotRecord@ requiredposition: 1
public virtual Boolean TryGetLatest(String watchId, out GitHubRepositorySnapshotRecord snapshot) #
Returns: Boolean

Parameters

watchId System.String requiredposition: 0
snapshot IntelligenceX.Telemetry.GitHub.GitHubRepositorySnapshotRecord@ requiredposition: 1
public virtual Void Upsert(GitHubRepositorySnapshotRecord snapshot) #
Returns: Void

Parameters

snapshot IntelligenceX.Telemetry.GitHub.GitHubRepositorySnapshotRecord requiredposition: 0