Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultProvider ¶
type DefaultProvider struct{}
DefaultProvider is the default provider that uses the default bigtable client.
type Dependency ¶
type Dependency struct {
Provider Provider
}
Dependency will inject the Provider into the dependency chain.
type Filter ¶
func ChainFilters ¶
func FamilyFilter ¶
func PassAllFilter ¶
func PassAllFilter() Filter
func TimestampRangeFilter ¶
type Provider ¶
type Provider interface {
NewClient(ctx context.Context, project, instance string, opts ...option.ClientOption) (*bigtable.Client, error)
}
Provider provides a method to create a new bigtable.Client.
func GetProvider ¶
GetProvider will return the Provider for the current context. If no Provider has been injected into the dependencies, this will return a default provider.
type ReadOption ¶
type ReadOption = bigtable.ReadOption
func LimitRows ¶
func LimitRows(limit int64) ReadOption
func RowFilter ¶
func RowFilter(f Filter) ReadOption
Click to show internal directories.
Click to hide internal directories.