uk.ac.starlink.votable.UnifiedFitsTableWriter
instead@Deprecated public class VariableFitsTableWriter extends AbstractFitsTableWriter
ColumnInfo.getShape()
is negative) will be written in the output FITS file using the
'P' or 'Q' data type specifier with the actual data written in the
BINTABLE extension heap - see the FITS document for details.
Any other columns will get written in just the same way as by the
FitsTableWriter
.
Strings and String arrays ('A' descriptor) are not currently written in variable-length form.
Constructor and Description |
---|
VariableFitsTableWriter()
Deprecated.
Constructs a writer with default characteristics.
|
VariableFitsTableWriter(Boolean longIndexing,
boolean allowSignedByte,
WideFits wide)
Deprecated.
allows some configuration options but not others;
use no-arg constructor and configuration methods instead
|
Modifier and Type | Method and Description |
---|---|
protected FitsTableSerializer |
createSerializer(StarTable table)
Deprecated.
Provides a suitable serializer for a given table.
|
Boolean |
getLongIndexing()
Deprecated.
Indicates whether this writer will use P or Q format descriptors
for writing variable-length arrays.
|
boolean |
looksLikeFile(String location)
Deprecated.
Always returns false.
|
void |
setLongIndexing(Boolean longIndexing)
Deprecated.
Sets whether this writer will use P or Q format descriptors
for writing variable-length arrays.
|
void |
setStoragePolicy(StoragePolicy storagePolicy)
Deprecated.
Sets the storage policy which will be used for temporary storage
during writing.
|
getAllowSignedByte, getAllowZeroLengthString, getConfig, getCurrentDate, getFormatName, getMetadataCards, getMimeType, getPadCharacter, getWide, getWriteDate, setAllowSignedByte, setAllowZeroLengthString, setFormatName, setPadCharacter, setWide, setWriteDate, writePrimaryHDU, writeStarTable, writeStarTables, writeStarTables, writeTableHDU
writeStarTable, writeStarTable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeStarTable
public VariableFitsTableWriter()
@Deprecated public VariableFitsTableWriter(Boolean longIndexing, boolean allowSignedByte, WideFits wide)
public void setStoragePolicy(StoragePolicy storagePolicy)
storagePolicy
- policy to usepublic void setLongIndexing(Boolean longIndexing)
longIndexing
- TRUE for 'Q' (64-bit) indexing into the heap,
FALSE for 'P' (32-bit) indexing into the heap,
null to make a sensible choicepublic Boolean getLongIndexing()
public boolean looksLikeFile(String location)
location
- the location name (probably filename)true
iff it looks like a file this writer would
normally writeprotected FitsTableSerializer createSerializer(StarTable table) throws IOException
AbstractFitsTableWriter
createSerializer
in class AbstractFitsTableWriter
table
- table to serializeIOException
- if the table can't be writtenCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.