Package org.apache.tika.eval.app.batch
Class EvalConsumerBuilder
java.lang.Object
org.apache.tika.eval.app.batch.EvalConsumerBuilder
- Direct Known Subclasses:
ExtractComparerBuilder,ExtractProfilerBuilder,FileProfilerBuilder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidaddErrorLogTablePairs(DBConsumersManager manager) abstract FileResourceConsumerbuild()protected ExtractReaderbuildExtractReader(Map<String, String> localAttrs) protected IDBWritergetDBWriter(List<TableInfo> tableInfos) protected abstract TableInfoinit(ArrayBlockingQueue<FileResource> queue, Map<String, String> localAttrs, JDBCUtil dbUtil, boolean forceDrop) voidprotected abstract voidupdateTableInfosWithPrefixes(Map<String, String> attrs)
-
Field Details
-
queue
-
-
Constructor Details
-
EvalConsumerBuilder
public EvalConsumerBuilder()
-
-
Method Details
-
init
public MimeBuffer init(ArrayBlockingQueue<FileResource> queue, Map<String, String> localAttrs, JDBCUtil dbUtil, boolean forceDrop) throws IOException, SQLException- Throws:
IOExceptionSQLException
-
build
- Throws:
IOExceptionSQLException
-
updateTableInfosWithPrefixes
-
getRefTableInfos
- Returns:
- only the ref tables
-
getNonRefTableInfos
- Returns:
- the main tables, not including the ref tables
-
getMimeTable
-
addErrorLogTablePairs
-
populateRefTables
- Throws:
IOExceptionSQLException
-
getDBWriter
- Throws:
IOExceptionSQLException
-
buildExtractReader
-