Uses of Class
adql.parser.ParseException
Packages that use ParseException
Package
Description
-
Uses of ParseException in adql.db
Methods in adql.db that throw ParseExceptionModifier and TypeMethodDescriptionstatic String
STCS.buildCoordSysRegExp
(String[] allowedCoordSys) Build a big regular expression gathering all of the given coordinate system syntaxes.final void
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, String tableName) Generate aDBTable
corresponding to the given sub-query with the given table name.static FunctionDef
Let parsing the serialized form of a function definition.static STCS.CoordSys
STCS.parseCoordSys
(String stcs) Parse the given STC-S representation of a coordinate system.static STCS.Region
STCS.parseRegion
(String stcsRegion) Parse the given STC-S expression representing a geometrical region.protected DBColumn
DBChecker.resolveColumn
(ADQLColumn column, SearchColumnList dbColumns, 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 String
STCS.toSTCS
(GeometryFunction region) Convert into STC-S the given ADQL representation of a geometrical function.Constructors in adql.db that throw ParseExceptionModifierConstructorDescriptionBuild a coordinate system by parsing the given STC-S expression.DBChecker
(Collection<? extends DBTable> tables, Collection<? extends FunctionDef> allowedUdfs, Collection<String> allowedGeoFcts, Collection<String> allowedCoordSys) Builds aDBChecker
.DBChecker
(Collection<? extends DBTable> tables, Collection<String> allowedGeoFcts, Collection<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.exceptionModifier and TypeClassDescriptionclass
This exception is thrown byDBChecker
when a column does not exist or whose the table reference is ambiguous.class
Exception thrown when a function can not be resolved by the library.class
This exception is thrown byDBChecker
when several columns or tables do not exist.class
This exception is thrown when a table between 2 tables can not be resolved, and particularly because of the join condition (i.e.class
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 ParseExceptionModifier and TypeFieldDescriptionprotected ArrayList<ParseException>
UnresolvedIdentifiersException.exceptions
List of exceptions (one per unresolved identifier).Methods in adql.db.exception that return types with arguments of type ParseExceptionModifier and TypeMethodDescriptionfinal Iterator<ParseException>
UnresolvedIdentifiersException.getErrors()
Gets the list of all errors.final Iterator<ParseException>
UnresolvedIdentifiersException.iterator()
Methods in adql.db.exception with parameters of type ParseExceptionModifier and TypeMethodDescriptionfinal 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 ParseExceptionMethods in adql.parser that throw ParseExceptionModifier and TypeMethodDescriptionfinal Between
ADQLParser.BetweenEnd
(ADQLOperand leftOp) void
Checks the givenADQLQuery
.final ADQLColumn
ADQLParser.Column()
final IdentifierItems
ADQLParser.ColumnName()
Extracts the name of a column with its possible catalog, schema and table prefixes.final Comparison
ADQLParser.ComparisonEnd
(ADQLOperand leftOp) final ClauseConstraints
ADQLParser.ConditionsList
(ClauseConstraints clause) final ADQLConstraint
ADQLParser.Constraint()
final ADQLOperand[]
ADQLParser.Coordinates()
final ADQLOperand
ADQLParser.CoordinateSystem()
final GeometryFunction
ADQLParser.ExtractCoordSys()
final ADQLOperand
ADQLParser.Factor()
final void
ADQLParser.From()
ADQLParser.GeometryExpression()
final GeometryFunction
ADQLParser.GeometryFunction()
final GeometryFunction
ADQLParser.GeometryValueFunction()
final void
ADQLParser.GroupBy()
final void
ADQLParser.Having()
ADQLParser.Identifier()
final In
ADQLParser.InEnd
(ADQLOperand leftOp) final FromContent
ADQLParser.JoinedTable()
final ADQLJoin
ADQLParser.JoinSpecification
(FromContent leftTable) final MathFunction
ADQLParser.MathFunction()
final ADQLOperand
ADQLParser.NumericExpression()
final ADQLFunction
ADQLParser.NumericFunction()
final ADQLOperand
ADQLParser.NumericTerm()
final ADQLOperand
ADQLParser.NumericValueExpressionPrimary()
final void
ADQLParser.OrderBy()
final ADQLOrder
ADQLParser.OrderItem()
final ADQLQuery
ADQLParser.parseQuery()
Parses the query given at the creation of this parser or in the ReInit functions.final ADQLQuery
ADQLParser.parseQuery
(InputStream stream) Parses the query contained in the stream given in parameter.final ADQLQuery
ADQLParser.parseQuery
(String q) Parses the query given in parameter.final PointFunction
ADQLParser.Point()
final ADQLConstraint
ADQLParser.Predicate()
final ADQLQuery
ADQLParser.Query()
Parses the ADQL query given at the parser creation or in theADQLParser.ReInit(java.io.InputStream)
or in the parseQuery functions.final ADQLQuery
ADQLParser.QueryExpression()
final void
ADQLParser.Select()
final SelectItem
ADQLParser.SelectItem()
final NumericConstant
ADQLParser.SignedInteger()
final FromContent
ADQLParser.SimpleTableRef()
final SQLFunction
ADQLParser.SqlFunction()
final StringConstant
ADQLParser.String()
final ADQLOperand
ADQLParser.StringExpression()
final ADQLOperand
ADQLParser.StringFactor()
final ADQLOperand
ADQLParser.StringValueExpressionPrimary()
final ADQLQuery
ADQLParser.SubQueryExpression()
final IdentifierItems
ADQLParser.TableName()
Extracts the name of a table with its possible catalog and schema prefixes.final FromContent
ADQLParser.TableRef()
final void
ADQLParser.testRegularIdentifier
(Token token) Test the given token as an ADQL's regular identifier.final MathFunction
ADQLParser.TrigFunction()
final String
ADQLParser.tryQuickFix
(InputStream input) Try fixing tokens/terms of the input ADQL query.ADQLParser.tryQuickFix
(String adqlQuery) Try fixing tokens/terms of the given ADQL query.final NumericConstant
ADQLParser.UnsignedFloat()
final NumericConstant
ADQLParser.UnsignedNumeric()
final UserDefinedFunction
ADQLParser.UserDefinedFunction()
final ADQLOperand
ADQLParser.ValueExpression()
final void
ADQLParser.Where()
-
Uses of ParseException in adql.query.operand.function.geometry
Methods in adql.query.operand.function.geometry that throw ParseExceptionModifier and TypeMethodDescriptionvoid
GeometryFunction.setCoordinateSystem
(ADQLOperand coordSys) Changes the coordinate system. -
Uses of ParseException in adql.translator
Methods in adql.translator that throw ParseExceptionModifier and TypeMethodDescriptionParse the given PgSphere geometry as a box.PgSphereTranslator.PgSphereGeometryParser.parseCircle
(String pgsphereExpr) Parse the given PgSphere geometry as a circle.PgSphereTranslator.PgSphereGeometryParser.parsePoint
(String pgsphereExpr) Parse the given PgSphere geometry as a point.PgSphereTranslator.PgSphereGeometryParser.parsePolygon
(String pgsphereExpr) Parse the given PgSphere geometry as a point.abstract STCS.Region
JDBCTranslator.translateGeometryFromDB
(Object jdbcColValue) Parse the given JDBC column value as a geometry object and convert it into aSTCS.Region
.MySQLTranslator.translateGeometryFromDB
(Object jdbcColValue) PgSphereTranslator.translateGeometryFromDB
(Object jdbcColValue) PostgreSQLTranslator.translateGeometryFromDB
(Object jdbcColValue) SQLServerTranslator.translateGeometryFromDB
(Object jdbcColValue) abstract Object
JDBCTranslator.translateGeometryToDB
(STCS.Region region) Convert the given STC region into a DB column value.MySQLTranslator.translateGeometryToDB
(STCS.Region region) PgSphereTranslator.translateGeometryToDB
(STCS.Region region) PostgreSQLTranslator.translateGeometryToDB
(STCS.Region region) SQLServerTranslator.translateGeometryToDB
(STCS.Region region)