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, setFileTypeprotected HadoopClusterQuantiserOptions.MapperMode.MapperModeOp mapperModeOp
public HadoopClusterQuantiserOptions(String[] args) throws org.kohsuke.args4j.CmdLineException
org.kohsuke.args4j.CmdLineExceptionpublic HadoopClusterQuantiserOptions(String[] args, boolean beforeMaps) throws org.kohsuke.args4j.CmdLineException
org.kohsuke.args4j.CmdLineExceptionpublic String getInputFileString()
getInputFileString in class AbstractClusterQuantiserOptionspublic String getOutputFileString()
getOutputFileString in class AbstractClusterQuantiserOptionspublic void validate() throws org.kohsuke.args4j.CmdLineException
AbstractClusterQuantiserOptionsvalidate in class AbstractClusterQuantiserOptionsorg.kohsuke.args4j.CmdLineExceptionpublic static org.apache.hadoop.fs.FileSystem getFileSystem(URI uri) throws IOException
IOExceptionpublic static ClusterType.ClusterTypeOp sniffClusterType(String quantFile) throws IOException
IOExceptionpublic ClusterType.ClusterTypeOp getClusterType()
getClusterType in class AbstractClusterQuantiserOptionspublic static InputStream getClusterInputStream(String uriStr) throws IOException
IOExceptionpublic InputStream getClusterInputStream() throws IOException
IOExceptionpublic String getClusterInputString()
public org.apache.hadoop.fs.Path[] getInputPaths() throws IOException
IOExceptionpublic ClusterType.ClusterTypeOp getOtherInfoType()
getOtherInfoType in class AbstractClusterQuantiserOptionspublic Class<? extends SpatialClusters<?>> getClusterClass()
getClusterClass in class AbstractClusterQuantiserOptionspublic Class<SpatialClusters<?>> getOtherInfoClass()
getOtherInfoClass in class AbstractClusterQuantiserOptions