public class Vectorize extends Object implements SubCommand
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
args |
Properties |
configProps |
String |
configurationFile |
static String |
DEFAULT_INPUT_FORMAT_CLASSNAME |
static String |
DEFAULT_OUTPUT_FORMAT_CLASSNAME |
static String |
DEFAULT_VECTORIZATION_ENGINE_CLASSNAME |
static String |
INPUT_FORMAT |
static String |
NORMALIZE_DATA_FLAG |
boolean |
normalizeData |
static String |
OUTPUT_FILENAME_KEY |
static String |
OUTPUT_FORMAT |
String |
outputVectorFilename |
static String |
PRINT_STATS_FLAG |
static String |
SHUFFLE_DATA_FLAG |
boolean |
validCommandLineParameters |
static String |
VECTORIZATION_ENGINE |
| Modifier and Type | Method and Description |
|---|---|
InputFormat |
createInputFormat()
Creates an input format
|
OutputFormat |
createOutputFormat() |
VectorizationEngine |
createVectorizationEngine()
Creates an input format
|
void |
debugLoadedConfProperties()
Dont change print stuff, its part of application console output UI
|
void |
execute()
Execute the input
|
void |
loadConfigFile() |
static void |
printUsage() |
public static final String OUTPUT_FILENAME_KEY
public static final String INPUT_FORMAT
public static final String DEFAULT_INPUT_FORMAT_CLASSNAME
public static final String OUTPUT_FORMAT
public static final String DEFAULT_OUTPUT_FORMAT_CLASSNAME
public static final String VECTORIZATION_ENGINE
public static final String DEFAULT_VECTORIZATION_ENGINE_CLASSNAME
public static final String NORMALIZE_DATA_FLAG
public static final String SHUFFLE_DATA_FLAG
public static final String PRINT_STATS_FLAG
protected String[] args
public boolean validCommandLineParameters
public String configurationFile
public Properties configProps
public String outputVectorFilename
public boolean normalizeData
public Vectorize()
public Vectorize(String[] args)
args - arguments for commandpublic void loadConfigFile()
throws IOException
IOExceptionpublic void debugLoadedConfProperties()
public static void printUsage()
public void execute()
throws Exception
SubCommandexecute in interface SubCommandExceptionpublic InputFormat createInputFormat()
public OutputFormat createOutputFormat()
public VectorizationEngine createVectorizationEngine()
VectorizationEngineCopyright © 2015. All rights reserved.