# Functions
GetAllFacts streams all facts in a store.
Matches matches a list of patterns against a list of base terms.
NewConcurrentFactStore returns a new ConcurrentFactStore that wraps the given FactStore.
NewIndexedInMemoryStore constructs a new IndexedInMemoryStore.
NewInMemoryStore constructs a new InMemoryStore.
NewMergedStore returns a new MergedStore.
NewMultiIndexedArrayInMemoryStore constructs a new MultiIndexedArrayInMemoryStore.
NewMultiIndexedInMemoryStore constructs a new MultiIndexedInMemoryStore.
NewSimpleColumnStore returns a new fact store backed by a simple column file.
NewSimpleColumnStoreFromBytes returns a new fact store backed by data in simplecolumn format.
NewSimpleColumnStoreFromGzipBytes returns a new fact store backed by data that is a gzipped file in simplecolumn format.
NewSimpleInMemoryStore constructs a new SimpleInMemoryStore.
NewTeeingStore returns a new TeeingStore.
# Variables
ErrCouldNotRead is returned when the input file could not be read.
ErrNotSupported is returned when ReadPred is called for 0-arity predicate.
ErrTooManyFacts is returned when a store has too many facts for a predicate.
ErrTooManyPreds is returned when a store has too many predicates.
ErrUnsupportedArity is returned when a predicate has too many arguments.
ErrWrongArgument is returned when an argument does not make sense.
# Structs
ConcurrentFactStore is an implementation of FactStore that allows multiple concurrent operations on it.
IndexedInMemoryStore provides a simple implementation backed by a three-level map.
InMemoryStore provides a simple implementation backed by a map from each predicate sym to a T value.
MergedStore is an implementation of FactStore that merges multiple fact stores.
MultiIndexedArrayInMemoryStore provides a simple implementation backed by a four-level map.
MultiIndexedInMemoryStore provides a simple implementation backed by a four-level map.
SimpleColumn is a file format to store a knowledge base.
SimpleColumnStore is a read-only fact store backed by a simple column file.
SimpleInMemoryStore provides a simple implementation backed by a two-level map.
TeeingStore is an implementation of FactStore that directs all writes to an output store, while distributing reads over a read-only base store and the output store.
# Interfaces
FactStore provides access to a set of facts.
FactStoreWithRemove is a FactStore that supports fact removal.
ReadOnlyFactStore provides read access to a set of facts.