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 StringSTCS.buildCoordSysRegExp(String[] allowedCoordSys) Build a big regular expression gathering all of the given coordinate system syntaxes.final voidCheck 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, String tableName) Generate aDBTablecorresponding to the given sub-query with the given table name.static FunctionDefLet parsing the serialized form of a function definition.static STCS.CoordSysSTCS.parseCoordSys(String stcs) Parse the given STC-S representation of a coordinate system.static STCS.RegionSTCS.parseRegion(String stcsRegion) Parse the given STC-S expression representing a geometrical region.protected DBColumnDBChecker.resolveColumn(ADQLColumn column, SearchColumnList dbColumns, 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 StringSTCS.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 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.exceptionModifier and TypeClassDescriptionclassThis exception is thrown byDBCheckerwhen a column does not exist or whose the table reference is ambiguous.classException thrown when a function can not be resolved by the library.classThis exception is thrown byDBCheckerwhen several columns or tables do not exist.classThis exception is thrown when a table between 2 tables can not be resolved, and particularly because of the join condition (i.e.classThis 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 ParseExceptionModifier and TypeFieldDescriptionprotected ArrayList<ParseException>UnresolvedIdentifiersException.exceptionsList 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 voidUnresolvedIdentifiersException.addException(ParseException pe) Adds aParseException(supposed to be either anUnresolvedColumnExceptionor anUnresolvedTableException). -
Uses of ParseException in adql.parser
Methods in adql.parser that return ParseExceptionMethods in adql.parser that throw ParseExceptionModifier and TypeMethodDescriptionfinal BetweenADQLParser.BetweenEnd(ADQLOperand leftOp) voidChecks the givenADQLQuery.final ADQLColumnADQLParser.Column()final IdentifierItemsADQLParser.ColumnName()Extracts the name of a column with its possible catalog, schema and table prefixes.final ComparisonADQLParser.ComparisonEnd(ADQLOperand leftOp) final ClauseConstraintsADQLParser.ConditionsList(ClauseConstraints clause) final ADQLConstraintADQLParser.Constraint()final ADQLOperand[]ADQLParser.Coordinates()final ADQLOperandADQLParser.CoordinateSystem()final GeometryFunctionADQLParser.ExtractCoordSys()final ADQLOperandADQLParser.Factor()final voidADQLParser.From()ADQLParser.GeometryExpression()final GeometryFunctionADQLParser.GeometryFunction()final GeometryFunctionADQLParser.GeometryValueFunction()final voidADQLParser.GroupBy()final voidADQLParser.Having()ADQLParser.Identifier()final InADQLParser.InEnd(ADQLOperand leftOp) final FromContentADQLParser.JoinedTable()final ADQLJoinADQLParser.JoinSpecification(FromContent leftTable) final MathFunctionADQLParser.MathFunction()final ADQLOperandADQLParser.NumericExpression()final ADQLFunctionADQLParser.NumericFunction()final ADQLOperandADQLParser.NumericTerm()final ADQLOperandADQLParser.NumericValueExpressionPrimary()final voidADQLParser.OrderBy()final ADQLOrderADQLParser.OrderItem()final ADQLQueryADQLParser.parseQuery()Parses the query given at the creation of this parser or in the ReInit functions.final ADQLQueryADQLParser.parseQuery(InputStream stream) Parses the query contained in the stream given in parameter.final ADQLQueryADQLParser.parseQuery(String q) Parses the query given in parameter.final PointFunctionADQLParser.Point()final ADQLConstraintADQLParser.Predicate()final ADQLQueryADQLParser.Query()Parses the ADQL query given at the parser creation or in theADQLParser.ReInit(java.io.InputStream)or in the parseQuery functions.final ADQLQueryADQLParser.QueryExpression()final voidADQLParser.Select()final SelectItemADQLParser.SelectItem()final NumericConstantADQLParser.SignedInteger()final FromContentADQLParser.SimpleTableRef()final SQLFunctionADQLParser.SqlFunction()final StringConstantADQLParser.String()final ADQLOperandADQLParser.StringExpression()final ADQLOperandADQLParser.StringFactor()final ADQLOperandADQLParser.StringValueExpressionPrimary()final ADQLQueryADQLParser.SubQueryExpression()final IdentifierItemsADQLParser.TableName()Extracts the name of a table with its possible catalog and schema prefixes.final FromContentADQLParser.TableRef()final voidADQLParser.testRegularIdentifier(Token token) Test the given token as an ADQL's regular identifier.final MathFunctionADQLParser.TrigFunction()final StringADQLParser.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 NumericConstantADQLParser.UnsignedFloat()final NumericConstantADQLParser.UnsignedNumeric()final UserDefinedFunctionADQLParser.UserDefinedFunction()final ADQLOperandADQLParser.ValueExpression()final voidADQLParser.Where() -
Uses of ParseException in adql.query.operand.function.geometry
Methods in adql.query.operand.function.geometry that throw ParseExceptionModifier and TypeMethodDescriptionvoidGeometryFunction.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.RegionJDBCTranslator.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 ObjectJDBCTranslator.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)