| Copyright | (c) Moritz Schulte 2017 |
|---|---|
| License | BSD3 |
| Maintainer | mtesseract@silverratio.net |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Nakadi.EventTypes.ShiftedCursors
Description
This module implements the
/event-types/EVENT-TYPE/shifted-cursors API.
- cursorsShift' :: MonadNakadi m => Config -> EventTypeName -> [ShiftedCursor] -> m [Cursor]
- cursorsShiftR' :: MonadNakadiEnv r m => EventTypeName -> [ShiftedCursor] -> m [Cursor]
- cursorsShift :: MonadNakadi m => Config -> EventTypeName -> [Cursor] -> Int64 -> m [Cursor]
- cursorsShiftR :: MonadNakadiEnv r m => EventTypeName -> [Cursor] -> Int64 -> m [Cursor]
Documentation
Arguments
| :: MonadNakadi m | |
| => Config | Configuration |
| -> EventTypeName | Event Type |
| -> [ShiftedCursor] | Cursors with Shift Distances |
| -> m [Cursor] | Resulting Cursors |
POST to /event-types/EVENT-TYPE/shifted-cursors. Low level
interface.
Arguments
| :: MonadNakadiEnv r m | |
| => EventTypeName | Event Type |
| -> [ShiftedCursor] | Cursors with Shift Distances |
| -> m [Cursor] | Resulting Cursors |
POST to /event-types/EVENT-TYPE/shifted-cursors. Low level
interface. Retrieves the configuration from the environment.
Arguments
| :: MonadNakadi m | |
| => Config | Configuration |
| -> EventTypeName | Event Type |
| -> [Cursor] | Cursors to shift |
| -> Int64 | Shift Distance |
| -> m [Cursor] | Resulting Cursors |
POST to /event-types/EVENT-TYPE/shifted-cursors. High
level interface.
Arguments
| :: MonadNakadiEnv r m | |
| => EventTypeName | Event Type |
| -> [Cursor] | Cursors to shift |
| -> Int64 | Shift Distance |
| -> m [Cursor] | Resulting Cursors |
POST to /event-types/EVENT-TYPE/shifted-cursors. High
level interface. Retrieves the configuration from the environment.