Package org.apache.tika.eval.app.batch
Class FileProfilerBuilder
- java.lang.Object
-
- org.apache.tika.eval.app.batch.EvalConsumerBuilder
-
- org.apache.tika.eval.app.batch.FileProfilerBuilder
-
public class FileProfilerBuilder extends EvalConsumerBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static String
TABLE_PREFIX_KEY
-
Fields inherited from class org.apache.tika.eval.app.batch.EvalConsumerBuilder
queue
-
-
Constructor Summary
Constructors Constructor Description FileProfilerBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addErrorLogTablePairs(DBConsumersManager manager)
FileResourceConsumer
build()
protected TableInfo
getMimeTable()
protected List<TableInfo>
getNonRefTableInfos()
protected List<TableInfo>
getRefTableInfos()
protected void
updateTableInfosWithPrefixes(Map<String,String> attrs)
-
Methods inherited from class org.apache.tika.eval.app.batch.EvalConsumerBuilder
buildExtractReader, getDBWriter, init, populateRefTables
-
-
-
-
Field Detail
-
TABLE_PREFIX_KEY
public static final String TABLE_PREFIX_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
build
public FileResourceConsumer build() throws IOException, SQLException
- Specified by:
build
in classEvalConsumerBuilder
- Throws:
IOException
SQLException
-
updateTableInfosWithPrefixes
protected void updateTableInfosWithPrefixes(Map<String,String> attrs)
- Specified by:
updateTableInfosWithPrefixes
in classEvalConsumerBuilder
-
getRefTableInfos
protected List<TableInfo> getRefTableInfos()
- Specified by:
getRefTableInfos
in classEvalConsumerBuilder
- Returns:
- only the ref tables
-
getNonRefTableInfos
protected List<TableInfo> getNonRefTableInfos()
- Specified by:
getNonRefTableInfos
in classEvalConsumerBuilder
- Returns:
- the main tables, not including the ref tables
-
getMimeTable
protected TableInfo getMimeTable()
- Specified by:
getMimeTable
in classEvalConsumerBuilder
-
addErrorLogTablePairs
protected void addErrorLogTablePairs(DBConsumersManager manager)
- Specified by:
addErrorLogTablePairs
in classEvalConsumerBuilder
-
-