public class VariableFitsTableSerializer extends StandardFitsTableSerializer
| Constructor and Description |
|---|
VariableFitsTableSerializer(FitsTableSerializerConfig config,
StarTable table,
StoragePolicy storagePolicy)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
nom.tam.fits.Header |
getHeader()
Returns a header suitable for the HDU which will contain the table.
|
void |
set64BitMode(boolean useQ)
Sets whether this serializer should use
the 'P' descriptor (32-bit addressing into the heap) or
the 'Q' descriptor (64-bit addressing into the heap)
for variable-length array columns.
|
void |
writeData(java.io.DataOutput out)
Writes the HDU data for the table to an output stream.
|
getBadValue, getConfig, getDimensions, getFormatChar, getHealpixHeaders, getRowCount, writeDataOnlypublic VariableFitsTableSerializer(FitsTableSerializerConfig config, StarTable table, StoragePolicy storagePolicy) throws java.io.IOException
config - FITS configurationtable - table to writestoragePolicy - policy for acquiring byte array scratch buffersjava.io.IOException - if it won't be possible to write the given tablepublic void set64BitMode(boolean useQ)
useQ - true for Q, false for Ppublic nom.tam.fits.Header getHeader()
throws nom.tam.fits.HeaderCardException
FitsTableSerializergetHeader in interface FitsTableSerializergetHeader in class StandardFitsTableSerializernom.tam.fits.HeaderCardExceptionpublic void writeData(java.io.DataOutput out)
throws java.io.IOException
FitsTableSerializerwriteData in interface FitsTableSerializerwriteData in class StandardFitsTableSerializerout - destination streamjava.io.IOException