franz-0.3.0.1: Append-only database

Safe HaskellNone
LanguageHaskell2010

Database.Franz.Reader

Documentation

type QueryResult = ((Int, Int), (Int, Int)) Source #

range Source #

Arguments

:: Int

from

-> Int

to

-> RequestType 
-> IntMap Int

offsets

-> (Bool, QueryResult) 

splitR :: Int -> IntMap a -> (IntMap a, IntMap a) Source #

data ReaperState Source #

Constructors

ReaperState 

Fields

handleQuery Source #

Arguments

:: FilePath

prefix

-> FranzReader 
-> FilePath

directory

-> Query 
-> (Stream -> STM (Bool, QueryResult) -> IO r) 
-> IO r