public final class MailToPrefsDriver extends AbstractJob
SequenceFilesFromMailArchives
) to a preference
file that can be consumed by the RecommenderJob
.
This assumes the input is a Sequence File, that the key is: filename/message id and the value is a list
(separated by the user's choosing) containing the from email and any references
The output is a matrix where either the from or to are the rows (represented as longs) and the columns are the
message ids that the user has interacted with (as a VectorWritable). This class currently does not account for
thread hijacking.
It also outputs a side table mapping the row ids to their original and the message ids to the message thread idargMap, inputFile, inputPath, outputFile, outputPath, tempPath
Constructor and Description |
---|
MailToPrefsDriver() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
int |
run(String[] args) |
addFlag, addInputOption, addOption, addOption, addOption, addOption, addOutputOption, buildOption, buildOption, getAnalyzerClassFromOption, getCLIOption, getConf, getDimensions, getFloat, getFloat, getGroup, getInputFile, getInputPath, getInt, getInt, getOption, getOption, getOption, getOptions, getOutputFile, getOutputPath, getOutputPath, getTempPath, getTempPath, hasOption, keyFor, maybePut, parseArguments, parseArguments, parseDirectories, prepareJob, prepareJob, prepareJob, prepareJob, setConf, setS3SafeCombinedInputPath, shouldRunNextPhase
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.