Documentation ¶
Index ¶
- func NewDispatcher(bt *BigTable, config *Config) rpc.Dispatcher
- func SetClock(c timekeeper.TimeKeeper)
- func SetGcGracePeriod(p time.Duration)
- type BigTable
- func (b *BigTable) CountRows(ctx *context.T) (int, error)
- func (b *BigTable) Counters(ctx *context.T) (map[string]int64, error)
- func (b *BigTable) DeleteTable(ctx *context.T) error
- func (b *BigTable) DumpTable(ctx *context.T) error
- func (b *BigTable) Fsck(ctx *context.T, fix bool) error
- func (b *BigTable) SetupTable(ctx *context.T, permissionsFile string) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDispatcher ¶
func NewDispatcher(bt *BigTable, config *Config) rpc.Dispatcher
func SetGcGracePeriod ¶
SetGcGracePeriod sets the grace period for garbage collecting newly created nodes. Nodes are not eligible for garbage collection until after this time has passed. This function exists only for testing purposes.
Types ¶
type BigTable ¶
type BigTable struct {
// contains filtered or unexported fields
}
func NewBigTable ¶
NewBigTable returns a BigTable object that abstracts some aspects of the Cloud Bigtable API.
func NewTestBigTable ¶
NewTestBigTable returns a BigTable object that is connected to an in-memory fake bigtable cluster.
func (*BigTable) DeleteTable ¶
DeleteTable deletes the table.
Click to show internal directories.
Click to hide internal directories.