Copyright | (c) Moritz Schulte 2017 2018 |
---|---|
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 b m => EventTypeName -> [CursorDistanceQuery] -> m [CursorDistanceResult]
- cursorDistance :: MonadNakadi b m => EventTypeName -> Cursor -> Cursor -> m Int64
Documentation
:: MonadNakadi b 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.
:: MonadNakadi b 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.