public class WrapperColumn extends ColumnData
| Constructor and Description |
|---|
WrapperColumn(ColumnData base)
Initialises a new WrapperColumn based on a base column.
|
| Modifier and Type | Method and Description |
|---|---|
ColumnData |
getBaseColumn()
Returns the column on which this one is based.
|
boolean |
isWritable()
Indicates whether this object can store values.
|
Object |
readValue(long irow)
Returns the value stored at a given row in this column.
|
void |
storeValue(long irow,
Object val)
Stores a given value in a given row for this column.
|
getColumnInfo, setColumnInfopublic WrapperColumn(ColumnData base)
base - the base columnpublic Object readValue(long irow) throws IOException
ColumnDatareadValue in class ColumnDatairow - the row from which to retrieve the valueirowIOException - if there is some problem readingpublic void storeValue(long irow,
Object val)
throws IOException
ColumnDataisWritable method returns true.
The implementation in the ColumnData class throws
an UnsupportedOperationException.storeValue in class ColumnDatairow - the row to store it inval - the object to storeIOException - if there is some problem writingpublic boolean isWritable()
ColumnDataColumnData class returns
falseisWritable in class ColumnDataColumnData.storeValue(long, java.lang.Object) can be usedpublic ColumnData getBaseColumn()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.