Class DocumentState

    • Constructor Detail

      • DocumentState

        public DocumentState​(com.yahoo.document.DocumentId docId,
                             long timestamp,
                             boolean removeEntry)
      • DocumentState

        public DocumentState​(com.yahoo.document.GlobalId gid,
                             long timestamp,
                             boolean removeEntry)
      • DocumentState

        public DocumentState​(com.yahoo.vespa.objects.Deserializer buf)
    • Method Detail

      • getDocId

        public com.yahoo.document.DocumentId getDocId()
      • getGid

        public com.yahoo.document.GlobalId getGid()
      • getTimestamp

        public long getTimestamp()
      • isRemoveEntry

        public boolean isRemoveEntry()
      • serialize

        public void serialize​(com.yahoo.vespa.objects.Serializer buf)
      • getSerializedSize

        public int getSerializedSize()
      • compareTo

        public int compareTo​(DocumentState state)
        Specified by:
        compareTo in interface java.lang.Comparable<DocumentState>
      • 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