You can find below the operations available in the simplified text-based protocol. Refer to the RAW_S module type in obs_data_model.mli for further information on the semantics of each operation and for extra operations not exposed via the simplified protocol.


Keyspace and table operations

KSREGISTER
Register keyspace
KSGET
Get existent keyspace
KSLIST
List existent keyspaces
TLIST
List tables in keyspace
TSIZE
Return table size on disk

Transactions

BEGIN
Begin transaction
ABORT
Abort transaction
COMMIT
Commit transaction
CWATCH
Watch for changes in columns
KWATCH
Watch for changes under key
LOCK
Acquire lock

Read operations

Keys
KCOUNT
Count keys
KCOUNTRANGE
Count keys in range
KEXIST
Determine key existence
KGET
Return existing keys from discrete set
KGETRANGE
Return existing keys in range
RSIZE
Return range size on disk
Columns
SGETCC
Get continuous column range over continuous key range
SGETCD
Get discrete column range over continuous key range
SGETDC
Get continuous column range over discrete key range
SGETDD
Get discrete column range over discrete key range

Write operations

SPUT
Write (or update) columns
CDEL
Delete columns