Package org.apache.tika.eval.batch
Class ExtractComparerBuilder
- java.lang.Object
-
- org.apache.tika.eval.batch.EvalConsumerBuilder
-
- org.apache.tika.eval.batch.ExtractComparerBuilder
-
public class ExtractComparerBuilder extends EvalConsumerBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static String
TABLE_PREFIX_A_KEY
static String
TABLE_PREFIX_B_KEY
-
Fields inherited from class org.apache.tika.eval.batch.EvalConsumerBuilder
queue
-
-
Constructor Summary
Constructors Constructor Description ExtractComparerBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addErrorLogTablePairs(DBConsumersManager manager)
FileResourceConsumer
build()
protected List<TableInfo>
getNonRefTableInfos()
protected List<TableInfo>
getRefTableInfos()
protected void
updateTableInfosWithPrefixes(Map<String,String> attrs)
-
Methods inherited from class org.apache.tika.eval.batch.EvalConsumerBuilder
buildExtractReader, getDBWriter, init, populateRefTables
-
-
-
-
Field Detail
-
TABLE_PREFIX_A_KEY
public static final String TABLE_PREFIX_A_KEY
- See Also:
- Constant Field Values
-
TABLE_PREFIX_B_KEY
public static final String TABLE_PREFIX_B_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
-
addErrorLogTablePairs
protected void addErrorLogTablePairs(DBConsumersManager manager)
- Specified by:
addErrorLogTablePairs
in classEvalConsumerBuilder
-
-