Serialized Form
-
Package adql.db
-
Class adql.db.SearchColumnList
class SearchColumnList extends cds.utils.TextualSearchList<DBColumn> implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
distinct
boolean distinct
Indicates whether multiple occurrences are allowed. -
mapAliases
Map<String,
List<String>> mapAliases Case-insensitive dictionary of table aliases. (tablealias invalid input: '<'-> List<TableName>) -
tableAliases
Map<String,
String> tableAliases Case-sensitive dictionary of table aliases. (tableAlias invalid input: '<'-> TableName)
-
-
Class adql.db.SearchTableList
class SearchTableList extends cds.utils.TextualSearchList<DBTable> implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
distinct
boolean distinct
Indicates whether multiple occurrences are allowed.
-
-
-
Package adql.db.exception
-
Exception Class adql.db.exception.UnresolvedColumnException
class UnresolvedColumnException extends ParseException implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
columnName
String columnName
-
-
Exception Class adql.db.exception.UnresolvedFunctionException
class UnresolvedFunctionException extends ParseException implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
functionInError
ADQLFunction functionInError
Function which can not be resolved.
-
-
Exception Class adql.db.exception.UnresolvedIdentifiersException
class UnresolvedIdentifiersException extends ParseException implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
exceptions
ArrayList<ParseException> exceptions
List of exceptions (one per unresolved identifier). -
itemNature
String itemNature
Type of the unresolved/unsupported items listed in this exception.Examples:
unresolved identifier
(default),unsupported expression
- Since:
- 2.0
-
unresolvedIdentifiers
String unresolvedIdentifiers
-
-
Exception Class adql.db.exception.UnresolvedJoinException
class UnresolvedJoinException extends ParseException implements Serializable- serialVersionUID:
- 1L
-
Exception Class adql.db.exception.UnresolvedTableException
class UnresolvedTableException extends ParseException implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
tableName
String tableName
-
-
Exception Class adql.db.exception.UnsupportedFeatureException
class UnsupportedFeatureException extends ParseException implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
unsupportedExpression
ADQLObject unsupportedExpression
Function which can not be resolved.
-
-
-
Package adql.parser.grammar
-
Exception Class adql.parser.grammar.ParseException
class ParseException extends Exception implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
currentToken
Token currentToken
This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token following this token will (therefore) be the first error token. -
expectedTokenSequences
int[][] expectedTokenSequences
Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse. -
position
TextPosition position
Line in the ADQL query where the exception occurs. -
tokenImage
String[] tokenImage
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.
-
-
Class adql.parser.grammar.Token
class Token extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
adqlReserved
boolean adqlReserved
Indicate whether this token is a reserved keyword in the current version of the ADQL language.Implementation note: This piece of information is just used to add a hint in ParseException's messages.
- Since:
- 2.0
-
adqlVersion
ADQLParser.ADQLVersion adqlVersion
Give the version of the ADQL language.Implementation note: This piece of information is used just for more clarity in ParseException's messages.
- Since:
- 2.0
-
beginColumn
int beginColumn
The column number of the first character of this Token. -
beginLine
int beginLine
The line number of the first character of this Token. -
endColumn
int endColumn
The column number of the last character of this Token. -
endLine
int endLine
The line number of the last character of this Token. -
image
String image
The string image of the token. -
isFunctionName
boolean isFunctionName
Indicate whether this token is a reserved ADQL function name.Implementation note: This piece of information is just used when attempting to fix an ADQL query.
- Since:
- 2.0
-
kind
int kind
An integer that describes the kind of this token. This numbering system is determined by JavaCCParser, and a table of these numbers is stored in the file ...Constants.java. -
next
Token next
A reference to the next regular (non-special) token from the input stream. If this is the last token from the input stream, or if the token manager has not read tokens beyond this one, this field is set to null. This is true only if this token is also a regular token. Otherwise, see below for a description of the contents of this field. -
specialToken
Token specialToken
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token. If there are no such special tokens, this field is set to null. When there are more than one such special token, this field refers to the last of these special tokens, which in turn refers to the next previous special token through its specialToken field, and so on until the first special token (whose specialToken field is null). The next fields of special tokens refer to other special tokens that immediately follow it (without an intervening regular token). If there is no such token, this field is null. -
sqlReserved
boolean sqlReserved
Indicate whether this token is a reserved keyword in the current version of the ADQL language because it is a valid keyword in SQL (and may have unexpected behavior if used because not explicitly defined in ADQL).Implementation note: This piece of information is just used to add a hint in ParseException's messages.
- Since:
- 2.0
-
-
Exception Class adql.parser.grammar.TokenMgrError
class TokenMgrError extends Error implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
errorCode
int errorCode
Indicates the reason why the exception is thrown. It will have one of the above 4 values. -
errorColumn
int errorColumn
Indicates the column at which the error occurs. -
errorLine
int errorLine
Indicates the line at which the error occurs.
-
-
-
Package adql.translator
-
Exception Class adql.translator.TranslationException
class TranslationException extends Exception implements Serializable- serialVersionUID:
- 1L
-