ProcessingFilter
, ProcessingStep
public class CacheFilter extends BasicFilter implements ProcessingStep
StoragePolicy
).
This is useful for efficiency reasons if downstream steps are
going to make random-access or multiple use of an expensive step.Constructor | Description |
---|---|
CacheFilter() |
Modifier and Type | Method | Description |
---|---|---|
ProcessingStep |
createStep(java.util.Iterator argIt) |
Creates a new ProcessingStep based on a sequence of command-line
arguments.
|
protected java.lang.String[] |
getDescriptionLines() |
|
uk.ac.starlink.table.StarTable |
wrap(uk.ac.starlink.table.StarTable baseTable) |
Performs a table filtering step.
|
explainSyntax, getDescription, getName, getUsage
protected java.lang.String[] getDescriptionLines()
getDescriptionLines
in class BasicFilter
public ProcessingStep createStep(java.util.Iterator argIt)
ProcessingFilter
If the argument list is badly-formed as far as this filter is
concerned, an ArgException
should be thrown.
If its usageFrament
is blank, it will be filled in
later using this mode's usage text.
createStep
in interface ProcessingFilter
argIt
- iterator over command-line arguments positioned
at the first onepublic uk.ac.starlink.table.StarTable wrap(uk.ac.starlink.table.StarTable baseTable) throws java.io.IOException
ProcessingStep
wrap
in interface ProcessingStep
baseTable
- input tablejava.io.IOException
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.