Versions in this module Expand all Collapse all v1 v1.4.1 Sep 2, 2020 Changes in this version + const QueryResultTypePairs + const QueryResultTypeRow + const QueryResultTypeUint64 + func GetHTTPClient(t *tls.Config) *http.Client + func NewTranslateStore(node interface{}) pilosa.TranslateStore + func OptHandlerAPI(api *pilosa.API) handlerOption + func OptHandlerAllowedOrigins(origins []string) handlerOption + func OptHandlerCloseTimeout(d time.Duration) handlerOption + func OptHandlerListener(ln net.Listener) handlerOption + func OptHandlerLogger(logger logger.Logger) handlerOption + type Bits []pilosa.Bit + func (p Bits) ColumnIDs() []uint64 + func (p Bits) ColumnKeys() []string + func (p Bits) GroupByShard() map[uint64][]pilosa.Bit + func (p Bits) HasColumnKeys() bool + func (p Bits) HasRowKeys() bool + func (p Bits) Len() int + func (p Bits) Less(i, j int) bool + func (p Bits) RowIDs() []uint64 + func (p Bits) RowKeys() []string + func (p Bits) Swap(i, j int) + func (p Bits) Timestamps() []int64 + type BitsByPos []pilosa.Bit + func (p BitsByPos) Len() int + func (p BitsByPos) Less(i, j int) bool + func (p BitsByPos) Swap(i, j int) + type Error struct + Message string + func (e *Error) Error() string + type FieldValues []pilosa.FieldValue + func (p FieldValues) ColumnIDs() []uint64 + func (p FieldValues) ColumnKeys() []string + func (p FieldValues) GroupByShard() map[uint64][]pilosa.FieldValue + func (p FieldValues) HasColumnKeys() bool + func (p FieldValues) Len() int + func (p FieldValues) Less(i, j int) bool + func (p FieldValues) Swap(i, j int) + func (p FieldValues) Values() []int64 + type Handler struct + Handler http.Handler + func NewHandler(opts ...handlerOption) (*Handler, error) + func (h *Handler) Close() error + func (h *Handler) Serve() error + func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type InternalClient struct + func NewInternalClient(host string, remoteClient *http.Client) (*InternalClient, error) + func NewInternalClientFromURI(defaultURI *pilosa.URI, remoteClient *http.Client) *InternalClient + func (c *InternalClient) BlockData(ctx context.Context, uri *pilosa.URI, index, field, view string, shard uint64, ...) ([]uint64, []uint64, error) + func (c *InternalClient) ColumnAttrDiff(ctx context.Context, uri *pilosa.URI, index string, blks []pilosa.AttrBlock) (map[uint64]map[string]interface{}, error) + func (c *InternalClient) CreateField(ctx context.Context, index, field string) error + func (c *InternalClient) CreateFieldWithOptions(ctx context.Context, index, field string, opt pilosa.FieldOptions) error + func (c *InternalClient) CreateIndex(ctx context.Context, index string, opt pilosa.IndexOptions) error + func (c *InternalClient) EnsureField(ctx context.Context, indexName string, fieldName string) error + func (c *InternalClient) EnsureFieldWithOptions(ctx context.Context, indexName string, fieldName string, ...) error + func (c *InternalClient) EnsureIndex(ctx context.Context, name string, options pilosa.IndexOptions) error + func (c *InternalClient) ExportCSV(ctx context.Context, index, field string, shard uint64, w io.Writer) error + func (c *InternalClient) FragmentBlocks(ctx context.Context, uri *pilosa.URI, index, field, view string, shard uint64) ([]pilosa.FragmentBlock, error) + func (c *InternalClient) FragmentNodes(ctx context.Context, index string, shard uint64) ([]*pilosa.Node, error) + func (c *InternalClient) Import(ctx context.Context, index, field string, shard uint64, bits []pilosa.Bit, ...) error + func (c *InternalClient) ImportK(ctx context.Context, index, field string, bits []pilosa.Bit, ...) error + func (c *InternalClient) ImportRoaring(ctx context.Context, uri *pilosa.URI, index, field string, shard uint64, ...) error + func (c *InternalClient) ImportValue(ctx context.Context, index, field string, shard uint64, ...) error + func (c *InternalClient) ImportValueK(ctx context.Context, index, field string, vals []pilosa.FieldValue, ...) error + func (c *InternalClient) MaxShardByIndex(ctx context.Context) (map[string]uint64, error) + func (c *InternalClient) Nodes(ctx context.Context) ([]*pilosa.Node, error) + func (c *InternalClient) Query(ctx context.Context, index string, queryRequest *pilosa.QueryRequest) (*pilosa.QueryResponse, error) + func (c *InternalClient) QueryNode(ctx context.Context, uri *pilosa.URI, index string, ...) (*pilosa.QueryResponse, error) + func (c *InternalClient) RetrieveShardFromURI(ctx context.Context, index, field, view string, shard uint64, uri pilosa.URI) (io.ReadCloser, error) + func (c *InternalClient) RowAttrDiff(ctx context.Context, uri *pilosa.URI, index, field string, ...) (map[uint64]map[string]interface{}, error) + func (c *InternalClient) Schema(ctx context.Context) ([]*pilosa.IndexInfo, error) + func (c *InternalClient) SendMessage(ctx context.Context, uri *pilosa.URI, msg []byte) error