Package uk.ac.starlink.ttools.task
Class InputTableSpec
java.lang.Object
uk.ac.starlink.ttools.task.InputTableSpec
Provides the specifications for a single input table.
- Since:
- 29 Sep 2006
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InputTableSpec
createSpec
(String loc, ProcessingStep[] steps, uk.ac.starlink.table.StarTable table) Returns an InputTableSpec with a fixed table value.abstract uk.ac.starlink.table.StarTable
Returns input table.Returns input table location as specified in the parameter value.getSteps()
Returns the array of processing steps which constitutes the processing pipeline.uk.ac.starlink.table.StarTable
Returns the input table processed by all of the accumulated processing steps associated with this spec.
-
Constructor Details
-
InputTableSpec
Constructor.- Parameters:
loc
- original table locationsteps
- processing pipeline
-
-
Method Details
-
getInputTable
public abstract uk.ac.starlink.table.StarTable getInputTable() throws uk.ac.starlink.task.TaskExceptionReturns input table.- Returns:
- input table
- Throws:
uk.ac.starlink.task.TaskException
-
getSteps
Returns the array of processing steps which constitutes the processing pipeline.- Returns:
- processing pipeline steps
-
getLocation
Returns input table location as specified in the parameter value.- Returns:
- input table location
-
getWrappedTable
public uk.ac.starlink.table.StarTable getWrappedTable() throws IOException, uk.ac.starlink.task.TaskExceptionReturns the input table processed by all of the accumulated processing steps associated with this spec.- Returns:
- pre-processed table
- Throws:
IOException
uk.ac.starlink.task.TaskException
-
createSpec
public static InputTableSpec createSpec(String loc, ProcessingStep[] steps, uk.ac.starlink.table.StarTable table) Returns an InputTableSpec with a fixed table value.- Parameters:
loc
- original table locationsteps
- processing pipelinetable
- input table- Returns:
- new table spec
-