Package uk.ac.starlink.ttools.task
Class TapResultReader
java.lang.Object
uk.ac.starlink.ttools.task.TapResultReader
Aggregates parameters used for recovering and delivering the result
of a TAP query.
- Since:
- 23 Feb 2011
- Author:
- Mark Taylor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Enumeration of UWS job deletion modes. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateResultProducer
(uk.ac.starlink.task.Environment env, uk.ac.starlink.util.ContentCoding coding) Returns an object which can acquire a table from a TAP query object.uk.ac.starlink.task.Parameter
<TapResultReader.DeleteMode> Returns the parameter used to acquire the deletion mode for async queries.uk.ac.starlink.task.Parameter<?>[]
Returns the parameters associated with this object.uk.ac.starlink.task.BooleanParameter
Returns the parameter which indicates whether progress should be logged to the user.
-
Constructor Details
-
TapResultReader
public TapResultReader()Constructor.
-
-
Method Details
-
getParameters
public uk.ac.starlink.task.Parameter<?>[] getParameters()Returns the parameters associated with this object.- Returns:
- parameters
-
getProgressParameter
public uk.ac.starlink.task.BooleanParameter getProgressParameter()Returns the parameter which indicates whether progress should be logged to the user.- Returns:
- progress parameter
-
getDeleteParameter
Returns the parameter used to acquire the deletion mode for async queries.- Returns:
- deletion mode parameter
-
createResultProducer
public TapResultProducer createResultProducer(uk.ac.starlink.task.Environment env, uk.ac.starlink.util.ContentCoding coding) throws uk.ac.starlink.task.TaskException Returns an object which can acquire a table from a TAP query object.- Parameters:
env
- execution environmentcoding
- configures HTTP compression- Returns:
- TAP table producer
- Throws:
uk.ac.starlink.task.TaskException
-