public static final class DocIdPusher.Record extends Object
DocId
.Modifier and Type | Class and Description |
---|---|
static class |
DocIdPusher.Record.Builder
Builder to create instances of Record.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Checks for equality based on all visible fields.
|
DocId |
getDocId()
The identifier for the document this record is providing information for.
|
Date |
getLastModified()
The last modified date of the document.
|
Metadata |
getMetadata()
The
Metadata (possibly null) for the document this record is
providing information for. |
URI |
getResultLink()
The URI that should be displayed to the user in search results.
|
int |
hashCode()
Generates hash code based on all visible fields.
|
boolean |
isToBeCrawledImmediately()
Informs the GSA that the document has been modified, and the GSA should
give high priority to recrawling the document.
|
boolean |
isToBeCrawledOnce()
Informs the GSA that it should only crawl the document once.
|
boolean |
isToBeDeleted()
Whether the GSA is being informed the document has been deleted.
|
boolean |
isToBeLocked()
Locks the document into the GSA's index.
|
String |
toString()
Generates a string representation of this instance useful for debugging
that contains all visible fields.
|
public DocId getDocId()
null
identifier for the documentpublic boolean isToBeDeleted()
public Date getLastModified()
null
, then natural
crawling is the primary method of detecting modifications.public URI getResultLink()
null
, then the crawl URI representing the DocId
is used.public boolean isToBeCrawledImmediately()
public boolean isToBeCrawledOnce()
public boolean isToBeLocked()
public Metadata getMetadata()
Metadata
(possibly null) for the document this record is
providing information for. See restrictions where metadata
is
declared.null
metadata for the documentpublic boolean equals(Object o)
public int hashCode()