Interface Position

    • Method Detail

      • asImpl

        PositionInternal asImpl()
        Used internally. Do not call.
        Returns:
        Implementation of position object interface
      • toBytes

        java.nio.ByteBuffer toBytes()
        Serializes the position to a compact byte array.
        Returns:
        compact byte array
      • fromBytes

        static Position fromBytes​(java.nio.ByteBuffer serializedPosition)
        Deserializes the position from its serialized from obtained from calling toBytes().
        Parameters:
        serializedPosition - A serialized position.
        Returns:
        The position object.