Documentation ¶
Overview ¶
Package ppgohbase instruments the tsuna/gohbase package (https://github.com/tsuna/gohbase).
This package instruments the gohbase calls. Use the NewClient as the gohbase.NewClient.
client := ppgohbase.NewClient("localhost")
It is necessary to pass the context containing the pinpoint.Tracer to gohbase.Client.
ctx := pinpoint.NewContext(context.Background(), tracer) putRequest, _ := hrpc.NewPutStr(ctx, "table", "key", values) client.Put(putRequest)
Index ¶
- type Client
- func (c *Client) Append(a *hrpc.Mutate) (*hrpc.Result, error)
- func (c *Client) CheckAndPut(p *hrpc.Mutate, family string, qualifier string, expectedValue []byte) (bool, error)
- func (c *Client) Delete(d *hrpc.Mutate) (*hrpc.Result, error)
- func (c *Client) Get(g *hrpc.Get) (*hrpc.Result, error)
- func (c *Client) Increment(i *hrpc.Mutate) (int64, error)
- func (c *Client) Put(p *hrpc.Mutate) (*hrpc.Result, error)
- func (c *Client) Scan(s *hrpc.Scan) hrpc.Scanner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.