|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xcmis.search.lucene.index.LuceneIndexTransaction
public class LuceneIndexTransaction
Created by The eXo Platform SAS.
| Constructor Summary | |
|---|---|
LuceneIndexTransaction(Map<String,org.apache.lucene.document.Document> addedDocuments,
Set<String> deletedDocuments)
|
|
| Method Summary | |
|---|---|
IndexTransaction<org.apache.lucene.document.Document> |
apply(IndexTransactionModificationReport report)
Remove modifications f |
Map<String,org.apache.lucene.document.Document> |
getAddedDocuments()
Map of documents what should be added to index. |
long |
getAddedDocumentSizeInBytes()
|
Set<String> |
getRemovedDocuments()
Set of identifiers of documents what should be removed from index. |
boolean |
hasAddedDocuments()
|
boolean |
hasModifacationsDocuments()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LuceneIndexTransaction(Map<String,org.apache.lucene.document.Document> addedDocuments,
Set<String> deletedDocuments)
addedDocuments - deletedDocuments - | Method Detail |
|---|
public IndexTransaction<org.apache.lucene.document.Document> apply(IndexTransactionModificationReport report)
apply in interface IndexTransaction<org.apache.lucene.document.Document>public Map<String,org.apache.lucene.document.Document> getAddedDocuments()
getAddedDocuments in interface IndexTransaction<org.apache.lucene.document.Document>public long getAddedDocumentSizeInBytes()
getAddedDocumentSizeInBytes in interface IndexTransaction<org.apache.lucene.document.Document>public Set<String> getRemovedDocuments()
getRemovedDocuments in interface IndexTransaction<org.apache.lucene.document.Document>public boolean hasAddedDocuments()
hasAddedDocuments in interface IndexTransaction<org.apache.lucene.document.Document>public boolean hasModifacationsDocuments()
hasModifacationsDocuments in interface IndexTransaction<org.apache.lucene.document.Document>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||