package
0.10.1
Repository: https://github.com/featurebasedb/featurebase.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GenerateImportFill generates a set of bits pairs that evenly fill a fragment chunk.
MustDo executes http.Do() with an http.NewRequest().
MustMarshalJSON marshals v to JSON.
MustNewClient returns a new instance of Client.
MustNewHTTPRequest creates a new HTTP request.
MustOpenAttrStore returns a new, opened attribute store at a temporary path.
MustOpenFragment creates and opens an fragment at a temporary path.
MustOpenFrame returns a new, opened frame at a temporary path.
MustOpenHolder creates and opens a holder at a temporary path.
MustOpenIndex returns a new, opened index at a temporary path.
MustParse parses s into a PQL query.
MustParseURLHost parses rawurl and returns the hostname.
MustReadAll reads a reader into a buffer and returns it.
MustRunMain returns a new, running Main.
MustRunMainWithCluster ruturns a running array of *Main where all nodes are joined via memberlist (i.e.
NewAttrStore returns a new instance of AttrStore.
NewBufferLogger returns a new instance of BufferLogger.
NewCluster returns a cluster with n nodes and uses a mod-based hasher.
NewConstHasher returns a new instance of ConstHasher that always returns i.
NewExecutor returns a new instance of Executor.
NewFragment returns a new instance of Fragment with a temporary path.
NewFrame returns a new instance of Frame d/0.
NewHandler returns a new instance of Handler.
NewHolder returns a new instance of Holder with a temporary path.
NewIndex returns a new instance of Index.
NewMain returns a new instance of Main with a temporary data directory and random port.
NewMainWithCluster returns a new instance of Main with clustering enabled.
NewModHasher returns a new instance of ModHasher with n buckets.
NewRowAttrStore returns a new instance of RowAttrStore.
NewServer returns a test server running on a random port.
NewTestCluster returns a new instance of test.Cluster.
NewURI is a test URI creator that intentionally swallows errors.
No description provided by the author
No description provided by the author
Ensure frame can set its cache.

# Constants

SliceWidth is a helper reference to use when testing.

# Structs

AttrStore represents a test wrapper for pilosa.AttrStore.
BufferLogger represents a test Logger that holds log messages in a buffer for review.
Client represents a test wrapper for pilosa.Client.
ConstHasher represents hash that always returns the same index.
Executor represents a test wrapper for pilosa.Executor.
Fragment is a test wrapper for pilosa.Fragment.
Frame represents a test wrapper for pilosa.Frame.
Handler represents a test wrapper for pilosa.Handler.
HandlerExecutor is a mock implementing pilosa.Handler.Executor.
Holder is a test wrapper for pilosa.Holder.
Index represents a test wrapper for pilosa.Index.
Main represents a test wrapper for main.Main.
ModHasher represents a simple, mod-based hashing.
RowAttrStore provides simple storage for attributes.
Server represents a test wrapper for httptest.Server.
TestCluster represents a cluster of test nodes, each of which has a pilosa.Cluster.

# Type aliases

No description provided by the author