Documentation
¶
Index ¶
- Variables
- type Client
- func (c *Client) Append(mutate *hrpc.Mutate) (*pb.MutateResponse, error)
- func (c *Client) CheckTable(ctx context.Context, table string) (*pb.GetResponse, error)
- func (c *Client) Delete(mutate *hrpc.Mutate) (*pb.MutateResponse, error)
- func (c *Client) Get(get *hrpc.Get) (*pb.GetResponse, error)
- func (c *Client) Increment(mutate *hrpc.Mutate) (*pb.MutateResponse, error)
- func (c *Client) Put(mutate *hrpc.Mutate) (*pb.MutateResponse, error)
- func (c *Client) Scan(s *hrpc.Scan) ([]*pb.Result, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrDeadline is returned when the deadline of a request has been exceeded ErrDeadline = errors.New("deadline exceeded") )
Constants
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
A Client provides access to an HBase cluster.
func (*Client) Append ¶
Append atomically appends all the given values to their current values in HBase.
func (*Client) CheckTable ¶
CheckTable returns an error if the given table name doesn't exist.
type Option ¶
type Option func(*Client)
func FlushInterval ¶
FlushInterval will return an option that will set the timeout for flushing the RPC queues used in a given client
func RpcQueueSize ¶
RpcQueueSize will return an option that will set the size of the RPC queues used in a given client
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
Package pb is a generated protocol buffer package.
|
Package pb is a generated protocol buffer package. |
Package regioninfo contains data structures to represent HBase regions.
|
Package regioninfo contains data structures to represent HBase regions. |
Package zk encapsulates our interactions with ZooKeeper.
|
Package zk encapsulates our interactions with ZooKeeper. |
Click to show internal directories.
Click to hide internal directories.