Documentation ¶
Index ¶
- func AddBSI(m *roaring.Bitmap, id, value uint64)
- func AddBoolean(m *roaring.Bitmap, id uint64, value bool)
- func AddMutex(m *roaring.Bitmap, id uint64, value uint64)
- func CompareValueBSI(tx *rbf.Tx, view string, shard uint64, op Operation, valueOrStart uint64, ...) (*rows.Row, error)
- func ExtractValuesBSI(tx *rbf.Tx, view string, shard uint64, exists *rows.Row, ...) error
- func ExtractValuesBSIValidate(tx *rbf.Tx, view string, shard uint64, columns *rows.Row, ...) error
- func False(tx *rbf.Tx, view string, shard uint64, columns *rows.Row) (*rows.Row, error)
- func Row(tx *rbf.Tx, view string, shard uint64, rowID uint64) (*rows.Row, error)
- func Rows(tx *rbf.Tx, view string, start uint64, cb func(row uint64) error, ...) error
- func True(tx *rbf.Tx, view string, shard uint64, columns *rows.Row) (*rows.Row, error)
- type Operation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareValueBSI ¶
func CompareValueBSI( tx *rbf.Tx, view string, shard uint64, op Operation, valueOrStart uint64, end uint64, columns *rows.Row) (*rows.Row, error)
CompareValueBSI compares value. Values should be in the range of the BSI (max, min). If the value is outside the range, the result might erroneous. The operation parameter indicates the type of comparison to be made. For all operations with the exception of RANGE, the value to be compared is specified by valueOrStart. For the RANGE parameter the comparison criteria is >= valueOrStart and <= end.
Returns column ID's satisfying the operation.
func ExtractValuesBSI ¶
func ExtractValuesBSI(tx *rbf.Tx, view string, shard uint64, exists *rows.Row, f func(column uint64, value uint64) error) error
ExtractValuesBSI finds all values set in exists columns and calls f with the found column and value.
Assumes exists columns are in the bitmap.
func ExtractValuesBSIValidate ¶
func ExtractValuesBSIValidate(tx *rbf.Tx, view string, shard uint64, columns *rows.Row, f func(column, value uint64) error) error
ExtractValuesBSIValidate is like ExtractValuesBSI but checks if columns exists.