Class MessageIdStartAtSpec

    • Constructor Detail

      • MessageIdStartAtSpec

        public MessageIdStartAtSpec​(org.apache.pulsar.client.api.MessageId messageId,
                                    boolean inclusive)
        Parameters:
        messageId - the message id from which to start reading from
        inclusive - true to include the message with the message id
    • Method Detail

      • getMessageId

        public org.apache.pulsar.client.api.MessageId getMessageId()
        Gets the message id from which to start reading from.
        Returns:
        the message id from which to start reading from
      • isInclusive

        public boolean isInclusive()
        Gets whether the message with the message id must be included.
        Returns:
        true if the message with the message id must be included
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object