public class SetParameterFilter extends BasicFilter
Constructor and Description |
---|
SetParameterFilter() |
Modifier and Type | Method and Description |
---|---|
ProcessingStep |
createStep(Iterator<String> argIt)
Creates a new ProcessingStep based on a sequence of command-line
arguments.
|
static Object |
evaluate(String expr,
StarTable table,
Class<?> clazz,
String type)
Evaluates an expression in the context of a table.
|
protected String[] |
getDescriptionLines() |
explainSyntax, getDescription, getName, getUsage
protected String[] getDescriptionLines()
getDescriptionLines
in class BasicFilter
public ProcessingStep createStep(Iterator<String> argIt) throws ArgException
ProcessingFilter
If the argument list is badly-formed as far as this filter is
concerned, an ArgException
should be thrown.
argIt
- iterator over command-line arguments positioned
at the first oneArgException
public static Object evaluate(String expr, StarTable table, Class<?> clazz, String type) throws IOException
expr
- expression to evaluatetable
- evaluation contextclazz
- required class of result, or null;
a primitive, rather than wrapper, class
should be supplied if availabletype
- user-supplied string corresponding to clazz, or null
(used for error messages only)IOException
Copyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.