|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IndexDocument
IndexDocument encapsulates the acual entity to store, update or delete. All infomation to process the action on this document are provided via this interface.
This enables the GDataIndexer to index every kind of document. All the
processing of the original document happens somewhere behind this facade.
IndexDocumentBuilderTask
passed
to the GDataIndexer
task queue
produce instances of this interface concurrently.
Field Summary | |
---|---|
static String |
FIELD_ENTRY_ID
the index field to identify a document in the index. |
static String |
FIELD_FEED_ID
the index field to associate a document with a specific feed |
static String |
GDATA_MANDATORY_FIELD_CATEGORY
|
static String |
GDATA_MANDATORY_FIELD_UPDATED
|
Method Summary | |
---|---|
boolean |
commitAfter()
Indicates that the index should be commited after this document has been processed |
Term |
getDeletealbe()
|
Document |
getWriteable()
|
boolean |
isDelete()
|
boolean |
isInsert()
|
boolean |
isUpdate()
|
boolean |
optimizeAfter()
Indicates that the index should be optimized after this document has been processed |
Field Detail |
---|
static final String FIELD_ENTRY_ID
static final String FIELD_FEED_ID
static final String GDATA_MANDATORY_FIELD_UPDATED
static final String GDATA_MANDATORY_FIELD_CATEGORY
Method Detail |
---|
boolean isUpdate()
true
if and only if this document is an update,
otherwise false
boolean isDelete()
true
if and only if this document is a delete,
otherwise false
boolean isInsert()
true
if and only if this document is an insert,
otherwise false
Document getWriteable()
null
;Term getDeletealbe()
boolean commitAfter()
true
if the index should be commited after this
document, otherwise false
boolean optimizeAfter()
true
if the index should be optimized after this
document, otherwise false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |