Interface TapResultProducer


  • public interface TapResultProducer
    Object which can get the output table from a TapQuery.
    Since:
    23 Feb 2011
    Author:
    Mark Taylor
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      uk.ac.starlink.table.StarTable waitForResult​(uk.ac.starlink.vo.UwsJob tapJob)
      Waits until the TAP query has completed, and then either returns the output table or throws an appropriate error.
    • Method Detail

      • waitForResult

        uk.ac.starlink.table.StarTable waitForResult​(uk.ac.starlink.vo.UwsJob tapJob)
                                              throws java.io.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:
        java.io.InterruptedIOException - if the wait is interrupted
        java.io.IOException - if the query ended in error status or some other error occurred during TAP communications