uk.ac.starlink.ttools.task
Class InputTableSpec

java.lang.Object
  extended by uk.ac.starlink.ttools.task.InputTableSpec

public abstract class InputTableSpec
extends Object

Provides the specifications for a single input table.

Since:
29 Sep 2006
Author:
Mark Taylor

Constructor Summary
InputTableSpec(String loc, ProcessingStep[] steps)
          Constructor.
 
Method Summary
static InputTableSpec createSpec(String loc, ProcessingStep[] steps, StarTable table)
          Returns an InputTableSpec with a fixed table value.
abstract  StarTable getInputTable()
          Returns input table.
 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.
 StarTable getWrappedTable()
          Returns the input table processed by all of the accumulated processing steps associated with this spec.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputTableSpec

public InputTableSpec(String loc,
                      ProcessingStep[] steps)
Constructor.

Parameters:
loc - original table location
steps - processing pipeline
Method Detail

getInputTable

public abstract StarTable getInputTable()
                                 throws TaskException
Returns input table.

Returns:
input table
Throws:
TaskException

getSteps

public ProcessingStep[] getSteps()
Returns the array of processing steps which constitutes the processing pipeline.

Returns:
processing pipeline steps

getLocation

public String getLocation()
Returns input table location as specified in the parameter value.

Returns:
input table location

getWrappedTable

public StarTable getWrappedTable()
                          throws IOException,
                                 TaskException
Returns the input table processed by all of the accumulated processing steps associated with this spec.

Returns:
pre-processed table
Throws:
IOException
TaskException

createSpec

public static InputTableSpec createSpec(String loc,
                                        ProcessingStep[] steps,
                                        StarTable table)
Returns an InputTableSpec with a fixed table value.

Parameters:
loc - original table location
steps - processing pipeline
table - input table
Returns:
new table spec


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.