Interface EventPointer

    • Method Detail

      • asImpl

        io.pravega.client.stream.impl.EventPointerInternal asImpl()
        Used internally. Do not call.
        Returns:
        Implementation of EventPointer interface
      • toBytes

        java.nio.ByteBuffer toBytes()
        Serializes the Event pointer to a compact binary form.
        Returns:
        A binary representation of the event pointer.
      • fromBytes

        static EventPointer fromBytes​(java.nio.ByteBuffer eventPointer)
        Deserializes the event pointer from its serialized from obtained from calling toBytes().
        Parameters:
        eventPointer - A serialized event pointer.
        Returns:
        The event pointer object.
      • getStream

        Stream getStream()
        Returns the stream from which event is read from, fully qualified stream name can be obtained from calling Stream.getScopedName()}.
        Returns:
        the stream object.