Class TapWriter

java.lang.Object
uk.ac.starlink.ttools.example.TapWriter

public class TapWriter extends Object
Writes SQL ResultSets to VOTable with the INFO elements appropriate for TAP output. It's all streamed, so no appreciable amount of memory should be required, and a maximum record count can be imposed.
Since:
5 Feb 2013
Author:
Mark Taylor
  • Constructor Details

    • TapWriter

      public TapWriter(uk.ac.starlink.votable.DataFormat dfmt, uk.ac.starlink.votable.VOTableVersion version, long maxrec)
      Constructor.
      Parameters:
      dfmt - selects VOTable serialization format (TABLEDATA, BINARY, BINARY2, FITS)
      version - selects VOTable version
      maxrec - maximum record count before overflow; negative value means no limit
  • Method Details