Class Cursor


  • @Immutable
    public final class Cursor
    extends Object
    • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object