Interface ICompressColumnParameter
- All Superinterfaces:
ICompressParameter
- All Known Implementing Classes:
CompressColumnParameter
,ZBlankColumnParameter
(for internal use) Compression parameters that are stored in the table along with the compressed data. Each parameter is associated to a comlumn in the table, and the parameter takes the value that is stored in the same row as the compressed data themselves.
It is possible to make independent copies of a set of such parameters, e.g. for parallel processing. In such cases all copies share their underlying column data with the original, so changing the sotrage array of column data in either the original or any of its decendants will affect the original and all decendans equally.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Object
column()
Deprecated.Provided for back compatibility only.default void
Deprecated.Provided for back compatibility only.Returns the data column, in which each entry stores the parameter value for the compressed data of the corresponding row in the table.void
getValueFromColumn
(int index) Updates the associated compression options to use the parameter value defined to the compressed tile of the specified index.default Object
Deprecated.Provided for back compatibility only.void
setColumnData
(Object column, int size) Sets new parameter data for each compressed row to be stored along as a separate parameter column in the compressed table.default void
setValueFromColumn
(int index) Deprecated.Provided for back compatibility only.void
setValueInColumn
(int index) Stores the current parameter value of the associated compression options for the tile of the specified index.Methods inherited from interface nom.tam.fits.compression.provider.param.api.ICompressParameter
getName
-
Method Details
-
getColumnData
Object getColumnData()Returns the data column, in which each entry stores the parameter value for the compressed data of the corresponding row in the table.- Returns:
- The array that contains the data for each compressed row.
- Since:
- 1.18
- See Also:
-
column
Deprecated.Provided for back compatibility only. UsegetColumnData()
instead.- Returns:
- The array that contains the data for each compressed row.
-
initializedColumn
Deprecated.Provided for back compatibility only. UsegetColumnData()
instead.- Returns:
- The array that contains the data for each compressed row.
-
setColumnData
Sets new parameter data for each compressed row to be stored along as a separate parameter column in the compressed table. To discard prior column data with no replacement, you can call this assetColumnData(null, 0)
.- Parameters:
column
- The array that contains the data for each compressed row. If notnull
thesize
parameter is ignored, and the size of the array is used instead.size
- The number of compressed rows in the table, if thecolumn
argument isnull
. Ifsize
is zero or negative, any prior column data will be discarded andnull
will be set.- See Also:
-
column
Deprecated.Provided for back compatibility only. UsesetColumnData(Object, int)
instead.- Parameters:
column
- The array that contains the data for each compressed row. If notnull
thesize
parameter is ignored, and the size of the array is used instead.size
- The number of compressed rows in the table, if thecolumn
argument isnull
-
getValueFromColumn
void getValueFromColumn(int index) Updates the associated compression options to use the parameter value defined to the compressed tile of the specified index.- Parameters:
index
- the tile index, a.k.a. row index in the compressed data table.- See Also:
-
setValueInColumn
void setValueInColumn(int index) Stores the current parameter value of the associated compression options for the tile of the specified index.- Parameters:
index
- the tile index, a.k.a. row index in the compressed data table.- See Also:
-
setValueFromColumn
Deprecated.Provided for back compatibility only. UsesetValueInColumn(int)
instead.- Parameters:
index
- the tile index, a.k.a. row index in the compressed data table.
-