public class DocumentChunkManager extends BaseTable
_rcsid, dbInterface, tableName
Constructor and Description |
---|
DocumentChunkManager(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(String host,
String path,
int maximumNumber)
Determine if there are N documents or more.
|
void |
install()
Install the manager
|
DocumentRecord[] |
readChunk(String host,
String path,
int maximumNumber)
Read a chunk of documents.
|
void |
recordDocument(String uid,
String host,
String path,
String uri,
String activity,
Long length,
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, sleepFor
public DocumentChunkManager(IDBInterface database)
public void install() throws ManifoldCFException
ManifoldCFException
public void deinstall() throws ManifoldCFException
ManifoldCFException
public void recordDocument(String uid, String host, String path, String uri, String activity, Long length, InputStream sdfData) throws ManifoldCFException, IOException
uid
- documentuidsdfData
- document SDF data.ManifoldCFException
IOException
public boolean equalOrMoreThan(String host, String path, int maximumNumber) throws ManifoldCFException
ManifoldCFException
public DocumentRecord[] readChunk(String host, String path, int maximumNumber) throws ManifoldCFException
ManifoldCFException
public void deleteChunk(DocumentRecord[] records) throws ManifoldCFException
ManifoldCFException