Exograph.Storage.FragmentStore (exograph v0.9.0)

Copy Markdown View Source

Durable fragment store backed by Ecto repositories.

Summary

Types

t()

@type t() :: %Exograph.Storage.FragmentStore{
  defer_fragment_terms?: boolean(),
  duckdb_insert_buffer: pid() | nil,
  extractors: keyword() | [atom()],
  package: Exograph.Package.t() | nil,
  package_version: Exograph.PackageVersion.t() | nil,
  prefix: String.t(),
  repo: module(),
  static_atoms: atom()
}

Functions

all(store)

count(store)

get(store, fragment_id)

new(opts \\ [])

page(store, offset, limit, opts \\ [])

put(store, fragments)

term_frequencies(store, terms)