Documentation ¶
Index ¶
Constants ¶
View Source
const PartitionsCount = ZonesCount * PartitionsPerZone
View Source
const PartitionsPerZone = 997
View Source
const ZonesCount = 32
Variables ¶
View Source
var Append = func(ctx context.Context, partition uint64, namespace string, key uint64, rowValue []byte) error { return errors.New("not implemented") }
View Source
var Get = func(ctx context.Context, partition uint64, namespace string, key uint64) ([]byte, error) { return nil, errors.New("not implemented") }
View Source
var GetMetadata = func(ctx context.Context, key string) ([]byte, error) { return nil, errors.New("not implemented") }
View Source
var GetMonotonic = func(ctx context.Context, partition uint64, namespace string, key string) (uint64, error) { return 0, errors.New("not implemented") }
View Source
var KeyConflictError = errors.New("key conflict")
View Source
var Scan = func(ctx context.Context, partition uint64, namespace string, fromKey uint64) (RowIterator, error) { return nil, errors.New("not implemented") }
View Source
var ScanMetadata = func(ctx context.Context, fromKey string, toKey string) (MetadataRowIterator, error) { return nil, errors.New("not implemented") }
[fromKey, toKey] ordered lexically
Functions ¶
func HashToPartition ¶
Types ¶
type MetadataRow ¶
type MetadataRowIterator ¶
type MetadataRowIterator func() ([]MetadataRow, error)
type RowIterator ¶
Click to show internal directories.
Click to hide internal directories.