public class VariableFitsTableSerializer extends StandardFitsTableSerializer
Constructor and Description |
---|
VariableFitsTableSerializer(uk.ac.starlink.table.StarTable table,
uk.ac.starlink.table.StoragePolicy storagePolicy,
boolean allowSignedByte)
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, getDimensions, getFormatChar, getRowCount
public VariableFitsTableSerializer(uk.ac.starlink.table.StarTable table, uk.ac.starlink.table.StoragePolicy storagePolicy, boolean allowSignedByte) throws java.io.IOException
table
- table to writestoragePolicy
- policy for acquiring byte array scratch buffersallowSignedByte
- if true, bytes written as FITS signed bytes
(TZERO=-128), if false bytes written as signed shortsjava.io.IOException
public void set64BitMode(boolean useQ)
useQ
- true for Q, false for Ppublic nom.tam.fits.Header getHeader() throws nom.tam.fits.HeaderCardException
FitsTableSerializer
getHeader
in interface FitsTableSerializer
getHeader
in class StandardFitsTableSerializer
nom.tam.fits.HeaderCardException
public void writeData(java.io.DataOutput out) throws java.io.IOException
FitsTableSerializer
writeData
in interface FitsTableSerializer
writeData
in class StandardFitsTableSerializer
out
- destination streamjava.io.IOException
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.