public class FileSystemPairStoreWithHtmlOutput
extends com.tibco.patterns.dedupe_utils.FileSystemPairStore
implements java.io.Closeable
Assumes the query objects are NetricsBaseRecords (e.g. deduplication was done using NetricsRecQuerySource was used).
HTML output is done using raw prints for basic Java 1.5 compatibility. Real production code would use something less primitive, for example the javax.xml package.
| Modifier and Type | Field and Description |
|---|---|
int |
scoreDigits
Number of decimal places to report in HTML output.
|
| Constructor and Description |
|---|
FileSystemPairStoreWithHtmlOutput(java.lang.String pairsDirectoryPath,
java.io.File htmlFilePath,
java.lang.String[] reportFieldNames,
int[] reportFieldIndexes)
Create a FileSystemPairStoreWithHtmlOutput instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
preProcess(java.lang.String batchId,
int deduplicatorBatchSize,
java.util.List<com.tibco.patterns.deduplication.Pair> pairs) |
isStored, iterator, postProcess, storepublic FileSystemPairStoreWithHtmlOutput(java.lang.String pairsDirectoryPath,
java.io.File htmlFilePath,
java.lang.String[] reportFieldNames,
int[] reportFieldIndexes)
throws java.io.IOException
pairsDirectoryPath - Passed down to FileSystemPairStorehtmlFilePath - HTML results are stored in this file.reportFieldNames - Names of the fieldsreportFieldIndexes - Indexes of fields in NetricsBaseRecord objectsjava.io.IOException - Thrown by base class constructor.public void preProcess(java.lang.String batchId,
int deduplicatorBatchSize,
java.util.List<com.tibco.patterns.deduplication.Pair> pairs)
throws java.lang.Exception
preProcess in class com.tibco.patterns.dedupe_utils.FileSystemPairStorejava.lang.Exceptionpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseable