Class DocumentState
java.lang.Object
com.yahoo.documentapi.messagebus.protocol.DocumentState
- All Implemented Interfaces:
Comparable<DocumentState>
- Author:
- Einar M R Rosenvinge
-
Constructor Summary
ConstructorDescriptionDocumentState
(com.yahoo.document.DocumentId docId, long timestamp, boolean removeEntry) DocumentState
(com.yahoo.document.GlobalId gid, long timestamp, boolean removeEntry) DocumentState
(com.yahoo.vespa.objects.Deserializer buf) -
Method Summary
-
Constructor Details
-
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 Details
-
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
- Specified by:
compareTo
in interfaceComparable<DocumentState>
-
equals
-
hashCode
public int hashCode() -
toString
-