uk.ac.starlink.ttools.task
Interface TapResultProducer


public interface TapResultProducer

Object which can get the output table from a TapQuery.

Since:
23 Feb 2011
Author:
Mark Taylor

Method Summary
 StarTable waitForResult(UwsJob tapJob)
          Waits until the TAP query has completed, and then either returns the output table or throws an appropriate error.
 

Method Detail

waitForResult

StarTable waitForResult(UwsJob tapJob)
                        throws IOException
Waits until the TAP query has completed, and then either returns the output table or throws an appropriate error.

Parameters:
tapJob - UWS job representing an async TAP query
Returns:
table result
Throws:
InterruptedIOException - if the wait is interrupted
IOException - if the query ended in error status or some other error occurred during TAP communications


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