|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.enterprise.adaptor.DocIdPusher.Record
public static final class DocIdPusher.Record
Immutable feed attributes for a document identified by its DocId
.
Nested Class Summary | |
---|---|
static class |
DocIdPusher.Record.Builder
Builder to create instances of Record. |
Method Summary | |
---|---|
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. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
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 boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |