public class ColFitsTableWriter extends AbstractFitsTableWriter
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.
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 | Description |
---|---|
ColFitsTableWriter() |
Default constructor.
|
ColFitsTableWriter(java.lang.String name,
WideFits wide) |
Custom constructor.
|
Modifier and Type | Method | Description |
---|---|---|
protected FitsTableSerializer |
createSerializer(uk.ac.starlink.table.StarTable table) |
Provides a suitable serializer for a given table.
|
boolean |
looksLikeFile(java.lang.String location) |
addMetadata, getCurrentDate, getFormatName, getMimeType, setFormatName, writePrimaryHDU, writeStarTable, writeStarTables, writeStarTables, writeTableHDU
public ColFitsTableWriter()
public ColFitsTableWriter(java.lang.String name, WideFits wide)
name
- writer namewide
- convention for representing over-wide tables;
null to avoid this conventionpublic boolean looksLikeFile(java.lang.String location)
protected FitsTableSerializer createSerializer(uk.ac.starlink.table.StarTable table) throws java.io.IOException
AbstractFitsTableWriter
createSerializer
in class AbstractFitsTableWriter
table
- table to serializejava.io.IOException
- if the table can't be writtenCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.