package orocksdb

  1. Overview
  2. Docs
exception OperationOnInvalidObject
type bigarray = Rocks_intf.bigarray
module Views : sig ... end
module WriteBatch : sig ... end
module Version : sig ... end
module Options : sig ... end
module ReadOptions : sig ... end
module WriteOptions : sig ... end
module FlushOptions : sig ... end
module Cache : sig ... end
module BlockBasedTableOptions : sig ... end
type t
val get_pointer : t -> unit Ctypes.ptr
val open_db : ?opts:Options.t -> string -> t
val with_db : ?opts:Options.t -> string -> f:(t -> 'a) -> 'a
val close : t -> unit
val get : ?pos:int -> ?len:int -> ?opts:ReadOptions.t -> t -> Rocks_intf.bigarray -> Rocks_intf.bigarray option
val get_string : ?pos:int -> ?len:int -> ?opts:ReadOptions.t -> t -> string -> string option
val put : ?key_pos:int -> ?key_len:int -> ?value_pos:int -> ?value_len:int -> ?opts:WriteOptions.t -> t -> Rocks_intf.bigarray -> Rocks_intf.bigarray -> unit
val put_string : ?key_pos:int -> ?key_len:int -> ?value_pos:int -> ?value_len:int -> ?opts:WriteOptions.t -> t -> string -> string -> unit
val delete : ?pos:int -> ?len:int -> ?opts:WriteOptions.t -> t -> Rocks_intf.bigarray -> unit
val delete_string : ?pos:int -> ?len:int -> ?opts:WriteOptions.t -> t -> string -> unit
val write : ?opts:WriteOptions.t -> t -> WriteBatch.t -> unit
val flush : ?opts:FlushOptions.t -> t -> unit
module Iterator : sig ... end
OCaml

Innovation. Community. Security.