Package com.norconex.committer.idol
Class IdolCommitter
java.lang.Object
com.norconex.committer.core.AbstractCommitter<IdolCommitterConfig>
com.norconex.committer.core.batch.AbstractBatchCommitter<IdolCommitterConfig>
com.norconex.committer.idol.IdolCommitter
- All Implemented Interfaces:
BatchConsumer,Committer,Configurable<IdolCommitterConfig>,AutoCloseable
Commits documents to IDOL Server/DIH or Connector Framework Server (CFS). Specifying either the index port or the cfs port determines which of the two will be the documents target.
- Author:
- Pascal Essiembre
-
Field Summary
Fields inherited from interface com.norconex.commons.lang.config.Configurable
PROPERTY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.norconex.committer.core.batch.AbstractBatchCommitter
closeBatchCommitter, consume, doClean, doClose, doDelete, doInit, doUpsert, getInitializedQueueMethods inherited from class com.norconex.committer.core.AbstractCommitter
accept, applyFieldMappings, clean, close, delete, fireDebug, fireDebug, fireError, fireError, fireInfo, fireInfo, getCommitterContext, init, upsert
-
Constructor Details
-
IdolCommitter
public IdolCommitter()
-
-
Method Details
-
initBatchCommitter
Description copied from class:AbstractBatchCommitterSubclasses can perform additional initialization by overriding this method. Default implementation does nothing. The committer context and committer queue will be already initialized when invokingAbstractCommitter.getCommitterContext()andAbstractBatchCommitter.getInitializedQueue(), respectively.- Overrides:
initBatchCommitterin classAbstractBatchCommitter<IdolCommitterConfig>- Throws:
CommitterException- error initializing
-
commitBatch
Description copied from class:AbstractBatchCommitterCommits the supplied batch.- Specified by:
commitBatchin classAbstractBatchCommitter<IdolCommitterConfig>- Parameters:
it- the batch to commit- Throws:
CommitterException- could not commit the batch
-
equals
- Overrides:
equalsin classAbstractBatchCommitter<IdolCommitterConfig>
-
canEqual
- Overrides:
canEqualin classAbstractBatchCommitter<IdolCommitterConfig>
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractBatchCommitter<IdolCommitterConfig>
-
toString
- Overrides:
toStringin classAbstractBatchCommitter<IdolCommitterConfig>
-
getConfiguration
-