public class DocumentChunkManager
extends org.apache.manifoldcf.core.database.BaseTable
| Constructor and Description |
|---|
DocumentChunkManager(org.apache.manifoldcf.core.interfaces.IDBInterface database) |
| Modifier and Type | Method and Description |
|---|---|
void |
deinstall()
Uninstall the manager.
|
void |
deleteChunk(DocumentRecord[] records)
Delete the chunk of documents (presumably because we processed them successfully)
|
boolean |
equalOrMoreThan(java.lang.String host,
java.lang.String path,
int maximumNumber)
Determine if there are N documents or more.
|
void |
install()
Install the manager
|
DocumentRecord[] |
readChunk(java.lang.String host,
java.lang.String path,
int maximumNumber)
Read a chunk of documents.
|
void |
recordDocument(java.lang.String uid,
java.lang.String host,
java.lang.String path,
java.lang.String uri,
java.lang.String activity,
java.lang.Long length,
java.io.InputStream sdfData)
Record document information for later trasmission to Amazon.
|
addTableIndex, analyzeTable, beginTransaction, buildConjunctionClause, constructCountClause, constructDistinctOnClause, constructDoubleCastClause, constructOffsetLimitClause, constructRegexpClause, constructSubstringClause, endTransaction, findConjunctionClauseMax, getDatabaseCacheKey, getDBInterface, getMaxInClause, getMaxOrClause, getSleepAmt, getTableIndexes, getTableName, getTableSchema, getTransactionID, getWindowedReportMaxRows, makeTableKey, noteModifications, performAddIndex, performAlter, performCommit, performCreate, performDelete, performDrop, performInsert, performModification, performQuery, performQuery, performRemoveIndex, performUpdate, prepareRowForSave, readRow, reindexTable, signalRollback, sleepForpublic DocumentChunkManager(org.apache.manifoldcf.core.interfaces.IDBInterface database)
public void install()
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic void deinstall()
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic void recordDocument(java.lang.String uid,
java.lang.String host,
java.lang.String path,
java.lang.String uri,
java.lang.String activity,
java.lang.Long length,
java.io.InputStream sdfData)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException,
java.io.IOException
uid - documentuidsdfData - document SDF data.org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionjava.io.IOExceptionpublic boolean equalOrMoreThan(java.lang.String host,
java.lang.String path,
int maximumNumber)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic DocumentRecord[] readChunk(java.lang.String host, java.lang.String path, int maximumNumber) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic void deleteChunk(DocumentRecord[] records) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
org.apache.manifoldcf.core.interfaces.ManifoldCFException