Methods Summary |
---|
public boolean | commitAfter()
return this.commitAfter;
|
public final boolean | equals(java.lang.Object obj)
if(obj == null)
return false;
if(obj instanceof IndexDocumentStub){
IndexDocumentStub other = (IndexDocumentStub)obj;
return this.document.getField(IndexDocument.FIELD_ENTRY_ID).stringValue().equals(other.document.getField(IndexDocument.FIELD_ENTRY_ID).stringValue());
}
return false;
|
public org.apache.lucene.index.Term | getDeletealbe()
if(latch != null)
latch.countDown();
return this.deleteTerm;
|
public org.apache.lucene.document.Document | getWriteable()
if(latch != null)
latch.countDown();
return this.document;
|
public final int | hashCode()
return this.document.getField(IndexDocument.FIELD_ENTRY_ID).stringValue().hashCode();
|
private boolean | isAction(IndexAction currentAction)
return this.action == currentAction;
|
public boolean | isDelete()
return isAction(IndexAction.DELETE);
|
public boolean | isInsert()
return isAction(IndexAction.INSERT);
|
public boolean | isUpdate()
return isAction(IndexAction.UPDATE);
|
public boolean | optimizeAfter()
return this.optimizeAfter;
|
public void | setCommitAfter(boolean commitAfter)
this.commitAfter = commitAfter;
|
public void | setOptimizeAfter(boolean optimizeAfter)
this.optimizeAfter = optimizeAfter;
|