|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.jel.DVMap
uk.ac.starlink.ttools.jel.JELRowReader
uk.ac.starlink.ttools.jel.TablelessJELRowReader
public class TablelessJELRowReader
JELRowReader implementation which has no columns. It does not inherit from StarTableJELRowReader. All methods referring to columns throw an UnsupportedOperationException, but since there are no columns, they should never be invoked.
Field Summary |
---|
Fields inherited from class uk.ac.starlink.ttools.jel.JELRowReader |
---|
COLUMN_ID_CHAR, NULL_QUERY_PREFIX |
Constructor Summary | |
---|---|
TablelessJELRowReader()
Constructor. |
Method Summary | |
---|---|
protected boolean |
getBooleanColumnValue(int icol)
Returns a boolean value for a cell of the current row. |
protected byte |
getByteColumnValue(int icol)
Returns a byte value for a cell of the current row. |
protected char |
getCharColumnValue(int icol)
Returns a char value for a cell of the current row. |
protected Class |
getColumnClass(int icol)
Returns the class of values returned by a given column. |
protected int |
getColumnIndexByName(String name)
Returns the column index of a column in the row given its name. |
protected Constant |
getConstantByName(String name)
Returns a constant value for this reader given its name. |
protected double |
getDoubleColumnValue(int icol)
Returns a double value for a cell of the current row. |
protected float |
getFloatColumnValue(int icol)
Returns a float value for a cell of the current row. |
protected int |
getIntColumnValue(int icol)
Returns a int value for a cell of the current row. |
protected long |
getLongColumnValue(int icol)
Returns a long value for a cell of the current row. |
protected Object |
getObjectColumnValue(int icol)
Returns an Object value for a cell of the current row. |
protected short |
getShortColumnValue(int icol)
Returns a short value for a cell of the current row. |
protected boolean |
isBlank(int icol)
Indicates whether the value in a given column is null. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TablelessJELRowReader()
Method Detail |
---|
protected Class getColumnClass(int icol)
JELRowReader
getColumnClass
in class JELRowReader
icol
- column index
protected int getColumnIndexByName(String name)
JELRowReader
name
does not refer to any known column, return -1.
getColumnIndexByName
in class JELRowReader
name
- column name
protected Constant getConstantByName(String name)
JELRowReader
getConstantByName
in class JELRowReader
name
- constant name
protected boolean getBooleanColumnValue(int icol)
JELRowReader
JELRowReader.foundNull()
(and return any value) if the result
is null.
getBooleanColumnValue
in class JELRowReader
icol
- column index
protected byte getByteColumnValue(int icol)
JELRowReader
JELRowReader.foundNull()
(and return any value) if the result
is null.
getByteColumnValue
in class JELRowReader
icol
- column index
protected char getCharColumnValue(int icol)
JELRowReader
JELRowReader.foundNull()
(and return any value) if the result
is null.
getCharColumnValue
in class JELRowReader
icol
- column index
protected short getShortColumnValue(int icol)
JELRowReader
JELRowReader.foundNull()
(and return any value) if the result
is null.
getShortColumnValue
in class JELRowReader
icol
- column index
protected int getIntColumnValue(int icol)
JELRowReader
JELRowReader.foundNull()
(and return any value) if the result
is null.
getIntColumnValue
in class JELRowReader
icol
- column index
protected long getLongColumnValue(int icol)
JELRowReader
JELRowReader.foundNull()
(and return any value) if the result
is null.
getLongColumnValue
in class JELRowReader
icol
- column index
protected Object getObjectColumnValue(int icol)
JELRowReader
getObjectColumnValue
in class JELRowReader
icol
- column index
protected float getFloatColumnValue(int icol)
JELRowReader
JELRowReader.foundNull()
(and return any value) if the result
is null.
getFloatColumnValue
in class JELRowReader
icol
- column index
protected double getDoubleColumnValue(int icol)
JELRowReader
JELRowReader.foundNull()
(and return any value) if the result
is null.
getDoubleColumnValue
in class JELRowReader
icol
- column index
protected boolean isBlank(int icol)
JELRowReader
isBlank
in class JELRowReader
icol
- column index
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |