|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.table.StreamStarTableWriter
uk.ac.starlink.fits.AbstractFitsTableWriter
uk.ac.starlink.fits.ColFitsTableWriter
public class ColFitsTableWriter
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.
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 Summary | |
---|---|
ColFitsTableWriter()
Default constructor. |
|
ColFitsTableWriter(String name,
WideFits wide)
Custom constructor. |
Method Summary | |
---|---|
protected FitsTableSerializer |
createSerializer(StarTable table)
Provides a suitable serializer for a given table. |
boolean |
looksLikeFile(String location)
Indicates whether the destination is of a familiar form for this kind of writer. |
Methods inherited from class uk.ac.starlink.fits.AbstractFitsTableWriter |
---|
addMetadata, getCurrentDate, getFormatName, getMimeType, setFormatName, writePrimaryHDU, writeStarTable, writeStarTables, writeStarTables, writeTableHDU |
Methods inherited from class uk.ac.starlink.table.StreamStarTableWriter |
---|
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.StarTableWriter |
---|
writeStarTable |
Constructor Detail |
---|
public ColFitsTableWriter()
public ColFitsTableWriter(String name, WideFits wide)
name
- writer namewide
- convention for representing over-wide tables;
null to avoid this conventionMethod Detail |
---|
public boolean looksLikeFile(String location)
StarTableWriter
location
- the location name (probably filename)
protected FitsTableSerializer createSerializer(StarTable table) throws IOException
AbstractFitsTableWriter
createSerializer
in class AbstractFitsTableWriter
table
- table to serialize
IOException
- if the table can't be written
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |