public static class ResultWriter.Parameterizer extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
private Pattern |
filter
Result filter pattern.
|
static OptionID |
FILTER_PATTERN_ID
Pattern to filter the output
Key:
-out.filter
|
private boolean |
gzip
Whether or not to do gzip compression on output.
|
static OptionID |
GZIP_OUTPUT_ID
Flag to control GZIP compression.
|
private File |
out
Holds the file to print results to.
|
static OptionID |
OVERWRITE_OPTION_ID
Flag to suppress overwrite warning.
|
private boolean |
warnoverwrite
Whether or not to warn on overwrite
|
Constructor and Description |
---|
ResultWriter.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected ResultWriter |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID GZIP_OUTPUT_ID
Key: -out.gzip
public static final OptionID OVERWRITE_OPTION_ID
Key: -out.silentoverwrite
public static final OptionID FILTER_PATTERN_ID
Key: -out.filter
private File out
private boolean gzip
private boolean warnoverwrite
private Pattern filter
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected ResultWriter makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.