Class Cursor

java.lang.Object
org.zalando.fahrschein.domain.Cursor

@Immutable public final class Cursor extends Object
  • Constructor Details

  • Method Details

    • 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.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object