Documentation ¶
Index ¶
- type Client
- func (c *Client) AsyncGets(table string, results chan *ResultRow, gets []*Get)
- func (c *Client) Delete(table string, del *Delete) (bool, error)
- func (c *Client) Deletes(table string, dels []*Delete) (bool, error)
- func (c *Client) Get(table string, get *Get) (*ResultRow, error)
- func (c *Client) GetTables() []TableInfo
- func (c *Client) Gets(table string, gets []*Get) ([]*ResultRow, error)
- func (c *Client) Put(table string, put *Put) (bool, error)
- func (c *Client) Puts(table string, puts []*Put) (bool, error)
- func (c *Client) Scan(table string) *Scan
- func (c *Client) SetLogLevel(level string)
- type Delete
- type EncodedValue
- type Get
- type Put
- type ResultRow
- type ResultRowColumn
- type Scan
- func (s *Scan) AddColumn(family, qual []byte)
- func (s *Scan) AddFamily(family []byte)
- func (s *Scan) AddString(famqual string) error
- func (s *Scan) AddStringColumn(family, qual string)
- func (s *Scan) AddStringFamily(family string)
- func (s *Scan) Close()
- func (s *Scan) Map(f func(*ResultRow))
- func (s *Scan) SetCached(n int)
- func (s *Scan) SetTimeRange(from time.Time, to time.Time)
- func (s *Scan) SetTimeRangeFrom(from time.Time)
- func (s *Scan) SetTimeRangeTo(to time.Time)
- type TableInfo
- type TimeRange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AsyncGets ¶
type Delete ¶
type Delete struct {
// contains filtered or unexported fields
}
type EncodedValue ¶
type EncodedValue []byte
func (EncodedValue) String ¶
func (e EncodedValue) String() string
type Get ¶
type Get struct {
// contains filtered or unexported fields
}
type Put ¶
type Put struct {
// contains filtered or unexported fields
}
func (*Put) AddStringValueTS ¶
AddStringValueTS use user specified timestamp
type ResultRow ¶
type ResultRow struct { Row EncodedValue Columns map[string]*ResultRowColumn SortedColumns []*ResultRowColumn }
type ResultRowColumn ¶
type ResultRowColumn struct { ColumnName string Family EncodedValue Qualifier EncodedValue Timestamp time.Time Value EncodedValue Values map[time.Time]EncodedValue }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.