Bedrock.ToKeyRange protocol (bedrock v0.6.0)
View SourceProtocol for converting various types to key ranges.
A key range is represented as a tuple {start_key, end_key} where:
start_keyis inclusive (binary)end_keyis exclusive (binary)
This protocol provides a unified interface for range operations in Bedrock, allowing directories, keyspaces, and other types to be used wherever a key range is expected.
Summary
Functions
Converts the given data to a key range tuple.