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, writeDataOnly
public 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()
FitsTableSerializer
getHeader
in interface FitsTableSerializer
getHeader
in class StandardFitsTableSerializer
public void writeData(DataOutput out) throws IOException
FitsTableSerializer
writeData
in interface FitsTableSerializer
writeData
in class StandardFitsTableSerializer
out
- destination streamIOException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.