public class HadoopClusterQuantiserOptions extends AbstractClusterQuantiserOptions
Modifier and Type | Field and Description |
---|---|
protected HadoopClusterQuantiserOptions.MapperMode.MapperModeOp |
mapperModeOp |
exactQuant, extension, EXTRA_USAGE_INFO, fileType, info_mode, infoFile, inputFiles, otherInfoFile, quant_mode, quantLocation
Constructor and Description |
---|
HadoopClusterQuantiserOptions(String[] args) |
HadoopClusterQuantiserOptions(String[] args,
boolean beforeMaps) |
Modifier and Type | Method and Description |
---|---|
Class<? extends SpatialClusters<?>> |
getClusterClass() |
InputStream |
getClusterInputStream() |
static InputStream |
getClusterInputStream(String uriStr) |
String |
getClusterInputString() |
ClusterType.ClusterTypeOp |
getClusterType() |
static org.apache.hadoop.fs.FileSystem |
getFileSystem(URI uri) |
String |
getInputFileString() |
org.apache.hadoop.fs.Path[] |
getInputPaths() |
Class<SpatialClusters<?>> |
getOtherInfoClass() |
ClusterType.ClusterTypeOp |
getOtherInfoType() |
String |
getOutputFileString() |
static ClusterType.ClusterTypeOp |
sniffClusterType(String quantFile) |
void |
validate()
Validate the options
|
getConcurrency, getCountMode, getExtension, getFileType, getOtherInfoFile, getRandomSeed, getTreeFile, getVerbosity, isInfoMode, isQuantMode, prepare, setFileType
protected HadoopClusterQuantiserOptions.MapperMode.MapperModeOp mapperModeOp
public HadoopClusterQuantiserOptions(String[] args) throws org.kohsuke.args4j.CmdLineException
org.kohsuke.args4j.CmdLineException
public HadoopClusterQuantiserOptions(String[] args, boolean beforeMaps) throws org.kohsuke.args4j.CmdLineException
org.kohsuke.args4j.CmdLineException
public String getInputFileString()
getInputFileString
in class AbstractClusterQuantiserOptions
public String getOutputFileString()
getOutputFileString
in class AbstractClusterQuantiserOptions
public void validate() throws org.kohsuke.args4j.CmdLineException
AbstractClusterQuantiserOptions
validate
in class AbstractClusterQuantiserOptions
org.kohsuke.args4j.CmdLineException
public static org.apache.hadoop.fs.FileSystem getFileSystem(URI uri) throws IOException
IOException
public static ClusterType.ClusterTypeOp sniffClusterType(String quantFile) throws IOException
IOException
public ClusterType.ClusterTypeOp getClusterType()
getClusterType
in class AbstractClusterQuantiserOptions
public static InputStream getClusterInputStream(String uriStr) throws IOException
IOException
public InputStream getClusterInputStream() throws IOException
IOException
public String getClusterInputString()
public org.apache.hadoop.fs.Path[] getInputPaths() throws IOException
IOException
public ClusterType.ClusterTypeOp getOtherInfoType()
getOtherInfoType
in class AbstractClusterQuantiserOptions
public Class<? extends SpatialClusters<?>> getClusterClass()
getClusterClass
in class AbstractClusterQuantiserOptions
public Class<SpatialClusters<?>> getOtherInfoClass()
getOtherInfoClass
in class AbstractClusterQuantiserOptions