|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.ac.starlink.ttools.CacheFilter
Processing step which caches the current table in a disk or memory
cache (according to the default StoragePolicy
).
This is useful for efficiency reasons if downstream steps are
going to make random-access or multiple use of an expensive step.
Constructor Summary | |
CacheFilter()
|
Method Summary | |
ProcessingStep |
createStep(Iterator argIt)
Creates a new ProcessingStep based on a sequence of command-line arguments. |
String |
getFilterUsage()
Returns a usage string for this filter. |
String |
getName()
Returns the name of this filter. |
StarTable |
wrap(StarTable baseTable)
Performs a table filtering step. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CacheFilter()
Method Detail |
public String getName()
ProcessingFilter
getName
in interface ProcessingFilter
public String getFilterUsage()
ProcessingFilter
ProcessingFilter.createStep(java.util.Iterator)
.
getFilterUsage
in interface ProcessingFilter
public ProcessingStep createStep(Iterator argIt)
ProcessingFilter
createStep
in interface ProcessingFilter
argIt
- iterator over command-line arguments positioned
just after the -getName() flagpublic StarTable wrap(StarTable baseTable) throws IOException
ProcessingStep
wrap
in interface ProcessingStep
baseTable
- input table
IOException
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |