Package org.zalando.fahrschein.domain
Class Cursor
- java.lang.Object
-
- org.zalando.fahrschein.domain.Cursor
-
@Immutable public final class Cursor extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCursorToken()A token identifying this cursor and offset which has to be used when committing using the subscription api.StringgetEventType()The event type of this cursor.StringgetOffset()StringgetPartition()StringtoString()
-
-
-
Method Detail
-
getPartition
public String getPartition()
-
getOffset
public String getOffset()
-
getEventType
@Nullable public String getEventType()
The event type of this cursor. Only available if the batch was received using the subscription api.
-
getCursorToken
@Nullable public String getCursorToken()
A token identifying this cursor and offset which has to be used when committing using the subscription api. Only available if the batch was received using the subscription api.
-
-