Copyright | (c) Moritz Schulte 2017 |
---|---|
License | BSD3 |
Maintainer | mtesseract@silverratio.net |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module implements the
/event-types/EVENT-TYPE/cursor-distances
API.
- cursorsDistance' :: MonadNakadi m => Config -> EventTypeName -> [CursorDistanceQuery] -> m [CursorDistanceResult]
- cursorsDistanceR' :: MonadNakadiEnv r m => EventTypeName -> [CursorDistanceQuery] -> m [CursorDistanceResult]
- cursorDistance :: MonadNakadi m => Config -> EventTypeName -> Cursor -> Cursor -> m Int64
- cursorDistanceR :: MonadNakadiEnv r m => EventTypeName -> Cursor -> Cursor -> m Int64
Documentation
:: MonadNakadi m | |
=> Config | Configuration |
-> EventTypeName | Event Type |
-> [CursorDistanceQuery] | List of cursor-distance-queries |
-> m [CursorDistanceResult] | List of cursor-distance-results |
Query for distance between cursors. Low level call.
:: MonadNakadiEnv r m | |
=> EventTypeName | Event Type |
-> [CursorDistanceQuery] | List of cursor-distance-queries |
-> m [CursorDistanceResult] | List of cursor-distance-results |
Query for distance between cursors. Low level call, retrieving configuration from environment.
:: MonadNakadi m | |
=> Config | Configuration |
-> EventTypeName | Event Type |
-> Cursor | First cursor |
-> Cursor | Second cursor |
-> m Int64 | Resulting difference between first and second cursor |
Given two cursors, compute the distance between these cursors.
:: MonadNakadiEnv r m | |
=> EventTypeName | Event Type |
-> Cursor | First cursor |
-> Cursor | Second cursor |
-> m Int64 | Resulting difference between first and second cursor |
Given two cursors, compute the distance between these cursors, retrieving configuration from environment.