Package uk.ac.starlink.ttools.task
Class InputTableSpec
- java.lang.Object
-
- uk.ac.starlink.ttools.task.InputTableSpec
-
public abstract class InputTableSpec extends java.lang.Object
Provides the specifications for a single input table.- Since:
- 29 Sep 2006
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description InputTableSpec(java.lang.String loc, ProcessingStep[] steps)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static InputTableSpec
createSpec(java.lang.String loc, ProcessingStep[] steps, uk.ac.starlink.table.StarTable table)
Returns an InputTableSpec with a fixed table value.abstract uk.ac.starlink.table.StarTable
getInputTable()
Returns input table.java.lang.String
getLocation()
Returns input table location as specified in the parameter value.ProcessingStep[]
getSteps()
Returns the array of processing steps which constitutes the processing pipeline.uk.ac.starlink.table.StarTable
getWrappedTable()
Returns the input table processed by all of the accumulated processing steps associated with this spec.
-
-
-
Constructor Detail
-
InputTableSpec
public InputTableSpec(java.lang.String loc, ProcessingStep[] steps)
Constructor.- Parameters:
loc
- original table locationsteps
- processing pipeline
-
-
Method Detail
-
getInputTable
public abstract uk.ac.starlink.table.StarTable getInputTable() throws uk.ac.starlink.task.TaskException
Returns input table.- Returns:
- input table
- Throws:
uk.ac.starlink.task.TaskException
-
getSteps
public ProcessingStep[] getSteps()
Returns the array of processing steps which constitutes the processing pipeline.- Returns:
- processing pipeline steps
-
getLocation
public java.lang.String getLocation()
Returns input table location as specified in the parameter value.- Returns:
- input table location
-
getWrappedTable
public uk.ac.starlink.table.StarTable getWrappedTable() throws java.io.IOException, uk.ac.starlink.task.TaskException
Returns the input table processed by all of the accumulated processing steps associated with this spec.- Returns:
- pre-processed table
- Throws:
java.io.IOException
uk.ac.starlink.task.TaskException
-
createSpec
public static InputTableSpec createSpec(java.lang.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
-
-