Class ColFitsTableBuilder
java.lang.Object
uk.ac.starlink.table.formats.DocumentedTableBuilder
uk.ac.starlink.fits.ColFitsTableBuilder
- All Implemented Interfaces:
uk.ac.starlink.table.Documented, uk.ac.starlink.table.formats.DocumentedIOHandler, uk.ac.starlink.table.TableBuilder
public class ColFitsTableBuilder
extends uk.ac.starlink.table.formats.DocumentedTableBuilder
Implementation of the
TableBuilder interface which reads
tables stored in 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.
- Since:
- 26 Jun 2006
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanImport(DataFlavor flavor) booleanbooleanuk.ac.starlink.table.StarTablemakeStarTable(uk.ac.starlink.util.DataSource datsrc, boolean wantRandom, uk.ac.starlink.table.StoragePolicy storagePolicy) voidstreamStarTable(InputStream in, uk.ac.starlink.table.TableSink sink, String pos) Methods inherited from class uk.ac.starlink.table.formats.DocumentedTableBuilder
getExtensions, looksLikeFileMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface uk.ac.starlink.table.formats.DocumentedIOHandler
readText
-
Constructor Details
-
ColFitsTableBuilder
public ColFitsTableBuilder()Default constructor. -
ColFitsTableBuilder
Constructor.- Parameters:
wide- convention for representing extended columns; use null to avoid use of extended columns
-
-
Method Details
-
getFormatName
-
streamStarTable
public void streamStarTable(InputStream in, uk.ac.starlink.table.TableSink sink, String pos) throws uk.ac.starlink.table.TableFormatException - Throws:
uk.ac.starlink.table.TableFormatException
-
canImport
-
makeStarTable
public uk.ac.starlink.table.StarTable makeStarTable(uk.ac.starlink.util.DataSource datsrc, boolean wantRandom, uk.ac.starlink.table.StoragePolicy storagePolicy) throws IOException - Throws:
IOException
-
canStream
public boolean canStream()- Specified by:
canStreamin classuk.ac.starlink.table.formats.DocumentedTableBuilder
-
docIncludesExample
public boolean docIncludesExample() -
getXmlDescription
-