UnifiedFitsTableWriter
instead@Deprecated public class ColFitsPlusTableWriter extends VOTableFitsTableWriter implements DocumentedIOHandler
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.
Constructor and Description |
---|
ColFitsPlusTableWriter()
Deprecated.
Default constructor.
|
ColFitsPlusTableWriter(String name,
WideFits wide)
Deprecated.
allows some configuration options but not others;
use no-arg constructor and configuration methods instead
|
Modifier and Type | Method and Description |
---|---|
protected FitsTableSerializer |
createSerializer(StarTable table)
Deprecated.
Provides a suitable serializer for a given table.
|
boolean |
docIncludesExample()
Deprecated.
Indicates whether the serialization of some (short) example table
should be added to the user documentation for this handler.
|
protected CardImage[] |
getCustomPrimaryHeaderCards()
Deprecated.
Returns implementation-specific header cards to be added
to the Primary HDU of FITS files written by this writer.
|
String[] |
getExtensions()
Deprecated.
Returns the list of filename extensions recognised by this handler.
|
String |
getXmlDescription()
Deprecated.
Returns user-directed documentation in XML format.
|
protected boolean |
isMagic(int icard,
String key,
Object value)
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.
Indicates whether the destination is of a familiar form for this
kind of writer.
|
isMagic, setAllowSignedByte, setVotableVersion, writeStarTables
getAllowSignedByte, getAllowZeroLengthString, getConfig, getCurrentDate, getFormatName, getMetadataCards, getMimeType, getPadCharacter, getWide, getWriteDate, setAllowZeroLengthString, setFormatName, setPadCharacter, setWide, setWriteDate, writePrimaryHDU, writeStarTable, writeStarTables, writeTableHDU
writeStarTable, writeStarTable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
matchesExtension, readText, toLink
writeStarTable
public ColFitsPlusTableWriter()
@Deprecated public ColFitsPlusTableWriter(String name, WideFits wide)
public String[] getExtensions()
DocumentedIOHandler
getExtensions
in interface DocumentedIOHandler
public boolean looksLikeFile(String location)
StarTableWriter
true
for values of location
which look like
the normal form for their output format, for instance one with
the usual file extension.looksLikeFile
in interface StarTableWriter
location
- the location name (probably filename)true
iff it looks like a file this writer would
normally writepublic boolean docIncludesExample()
DocumentedIOHandler
Documented.getXmlDescription()
method already includes some example output, should return false.docIncludesExample
in interface DocumentedIOHandler
public String getXmlDescription()
Documented
The output should be a sequence of one or more <P> elements, using XHTML-like XML. Since rendering may be done in a number of contexts however, use of the full range of XHTML elements is discouraged. Where possible, the content should stick to simple markup such as the elements P, A, UL, OL, LI, DL, DT, DD EM, STRONG, I, B, CODE, TT, PRE.
getXmlDescription
in interface Documented
protected CardImage[] getCustomPrimaryHeaderCards()
VOTableFitsTableWriter
getCustomPrimaryHeaderCards
in class VOTableFitsTableWriter
protected boolean isMagic(int icard, String key, Object value)
VOTableFitsTableWriter
VOTableFitsTableWriter
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 by
VOTableFitsTableWriter.getCustomPrimaryHeaderCards()
).isMagic
in class VOTableFitsTableWriter
icard
- 0-based card indexkey
- card namevalue
- card valueprotected FitsTableSerializer createSerializer(StarTable table) throws IOException
AbstractFitsTableWriter
createSerializer
in class AbstractFitsTableWriter
table
- table to serializeIOException
- if the table can't be writtenCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.