public class UnresolvedColumnException extends ParseException
DBChecker when a column does not exist
or whose the table reference is ambiguous.DBChecker,
Serialized FormcurrentToken, eol, expectedTokenSequences, position, tokenImage| Constructor | Description |
|---|---|
UnresolvedColumnException(ADQLColumn c) |
UNKNOWN COLUMN
|
UnresolvedColumnException(ADQLColumn c,
java.lang.String col1,
java.lang.String col2) |
AMBIGUOUS COLUMN NAME
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getColumnName() |
|
protected void |
initPosition(ADQLColumn c) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPositionpublic UnresolvedColumnException(ADQLColumn c)
UNKNOWN COLUMN
Builds the exception with an ADQLColumn which does not exist.
c - The unresolved ADQLColumn.public UnresolvedColumnException(ADQLColumn c, java.lang.String col1, java.lang.String col2)
AMBIGUOUS COLUMN NAME
Builds the exception with an ADQLColumn which does not have a table reference AND which may come from more than one table
OR with an ADQLColumn which may reference more than one column in the table.
c - The ambiguous ADQLColumn.col1 - First possibility.col2 - A second possibility.protected final void initPosition(ADQLColumn c)
public final java.lang.String getColumnName()