public class VariableFitsTableSerializer extends StandardFitsTableSerializer
| Constructor and Description |
|---|
VariableFitsTableSerializer(FitsTableSerializerConfig config,
StarTable table,
StoragePolicy storagePolicy)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CardImage[] |
getHeader()
Returns header cards 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(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 IOException
config - FITS configurationtable - table to writestoragePolicy - policy for acquiring byte array scratch buffersIOException - if it won't be possible to write the given tablepublic void set64BitMode(boolean useQ)
useQ - true for Q, false for Ppublic CardImage[] getHeader()
FitsTableSerializergetHeader in interface FitsTableSerializergetHeader in class StandardFitsTableSerializerpublic void writeData(DataOutput out) throws IOException
FitsTableSerializerwriteData in interface FitsTableSerializerwriteData in class StandardFitsTableSerializerout - destination streamIOExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.