Uses of Class
adql.parser.ParseException
-
Packages that use ParseException Package Description adql.db adql.db.exception adql.parser adql.query.operand.function.geometry adql.translator -
-
Uses of ParseException in adql.db
Methods in adql.db that throw ParseException Modifier and Type Method Description static java.lang.String
STCS. buildCoordSysRegExp(java.lang.String[] allowedCoordSys)
Build a big regular expression gathering all of the given coordinate system syntaxes.void
DBChecker. check(ADQLQuery query)
Check all the columns, tables and UDFs references inside the given query.protected DBColumn
DBChecker. checkColumnReference(ColumnReference colRef, ClauseSelect select, SearchColumnList dbColumns)
Check whether the given column reference corresponds to a selected item (column or an expression with an alias) or to an existing column.protected DBColumn
DBChecker. checkGroupByItem(ADQLColumn col, ClauseSelect select, SearchColumnList dbColumns)
Check whether the given column corresponds to a selected item's alias or to an existing column.static DBTable
DBChecker. generateDBTable(ADQLQuery subQuery, java.lang.String tableName)
Generate aDBTable
corresponding to the given sub-query with the given table name.static FunctionDef
FunctionDef. parse(java.lang.String strDefinition)
Let parsing the serialized form of a function definition.static STCS.CoordSys
STCS. parseCoordSys(java.lang.String stcs)
Parse the given STC-S representation of a coordinate system.static STCS.Region
STCS. parseRegion(java.lang.String stcsRegion)
Parse the given STC-S expression representing a geometrical region.protected DBColumn
DBChecker. resolveColumn(ADQLColumn column, SearchColumnList dbColumns, java.util.Stack<SearchColumnList> fathersList)
Resolve the given column, that's to say search for the correspondingDBColumn
.protected DBTable
DBChecker. resolveTable(ADQLTable table)
Resolve the given table, that's to say search for the correspondingDBTable
.static java.lang.String
STCS. toSTCS(GeometryFunction region)
Convert into STC-S the given ADQL representation of a geometrical function.Constructors in adql.db that throw ParseException Constructor Description CoordSys(java.lang.String coordsys)
Build a coordinate system by parsing the given STC-S expression.DBChecker(java.util.Collection<? extends DBTable> tables, java.util.Collection<? extends FunctionDef> allowedUdfs, java.util.Collection<java.lang.String> allowedGeoFcts, java.util.Collection<java.lang.String> allowedCoordSys)
Builds aDBChecker
.DBChecker(java.util.Collection<? extends DBTable> tables, java.util.Collection<java.lang.String> allowedGeoFcts, java.util.Collection<java.lang.String> allowedCoordSys)
Builds aDBChecker
with the given list of known tables and with a restricted list of user defined functions.Region(GeometryFunction geometry)
Build a Region from the given ADQL representation. -
Uses of ParseException in adql.db.exception
Subclasses of ParseException in adql.db.exception Modifier and Type Class Description class
UnresolvedColumnException
This exception is thrown byDBChecker
when a column does not exist or whose the table reference is ambiguous.class
UnresolvedFunctionException
Exception thrown when a function can not be resolved by the library.class
UnresolvedIdentifiersException
This exception is thrown byDBChecker
when several columns or tables do not exist.class
UnresolvedJoinException
This exception is thrown when a table between 2 tables can not be resolved, and particularly because of the join condition (i.e.class
UnresolvedTableException
This exception is thrown byDBChecker
when a table does not exist or whose the schema reference is ambiguous.Fields in adql.db.exception with type parameters of type ParseException Modifier and Type Field Description protected java.util.ArrayList<ParseException>
UnresolvedIdentifiersException. exceptions
List of exceptions (one per unresolved identifier).Methods in adql.db.exception that return types with arguments of type ParseException Modifier and Type Method Description java.util.Iterator<ParseException>
UnresolvedIdentifiersException. getErrors()
Gets the list of all errors.java.util.Iterator<ParseException>
UnresolvedIdentifiersException. iterator()
Methods in adql.db.exception with parameters of type ParseException Modifier and Type Method Description void
UnresolvedIdentifiersException. addException(ParseException pe)
Adds aParseException
(supposed to be either anUnresolvedColumnException
or anUnresolvedTableException
). -
Uses of ParseException in adql.parser
Methods in adql.parser that return ParseException Modifier and Type Method Description ParseException
ADQLParser. generateParseException()
Generate ParseException.Methods in adql.parser that throw ParseException Modifier and Type Method Description Between
ADQLParser. BetweenEnd(ADQLOperand leftOp)
void
QueryChecker. check(ADQLQuery query)
Checks the givenADQLQuery
.ADQLColumn
ADQLParser. Column()
IdentifierItems
ADQLParser. ColumnName()
Extracts the name of a column with its possible catalog, schema and table prefixes.Comparison
ADQLParser. ComparisonEnd(ADQLOperand leftOp)
ClauseConstraints
ADQLParser. ConditionsList(ClauseConstraints clause)
ADQLConstraint
ADQLParser. Constraint()
ADQLOperand[]
ADQLParser. Coordinates()
ADQLOperand
ADQLParser. CoordinateSystem()
GeometryFunction
ADQLParser. ExtractCoordSys()
ADQLOperand
ADQLParser. Factor()
void
ADQLParser. From()
GeometryFunction.GeometryValue<GeometryFunction>
ADQLParser. GeometryExpression()
GeometryFunction
ADQLParser. GeometryFunction()
GeometryFunction
ADQLParser. GeometryValueFunction()
void
ADQLParser. GroupBy()
void
ADQLParser. Having()
IdentifierItems.IdentifierItem
ADQLParser. Identifier()
In
ADQLParser. InEnd(ADQLOperand leftOp)
FromContent
ADQLParser. JoinedTable()
ADQLJoin
ADQLParser. JoinSpecification(FromContent leftTable)
MathFunction
ADQLParser. MathFunction()
ADQLOperand
ADQLParser. NumericExpression()
ADQLFunction
ADQLParser. NumericFunction()
ADQLOperand
ADQLParser. NumericTerm()
ADQLOperand
ADQLParser. NumericValueExpressionPrimary()
void
ADQLParser. OrderBy()
ADQLOrder
ADQLParser. OrderItem()
ADQLQuery
ADQLParser. parseQuery()
Parses the query given at the creation of this parser or in the ReInit functions.ADQLQuery
ADQLParser. parseQuery(java.io.InputStream stream)
Parses the query contained in the stream given in parameter.ADQLQuery
ADQLParser. parseQuery(java.lang.String q)
Parses the query given in parameter.PointFunction
ADQLParser. Point()
ADQLConstraint
ADQLParser. Predicate()
ADQLQuery
ADQLParser. Query()
Parses the ADQL query given at the parser creation or in theADQLParser.ReInit(java.io.InputStream)
or in the parseQuery functions.ADQLQuery
ADQLParser. QueryExpression()
void
ADQLParser. Select()
SelectItem
ADQLParser. SelectItem()
NumericConstant
ADQLParser. SignedInteger()
FromContent
ADQLParser. SimpleTableRef()
SQLFunction
ADQLParser. SqlFunction()
StringConstant
ADQLParser. String()
ADQLOperand
ADQLParser. StringExpression()
ADQLOperand
ADQLParser. StringFactor()
ADQLOperand
ADQLParser. StringValueExpressionPrimary()
ADQLQuery
ADQLParser. SubQueryExpression()
IdentifierItems
ADQLParser. TableName()
Extracts the name of a table with its possible catalog and schema prefixes.FromContent
ADQLParser. TableRef()
void
ADQLParser. testRegularIdentifier(Token token)
Test the given token as an ADQL's regular identifier.MathFunction
ADQLParser. TrigFunction()
java.lang.String
ADQLParser. tryQuickFix(java.io.InputStream input)
Try fixing tokens/terms of the input ADQL query.java.lang.String
ADQLParser. tryQuickFix(java.lang.String adqlQuery)
Try fixing tokens/terms of the given ADQL query.NumericConstant
ADQLParser. UnsignedFloat()
NumericConstant
ADQLParser. UnsignedNumeric()
UserDefinedFunction
ADQLParser. UserDefinedFunction()
ADQLOperand
ADQLParser. ValueExpression()
void
ADQLParser. Where()
-
Uses of ParseException in adql.query.operand.function.geometry
Methods in adql.query.operand.function.geometry that throw ParseException Modifier and Type Method Description void
GeometryFunction. setCoordinateSystem(ADQLOperand coordSys)
Changes the coordinate system. -
Uses of ParseException in adql.translator
Methods in adql.translator that throw ParseException Modifier and Type Method Description STCS.Region
PgSphereTranslator.PgSphereGeometryParser. parseBox(java.lang.String pgsphereExpr)
Parse the given PgSphere geometry as a box.STCS.Region
PgSphereTranslator.PgSphereGeometryParser. parseCircle(java.lang.String pgsphereExpr)
Parse the given PgSphere geometry as a circle.STCS.Region
PgSphereTranslator.PgSphereGeometryParser. parsePoint(java.lang.String pgsphereExpr)
Parse the given PgSphere geometry as a point.STCS.Region
PgSphereTranslator.PgSphereGeometryParser. parsePolygon(java.lang.String pgsphereExpr)
Parse the given PgSphere geometry as a point.abstract STCS.Region
JDBCTranslator. translateGeometryFromDB(java.lang.Object jdbcColValue)
Parse the given JDBC column value as a geometry object and convert it into aSTCS.Region
.STCS.Region
MySQLTranslator. translateGeometryFromDB(java.lang.Object jdbcColValue)
STCS.Region
PgSphereTranslator. translateGeometryFromDB(java.lang.Object jdbcColValue)
STCS.Region
PostgreSQLTranslator. translateGeometryFromDB(java.lang.Object jdbcColValue)
STCS.Region
SQLServerTranslator. translateGeometryFromDB(java.lang.Object jdbcColValue)
abstract java.lang.Object
JDBCTranslator. translateGeometryToDB(STCS.Region region)
Convert the given STC region into a DB column value.java.lang.Object
MySQLTranslator. translateGeometryToDB(STCS.Region region)
java.lang.Object
PgSphereTranslator. translateGeometryToDB(STCS.Region region)
java.lang.Object
PostgreSQLTranslator. translateGeometryToDB(STCS.Region region)
java.lang.Object
SQLServerTranslator. translateGeometryToDB(STCS.Region region)
-