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.
|
java.lang.Object |
readValue(long irow)
Returns the value stored at a given row in this column.
|
void |
storeValue(long irow,
java.lang.Object val)
Stores a given value in a given row for this column.
|
getColumnInfo, setColumnInfopublic WrapperColumn(ColumnData base)
base - the base columnpublic java.lang.Object readValue(long irow)
throws java.io.IOException
ColumnDatareadValue in class ColumnDatairow - the row from which to retrieve the valueirowjava.io.IOException - if there is some problem readingpublic void storeValue(long irow,
java.lang.Object val)
throws java.io.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 storejava.io.IOException - 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()