Package uk.ac.starlink.votable
Class ColFitsPlusTableWriter
java.lang.Object
uk.ac.starlink.table.StreamStarTableWriter
uk.ac.starlink.fits.AbstractFitsTableWriter
uk.ac.starlink.votable.VOTableFitsTableWriter
uk.ac.starlink.votable.ColFitsPlusTableWriter
- All Implemented Interfaces:
uk.ac.starlink.table.Documented
,uk.ac.starlink.table.formats.DocumentedIOHandler
,uk.ac.starlink.table.MultiStarTableWriter
,uk.ac.starlink.table.StarTableWriter
@Deprecated
public class ColFitsPlusTableWriter
extends VOTableFitsTableWriter
implements uk.ac.starlink.table.formats.DocumentedIOHandler
Deprecated.
Handles writing of a
StarTable
in a column-oriented
FITS binary table format.
The table data is stored in a BINTABLE extension which has a single row;
each cell in this row contains the data for an entire column of the
represented table. The primary HDU is a byte array containing a
VOTable representation of the table metadata, as for
FitsPlusTableWriter
.
This rather specialised format may provide good performance for certain operations on very large, especially very wide, tables. Although it is FITS and can therefore be used in principle for data interchange, in practice most non-STIL processors are unlikely to be able to do much useful with it.
- Since:
- 21 Jun 2006
- Author:
- Mark Taylor
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Default constructor.ColFitsPlusTableWriter
(String name, uk.ac.starlink.fits.WideFits wide) Deprecated.allows some configuration options but not others; use no-arg constructor and configuration methods instead -
Method Summary
Modifier and TypeMethodDescriptionprotected uk.ac.starlink.fits.FitsTableSerializer
createSerializer
(uk.ac.starlink.table.StarTable table) Deprecated.boolean
Deprecated.protected uk.ac.starlink.fits.CardImage[]
Deprecated.Returns implementation-specific header cards to be added to the Primary HDU of FITS files written by this writer.String[]
Deprecated.Deprecated.protected boolean
Deprecated.Tests a header card to see if it looks like part of the magic number for the format written by this handler.boolean
looksLikeFile
(String location) Deprecated.Methods inherited from class uk.ac.starlink.votable.VOTableFitsTableWriter
isMagic, setAllowSignedByte, setVotableVersion, writeStarTables
Methods inherited from class uk.ac.starlink.fits.AbstractFitsTableWriter
getAllowSignedByte, getAllowZeroLengthString, getConfig, getCurrentDate, getFormatName, getMetadataCards, getMimeType, getPadCharacter, getWide, getWriteDate, setAllowZeroLengthString, setFormatName, setPadCharacter, setWide, setWriteDate, writePrimaryHDU, writeStarTable, writeStarTables, writeTableHDU
Methods inherited from class uk.ac.starlink.table.StreamStarTableWriter
writeStarTable, writeStarTable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface uk.ac.starlink.table.formats.DocumentedIOHandler
readText
Methods inherited from interface uk.ac.starlink.table.StarTableWriter
writeStarTable
-
Constructor Details
-
ColFitsPlusTableWriter
public ColFitsPlusTableWriter()Deprecated.Default constructor. -
ColFitsPlusTableWriter
Deprecated.allows some configuration options but not others; use no-arg constructor and configuration methods insteadDeprecated custom constructor.
-
-
Method Details
-
getExtensions
Deprecated.- Specified by:
getExtensions
in interfaceuk.ac.starlink.table.formats.DocumentedIOHandler
-
looksLikeFile
Deprecated.- Specified by:
looksLikeFile
in interfaceuk.ac.starlink.table.StarTableWriter
-
docIncludesExample
public boolean docIncludesExample()Deprecated.- Specified by:
docIncludesExample
in interfaceuk.ac.starlink.table.formats.DocumentedIOHandler
-
getXmlDescription
Deprecated.- Specified by:
getXmlDescription
in interfaceuk.ac.starlink.table.Documented
-
getCustomPrimaryHeaderCards
protected uk.ac.starlink.fits.CardImage[] getCustomPrimaryHeaderCards()Deprecated.Description copied from class:VOTableFitsTableWriter
Returns implementation-specific header cards to be added to the Primary HDU of FITS files written by this writer.- Specified by:
getCustomPrimaryHeaderCards
in classVOTableFitsTableWriter
- Returns:
- header cards
-
isMagic
Deprecated.Description copied from class:VOTableFitsTableWriter
Tests a header card to see if it looks like part of the magic number for the format written by this handler. TheVOTableFitsTableWriter
implementation tests that the first four cards read:SIMPLE = T BITPIX = 8 NAXIS = 1 NAXIS1 = ???
Subclasses may override this to add tests for later cards (as provided byVOTableFitsTableWriter.getCustomPrimaryHeaderCards()
).- Overrides:
isMagic
in classVOTableFitsTableWriter
- Parameters:
icard
- 0-based card indexkey
- card namevalue
- card value- Returns:
- true iff the presented card is one that could have been written by this writer
-
createSerializer
protected uk.ac.starlink.fits.FitsTableSerializer createSerializer(uk.ac.starlink.table.StarTable table) throws IOException Deprecated.- Specified by:
createSerializer
in classuk.ac.starlink.fits.AbstractFitsTableWriter
- Throws:
IOException
-
UnifiedFitsTableWriter
instead