Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct {
Value interface{}
Binary []byte
}
Key represents a primary key segment. The 'Value' field should be used unless the key segment is a varbinary field. This is so that the json unmarshaling will decode base64 for the Binary property.
type ReadRequest ¶
type ReadRequest struct {
Key []Key
}
type Reader ¶
type Reader interface {
GetRowByKey(ctx context.Context, out interface{}, familyName string, tableName string, key ...interface{}) (found bool, err error)
GetRowsByKeyPrefix(ctx context.Context, familyName string, tableName string, key ...interface{}) (*ctlstore.Rows, error)
GetLedgerLatency(ctx context.Context) (time.Duration, error)
}
Click to show internal directories.
Click to hide internal directories.