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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
addErrorLogTablePairs
(DBConsumersManager manager) abstract FileResourceConsumer
build()
protected ExtractReader
buildExtractReader
(Map<String, String> localAttrs) protected IDBWriter
getDBWriter
(List<TableInfo> tableInfos) protected abstract TableInfo
init
(ArrayBlockingQueue<FileResource> queue, Map<String, String> localAttrs, JDBCUtil dbUtil, boolean forceDrop) void
protected abstract void
updateTableInfosWithPrefixes
(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:
IOException
SQLException
-
build
- Throws:
IOException
SQLException
-
updateTableInfosWithPrefixes
-
getRefTableInfos
- Returns:
- only the ref tables
-
getNonRefTableInfos
- Returns:
- the main tables, not including the ref tables
-
getMimeTable
-
addErrorLogTablePairs
-
populateRefTables
- Throws:
IOException
SQLException
-
getDBWriter
- Throws:
IOException
SQLException
-
buildExtractReader
-