Versions in this module Expand all Collapse all v1 v1.4.1 Sep 2, 2020 Changes in this version + func MustDo(method, urlStr string, body string) *httpResponse + func MustMarshalJSON(v interface{}) []byte + func MustNewHTTPRequest(method, urlStr string, body io.Reader) *gohttp.Request + func NewBufferLogger() *bufferLogger + func OptAllowedOrigins(origins []string) server.CommandOption + func TestField_SetCacheSize(t *testing.T) + type Cluster []*Command + func MustNewCluster(tb testing.TB, size int, opts ...[]server.CommandOption) Cluster + func MustRunCluster(tb testing.TB, size int, opts ...[]server.CommandOption) Cluster + func (c Cluster) Close() error + func (c Cluster) CreateField(t testing.TB, index string, iopts pilosa.IndexOptions, field string, ...) *pilosa.Field + func (c Cluster) ImportBits(t testing.TB, index, field string, rowcols [][2]uint64) + func (c Cluster) Query(t testing.TB, index, query string) pilosa.QueryResponse + func (c Cluster) Start() error + type Command struct + func MustRunCommand() *Command + func NewCommandNode(isCoordinator bool, opts ...server.CommandOption) *Command + func (m *Command) Client() *http.InternalClient + func (m *Command) Close() error + func (m *Command) GossipAddress() string + func (m *Command) MustCreateField(tb testing.TB, index, field string, opts ...pilosa.FieldOption) *pilosa.Field + func (m *Command) MustCreateIndex(tb testing.TB, name string, opts pilosa.IndexOptions) *pilosa.Index + func (m *Command) MustQuery(tb testing.TB, req *pilosa.QueryRequest) pilosa.QueryResponse + func (m *Command) MustRecalculateCaches(tb testing.TB) + func (m *Command) Query(index, rawQuery, query string) (string, error) + func (m *Command) RecalculateCaches() error + func (m *Command) Reopen() error + func (m *Command) URL() string + type Field struct + type Holder struct + func MustOpenHolder() *Holder + func NewHolder() *Holder + func (h *Holder) ClearBit(index, field string, rowID, columnID uint64) + func (h *Holder) Close() error + func (h *Holder) MustCreateIndexIfNotExists(index string, opt pilosa.IndexOptions) *Index + func (h *Holder) MustSetBits(index, field string, rowID uint64, columnIDs ...uint64) + func (h *Holder) ReadRow(index, field string, rowID uint64) *pilosa.Row + func (h *Holder) Reopen() error + func (h *Holder) Row(index, field string, rowID uint64) *pilosa.Row + func (h *Holder) RowAttrStore(index, field string) pilosa.AttrStore + func (h *Holder) RowTime(index, field string, rowID uint64, t time.Time, quantum string) *pilosa.Row + func (h *Holder) SetBit(index, field string, rowID, columnID uint64) + func (h *Holder) SetBitTime(index, field string, rowID, columnID uint64, t *time.Time) + type Index struct + func MustOpenIndex() *Index + func (i *Index) Close() error + func (i *Index) CreateField(name string, opts ...pilosa.FieldOption) (*Field, error) + func (i *Index) CreateFieldIfNotExists(name string, opts ...pilosa.FieldOption) (*Field, error) + func (i *Index) Reopen() error + type ModHasher struct + func (*ModHasher) Hash(key uint64, n int) int