public class DocEntry extends Object implements Comparable<DocEntry>
Modifier and Type | Class and Description |
---|---|
static class |
DocEntry.Type |
Modifier and Type | Field and Description |
---|---|
(package private) com.yahoo.document.DocumentId |
docId |
(package private) com.yahoo.document.Document |
document |
(package private) long |
timestamp |
(package private) DocEntry.Type |
type |
Constructor and Description |
---|
DocEntry(long timestamp,
DocEntry.Type type) |
DocEntry(long timestamp,
com.yahoo.document.Document doc) |
DocEntry(long timestamp,
com.yahoo.document.Document doc,
DocEntry.Type type,
com.yahoo.document.DocumentId docId) |
DocEntry(long timestamp,
com.yahoo.document.DocumentId docId) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DocEntry docEntry) |
com.yahoo.document.Document |
getDocument() |
com.yahoo.document.DocumentId |
getDocumentId() |
long |
getTimestamp() |
DocEntry.Type |
getType() |
long timestamp
DocEntry.Type type
com.yahoo.document.DocumentId docId
com.yahoo.document.Document document
public DocEntry(long timestamp, com.yahoo.document.Document doc, DocEntry.Type type, com.yahoo.document.DocumentId docId)
public DocEntry(long timestamp, com.yahoo.document.Document doc)
public DocEntry(long timestamp, com.yahoo.document.DocumentId docId)
public DocEntry(long timestamp, DocEntry.Type type)
public int compareTo(DocEntry docEntry)
compareTo
in interface Comparable<DocEntry>
public DocEntry.Type getType()
public long getTimestamp()
public com.yahoo.document.DocumentId getDocumentId()
public com.yahoo.document.Document getDocument()
Copyright © 2017. All rights reserved.