public class VectorDistanceSimilarityJob extends AbstractJob
Modifier and Type | Field and Description |
---|---|
static String |
DISTANCE_MEASURE_KEY |
static String |
MAX_DISTANCE |
static String |
OUT_TYPE_KEY |
static String |
SEEDS |
static String |
SEEDS_PATH_KEY |
argMap, inputFile, inputPath, outputFile, outputPath, tempPath
Constructor and Description |
---|
VectorDistanceSimilarityJob() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
static void |
run(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path input,
org.apache.hadoop.fs.Path seeds,
org.apache.hadoop.fs.Path output,
DistanceMeasure measure,
String outType) |
static void |
run(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path input,
org.apache.hadoop.fs.Path seeds,
org.apache.hadoop.fs.Path output,
DistanceMeasure measure,
String outType,
Double maxDistance) |
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
public static final String SEEDS
public static final String SEEDS_PATH_KEY
public static final String DISTANCE_MEASURE_KEY
public static final String OUT_TYPE_KEY
public static final String MAX_DISTANCE
public static void run(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path input, org.apache.hadoop.fs.Path seeds, org.apache.hadoop.fs.Path output, DistanceMeasure measure, String outType) throws IOException, ClassNotFoundException, InterruptedException
public static void run(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path input, org.apache.hadoop.fs.Path seeds, org.apache.hadoop.fs.Path output, DistanceMeasure measure, String outType, Double maxDistance) throws IOException, ClassNotFoundException, InterruptedException
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.