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.StringSTCS. buildCoordSysRegExp(java.lang.String[] allowedCoordSys)Build a big regular expression gathering all of the given coordinate system syntaxes.voidDBChecker. check(ADQLQuery query)Check all the columns, tables and UDFs references inside the given query.protected DBColumnDBChecker. 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 DBColumnDBChecker. 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 DBTableDBChecker. generateDBTable(ADQLQuery subQuery, java.lang.String tableName)Generate aDBTablecorresponding to the given sub-query with the given table name.static FunctionDefFunctionDef. parse(java.lang.String strDefinition)Let parsing the serialized form of a function definition.static STCS.CoordSysSTCS. parseCoordSys(java.lang.String stcs)Parse the given STC-S representation of a coordinate system.static STCS.RegionSTCS. parseRegion(java.lang.String stcsRegion)Parse the given STC-S expression representing a geometrical region.protected DBColumnDBChecker. resolveColumn(ADQLColumn column, SearchColumnList dbColumns, java.util.Stack<SearchColumnList> fathersList)Resolve the given column, that's to say search for the correspondingDBColumn.protected DBTableDBChecker. resolveTable(ADQLTable table)Resolve the given table, that's to say search for the correspondingDBTable.static java.lang.StringSTCS. 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 aDBCheckerwith 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 classUnresolvedColumnExceptionThis exception is thrown byDBCheckerwhen a column does not exist or whose the table reference is ambiguous.classUnresolvedFunctionExceptionException thrown when a function can not be resolved by the library.classUnresolvedIdentifiersExceptionThis exception is thrown byDBCheckerwhen several columns or tables do not exist.classUnresolvedJoinExceptionThis exception is thrown when a table between 2 tables can not be resolved, and particularly because of the join condition (i.e.classUnresolvedTableExceptionThis exception is thrown byDBCheckerwhen 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. exceptionsList 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 voidUnresolvedIdentifiersException. addException(ParseException pe)Adds aParseException(supposed to be either anUnresolvedColumnExceptionor anUnresolvedTableException). -
Uses of ParseException in adql.parser
Methods in adql.parser that return ParseException Modifier and Type Method Description ParseExceptionADQLParser. generateParseException()Generate ParseException.Methods in adql.parser that throw ParseException Modifier and Type Method Description BetweenADQLParser. BetweenEnd(ADQLOperand leftOp)voidQueryChecker. check(ADQLQuery query)Checks the givenADQLQuery.ADQLColumnADQLParser. Column()IdentifierItemsADQLParser. ColumnName()Extracts the name of a column with its possible catalog, schema and table prefixes.ComparisonADQLParser. ComparisonEnd(ADQLOperand leftOp)ClauseConstraintsADQLParser. ConditionsList(ClauseConstraints clause)ADQLConstraintADQLParser. Constraint()ADQLOperand[]ADQLParser. Coordinates()ADQLOperandADQLParser. CoordinateSystem()GeometryFunctionADQLParser. ExtractCoordSys()ADQLOperandADQLParser. Factor()voidADQLParser. From()GeometryFunction.GeometryValue<GeometryFunction>ADQLParser. GeometryExpression()GeometryFunctionADQLParser. GeometryFunction()GeometryFunctionADQLParser. GeometryValueFunction()voidADQLParser. GroupBy()voidADQLParser. Having()IdentifierItems.IdentifierItemADQLParser. Identifier()InADQLParser. InEnd(ADQLOperand leftOp)FromContentADQLParser. JoinedTable()ADQLJoinADQLParser. JoinSpecification(FromContent leftTable)MathFunctionADQLParser. MathFunction()ADQLOperandADQLParser. NumericExpression()ADQLFunctionADQLParser. NumericFunction()ADQLOperandADQLParser. NumericTerm()ADQLOperandADQLParser. NumericValueExpressionPrimary()voidADQLParser. OrderBy()ADQLOrderADQLParser. OrderItem()ADQLQueryADQLParser. parseQuery()Parses the query given at the creation of this parser or in the ReInit functions.ADQLQueryADQLParser. parseQuery(java.io.InputStream stream)Parses the query contained in the stream given in parameter.ADQLQueryADQLParser. parseQuery(java.lang.String q)Parses the query given in parameter.PointFunctionADQLParser. Point()ADQLConstraintADQLParser. Predicate()ADQLQueryADQLParser. Query()Parses the ADQL query given at the parser creation or in theADQLParser.ReInit(java.io.InputStream)or in the parseQuery functions.ADQLQueryADQLParser. QueryExpression()voidADQLParser. Select()SelectItemADQLParser. SelectItem()NumericConstantADQLParser. SignedInteger()FromContentADQLParser. SimpleTableRef()SQLFunctionADQLParser. SqlFunction()StringConstantADQLParser. String()ADQLOperandADQLParser. StringExpression()ADQLOperandADQLParser. StringFactor()ADQLOperandADQLParser. StringValueExpressionPrimary()ADQLQueryADQLParser. SubQueryExpression()IdentifierItemsADQLParser. TableName()Extracts the name of a table with its possible catalog and schema prefixes.FromContentADQLParser. TableRef()voidADQLParser. testRegularIdentifier(Token token)Test the given token as an ADQL's regular identifier.MathFunctionADQLParser. TrigFunction()java.lang.StringADQLParser. tryQuickFix(java.io.InputStream input)Try fixing tokens/terms of the input ADQL query.java.lang.StringADQLParser. tryQuickFix(java.lang.String adqlQuery)Try fixing tokens/terms of the given ADQL query.NumericConstantADQLParser. UnsignedFloat()NumericConstantADQLParser. UnsignedNumeric()UserDefinedFunctionADQLParser. UserDefinedFunction()ADQLOperandADQLParser. ValueExpression()voidADQLParser. 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 voidGeometryFunction. 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.RegionPgSphereTranslator.PgSphereGeometryParser. parseBox(java.lang.String pgsphereExpr)Parse the given PgSphere geometry as a box.STCS.RegionPgSphereTranslator.PgSphereGeometryParser. parseCircle(java.lang.String pgsphereExpr)Parse the given PgSphere geometry as a circle.STCS.RegionPgSphereTranslator.PgSphereGeometryParser. parsePoint(java.lang.String pgsphereExpr)Parse the given PgSphere geometry as a point.STCS.RegionPgSphereTranslator.PgSphereGeometryParser. parsePolygon(java.lang.String pgsphereExpr)Parse the given PgSphere geometry as a point.abstract STCS.RegionJDBCTranslator. translateGeometryFromDB(java.lang.Object jdbcColValue)Parse the given JDBC column value as a geometry object and convert it into aSTCS.Region.STCS.RegionMySQLTranslator. translateGeometryFromDB(java.lang.Object jdbcColValue)STCS.RegionPgSphereTranslator. translateGeometryFromDB(java.lang.Object jdbcColValue)STCS.RegionPostgreSQLTranslator. translateGeometryFromDB(java.lang.Object jdbcColValue)STCS.RegionSQLServerTranslator. translateGeometryFromDB(java.lang.Object jdbcColValue)abstract java.lang.ObjectJDBCTranslator. translateGeometryToDB(STCS.Region region)Convert the given STC region into a DB column value.java.lang.ObjectMySQLTranslator. translateGeometryToDB(STCS.Region region)java.lang.ObjectPgSphereTranslator. translateGeometryToDB(STCS.Region region)java.lang.ObjectPostgreSQLTranslator. translateGeometryToDB(STCS.Region region)java.lang.ObjectSQLServerTranslator. translateGeometryToDB(STCS.Region region)
-