Package | Description |
---|---|
adql.db | |
adql.parser | |
adql.query | |
adql.query.constraint | |
adql.query.operand | |
adql.query.operand.function | |
adql.query.operand.function.geometry | |
adql.translator |
Modifier and Type | Method | Description |
---|---|---|
protected void |
DBChecker.checkCoordinateSystem(STCS.CoordSys coordSys,
ADQLOperand operand,
UnresolvedIdentifiersException errors) |
Check whether the given coordinate system is allowed by this implementation.
|
Modifier and Type | Method | Description |
---|---|---|
ADQLOperand[] |
ADQLParser.Coordinates() |
|
ADQLOperand |
ADQLParser.CoordinateSystem() |
|
ADQLOperand |
ADQLParser.Factor() |
|
ADQLOperand |
ADQLParser.NumericExpression() |
|
ADQLOperand |
ADQLParser.NumericTerm() |
|
ADQLOperand |
ADQLParser.NumericValueExpressionPrimary() |
|
ADQLOperand |
ADQLParser.StringExpression() |
|
ADQLOperand |
ADQLParser.StringFactor() |
|
ADQLOperand |
ADQLParser.StringValueExpressionPrimary() |
|
ADQLOperand |
ADQLParser.ValueExpression() |
Modifier and Type | Method | Description |
---|---|---|
Between |
ADQLParser.BetweenEnd(ADQLOperand leftOp) |
|
Comparison |
ADQLParser.ComparisonEnd(ADQLOperand leftOp) |
|
Between |
ADQLQueryFactory.createBetween(boolean not,
ADQLOperand value,
ADQLOperand min,
ADQLOperand max) |
|
BoxFunction |
ADQLQueryFactory.createBox(ADQLOperand coordinateSystem,
ADQLOperand firstCoord,
ADQLOperand secondCoord,
ADQLOperand boxWidth,
ADQLOperand boxHeight) |
|
CircleFunction |
ADQLQueryFactory.createCircle(ADQLOperand coordSys,
ADQLOperand coord1,
ADQLOperand coord2,
ADQLOperand radius) |
|
Comparison |
ADQLQueryFactory.createComparison(ADQLOperand leftOp,
ComparisonOperator op,
ADQLOperand rightOp) |
|
In |
ADQLQueryFactory.createIn(ADQLOperand leftOp,
ADQLQuery query,
boolean notIn) |
|
In |
ADQLQueryFactory.createIn(ADQLOperand leftOp,
ADQLOperand[] valuesList,
boolean notIn) |
|
MathFunction |
ADQLQueryFactory.createMathFunction(MathFunctionType type,
ADQLOperand param1,
ADQLOperand param2) |
|
NegativeOperand |
ADQLQueryFactory.createNegativeOperand(ADQLOperand opToNegativate) |
|
Operation |
ADQLQueryFactory.createOperation(ADQLOperand leftOp,
OperationType op,
ADQLOperand rightOp) |
|
PointFunction |
ADQLQueryFactory.createPoint(ADQLOperand coordSys,
ADQLOperand coords,
ADQLOperand coords2) |
|
PolygonFunction |
ADQLQueryFactory.createPolygon(ADQLOperand coordSys,
java.util.Collection<? extends ADQLOperand> coords) |
|
RegionFunction |
ADQLQueryFactory.createRegion(ADQLOperand param) |
|
SelectItem |
ADQLQueryFactory.createSelectItem(ADQLOperand operand,
java.lang.String alias) |
|
SQLFunction |
ADQLQueryFactory.createSQLFunction(SQLFunctionType type,
ADQLOperand op,
boolean distinctValues) |
|
UserDefinedFunction |
ADQLQueryFactory.createUserDefinedFunction(java.lang.String name,
ADQLOperand[] params) |
Creates the user defined functions called as the given name and with the given parameters.
|
WrappedOperand |
ADQLQueryFactory.createWrappedOperand(ADQLOperand opToWrap) |
|
In |
ADQLParser.InEnd(ADQLOperand leftOp) |
Modifier and Type | Method | Description |
---|---|---|
PolygonFunction |
ADQLQueryFactory.createPolygon(ADQLOperand coordSys,
java.util.Collection<? extends ADQLOperand> coords) |
Modifier and Type | Method | Description |
---|---|---|
ADQLOperand |
SelectItem.getOperand() |
Gets the corresponding operand.
|
ADQLOperand |
ClauseSelect.searchByAlias(java.lang.String alias) |
Gets the operand which is associated with the given alias (case sensitive).
|
ADQLOperand |
ClauseSelect.searchByIndex(int index) |
Gets the specified operand.
|
ADQLOperand |
ClauseSelect.set(int index,
ADQLOperand operand) |
Replaces the specified operand by the given one.
|
Modifier and Type | Method | Description |
---|---|---|
void |
ClauseSelect.add(int index,
ADQLOperand operand) |
Adds an operand to this SELECT clause at the given position.
|
boolean |
ClauseSelect.add(ADQLOperand operand) |
Adds an operand to this SELECT clause.
|
ADQLOperand |
ClauseSelect.set(int index,
ADQLOperand operand) |
Replaces the specified operand by the given one.
|
Constructor | Description |
---|---|
SelectItem(ADQLOperand operand) |
Builds a SELECT item just with an operand.
|
SelectItem(ADQLOperand operand,
java.lang.String alias) |
Builds a SELECT item with an operand and its alias.
|
Modifier and Type | Method | Description |
---|---|---|
ADQLOperand |
Between.getLeftOperand() |
Gets the left operand of this BETWEEN constraint.
|
ADQLOperand |
Comparison.getLeftOperand() |
Gets the left part of the comparison.
|
ADQLOperand |
Between.getMaxOperand() |
Gets the operand which represents the maximum value.
|
ADQLOperand |
Between.getMinOperand() |
Gets the operand which represents the minimum value.
|
ADQLOperand |
In.getOperand() |
Gets the left operand of this IN constraint.
|
ADQLOperand |
Comparison.getRightOperand() |
Gets the right part of the comparison.
|
Modifier and Type | Method | Description |
---|---|---|
ADQLList<ADQLOperand> |
In.getValuesList() |
Gets the values list (right operand) of this IN constraint.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Between.setLeftOperand(ADQLOperand leftOperand) |
Replaces the left operand of this BETWEEN constraint.
|
void |
Comparison.setLeftOperand(ADQLOperand newLeftOperand) |
Changes the left operand of this comparison.
|
void |
Between.setMaxOperand(ADQLOperand maxOperand) |
Replaces the operand which represents the maximum value.
|
void |
Between.setMinOperand(ADQLOperand minOperand) |
Replaces the operand which represents the minimum value.
|
void |
In.setOperand(ADQLOperand newLeftOp) |
Replaces the left operand of this IN constraint.
|
void |
Comparison.setRightOperand(ADQLOperand newRightOperand) |
Changes the right operand of this comparison.
|
void |
In.setValuesList(ADQLOperand[] valuesList) |
Replaces the values list (right operand) of this IN constraint.
|
Modifier and Type | Method | Description |
---|---|---|
void |
In.setValuesList(ADQLList<ADQLOperand> valuesList) |
Replaces the values list (right operand) of this IN constraint.
|
Constructor | Description |
---|---|
Between(ADQLOperand operand,
ADQLOperand min,
ADQLOperand max) |
Builds a BETWEEN constraints.
|
Between(ADQLOperand operand,
ADQLOperand min,
ADQLOperand max,
boolean notBetween) |
Builds a BETWEEN constraints.
|
Comparison(ADQLOperand left,
ComparisonOperator comp,
ADQLOperand right) |
Creates a comparison between two operands.
|
In(ADQLOperand op,
ADQLList<ADQLOperand> valuesList) |
Builds an IN constraint with a values list.
|
In(ADQLOperand op,
ADQLList<ADQLOperand> valuesList,
boolean notIn) |
Builds an IN constraint with a values list.
|
In(ADQLOperand op,
ADQLQuery query) |
Builds an IN constraint with a sub-query.
|
In(ADQLOperand op,
ADQLQuery query,
boolean notIn) |
Builds an IN constraint with a sub-query.
|
In(ADQLOperand op,
ADQLOperand[] valuesList) |
Builds an IN constraint with a values list.
|
In(ADQLOperand op,
ADQLOperand[] valuesList,
boolean notIn) |
Builds an IN constraint with a values list.
|
Constructor | Description |
---|---|
In(ADQLOperand op,
ADQLList<ADQLOperand> valuesList) |
Builds an IN constraint with a values list.
|
In(ADQLOperand op,
ADQLList<ADQLOperand> valuesList,
boolean notIn) |
Builds an IN constraint with a values list.
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
UnknownType |
Operand whose the type can not be known at the parsing time.
|
Modifier and Type | Class | Description |
---|---|---|
class |
ADQLColumn |
Represents the complete (literal) reference to a column ({schema(s)}.{table}.{column}).
|
class |
Concatenation |
Represents a concatenation in ADQL (ex: "_s_ra" || ':' || "_s_dec").
|
class |
NegativeOperand |
Lets putting a minus sign in front of any numeric operand.
|
class |
NumericConstant |
A numeric (integer, double, ...) constant.
|
class |
Operation |
It represents a simple numeric operation (sum, difference, multiplication and division).
|
class |
StringConstant |
A string constant.
|
class |
WrappedOperand |
Lets wrapping an operand by parenthesis.
|
Modifier and Type | Method | Description |
---|---|---|
ADQLOperand |
Operation.getLeftOperand() |
Gets the left part of the operation.
|
ADQLOperand |
NegativeOperand.getOperand() |
Gets the operand on which the minus sign is applied.
|
ADQLOperand |
WrappedOperand.getOperand() |
Gets the wrapped operand.
|
ADQLOperand |
Operation.getRightOperand() |
Gets the right part of the operation.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Operation.setLeftOperand(ADQLOperand newLeftOperand) |
Changes the left operand of this operation.
|
void |
Operation.setRightOperand(ADQLOperand newRightOperand) |
Changes the right operand of this operation.
|
Constructor | Description |
---|---|
NegativeOperand(ADQLOperand operand) |
Builds an operand which will negativate the given operand.
|
Operation(ADQLOperand leftOp,
OperationType op,
ADQLOperand rightOp) |
Builds an operation.
|
WrappedOperand(ADQLOperand operand) |
Wraps the given operand.
|
Modifier and Type | Class | Description |
---|---|---|
class |
ADQLFunction |
Represents any kind of function.
|
class |
DefaultUDF |
It represents any function which is not managed by ADQL.
|
class |
MathFunction |
It represents any basic mathematical function.
|
class |
SQLFunction |
It represents any SQL function (COUNT, MAX, MIN, AVG, SUM, etc...).
|
class |
UserDefinedFunction |
Function defined by the user (i.e.
|
Modifier and Type | Field | Description |
---|---|---|
protected ADQLList<ADQLOperand> |
DefaultUDF.parameters |
Its parsed parameters.
|
Modifier and Type | Method | Description |
---|---|---|
abstract ADQLOperand |
ADQLFunction.getParameter(int index) |
Gets the index-th parameter.
|
ADQLOperand |
DefaultUDF.getParameter(int index) |
|
ADQLOperand |
MathFunction.getParameter(int index) |
|
ADQLOperand |
SQLFunction.getParameter(int index) |
|
abstract ADQLOperand[] |
ADQLFunction.getParameters() |
Gets the list of all parameters of this function.
|
ADQLOperand[] |
DefaultUDF.getParameters() |
|
ADQLOperand[] |
MathFunction.getParameters() |
|
ADQLOperand[] |
SQLFunction.getParameters() |
|
ADQLOperand |
ADQLFunction.ParameterIterator.next() |
|
abstract ADQLOperand |
ADQLFunction.setParameter(int index,
ADQLOperand replacer) |
Replaces the index-th parameter by the given one.
|
ADQLOperand |
DefaultUDF.setParameter(int index,
ADQLOperand replacer) |
Function to override if you want to check the parameters of this user defined function.
|
ADQLOperand |
MathFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
SQLFunction.setParameter(int index,
ADQLOperand replacer) |
Modifier and Type | Method | Description |
---|---|---|
java.util.Iterator<ADQLOperand> |
ADQLFunction.paramIterator() |
Creates an iterator on the parameters of this function.
|
Modifier and Type | Method | Description |
---|---|---|
abstract ADQLOperand |
ADQLFunction.setParameter(int index,
ADQLOperand replacer) |
Replaces the index-th parameter by the given one.
|
ADQLOperand |
DefaultUDF.setParameter(int index,
ADQLOperand replacer) |
Function to override if you want to check the parameters of this user defined function.
|
ADQLOperand |
MathFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
SQLFunction.setParameter(int index,
ADQLOperand replacer) |
Constructor | Description |
---|---|
DefaultUDF(java.lang.String name,
ADQLOperand[] params) |
Creates a user function.
|
MathFunction(MathFunctionType t,
ADQLOperand parameter) |
Creates a mathematical function with only one parameter.
|
MathFunction(MathFunctionType t,
ADQLOperand parameter1,
ADQLOperand parameter2) |
Creates a mathematical function with two parameters.
|
SQLFunction(SQLFunctionType t,
ADQLOperand operand) |
Creates a SQL function with one parameter.
|
SQLFunction(SQLFunctionType t,
ADQLOperand operand,
boolean distinctValues) |
Creates a SQL function with one parameter.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AreaFunction |
It represents the AREA function of ADQL.
|
class |
BoxFunction |
It represents the box function of the ADQL language.
|
class |
CentroidFunction |
It represents the CENTROID function of the ADQL language.
|
class |
CircleFunction |
It represents the CIRCLE function of the ADQL language.
|
class |
ContainsFunction |
It represents the CONTAINS function of the ADQL language.
|
class |
DistanceFunction |
It represents the DISTANCE function of the ADQL language.
|
class |
ExtractCoord |
It represents the COORD1 and the COORD2 functions of the ADQL language.
|
class |
ExtractCoordSys |
It represents the COORDSYS function the ADQL language.
|
class |
GeometryFunction |
It represents any geometric function of ADQL.
|
static class |
GeometryFunction.GeometryValue<F extends GeometryFunction> |
This class represents a parameter of a geometry function
which, in general, is either a GeometryFunction or a Column.
|
class |
IntersectsFunction |
It represents the INTERSECTS function of the ADQL language.
|
class |
PointFunction |
It represents the POINT function of the ADQL language.
|
class |
PolygonFunction |
It represents the POLYGON function of the ADQL language.
|
class |
RegionFunction |
It represents the REGION function the ADQL language.
|
Modifier and Type | Field | Description |
---|---|---|
protected ADQLOperand |
GeometryFunction.coordSys |
The coordinate system used to express the coordinates.
|
protected ADQLOperand |
RegionFunction.parameter |
The only parameter of this function.
|
Modifier and Type | Field | Description |
---|---|---|
protected java.util.Vector<ADQLOperand> |
PolygonFunction.coordinates |
The coordinates of vertices.
|
Modifier and Type | Method | Description |
---|---|---|
ADQLOperand |
BoxFunction.getCoord1() |
Gets the first coordinate (i.e.
|
ADQLOperand |
CircleFunction.getCoord1() |
Gets the first coordinate of the center (i.e.
|
ADQLOperand |
PointFunction.getCoord1() |
Gets the first coordinate of this point.
|
ADQLOperand |
BoxFunction.getCoord2() |
Gets the second coordinate (i.e.
|
ADQLOperand |
CircleFunction.getCoord2() |
Gets the second coordinate of the center (i.e.
|
ADQLOperand |
PointFunction.getCoord2() |
Gets the second coordinate of this point.
|
ADQLOperand |
GeometryFunction.getCoordinateSystem() |
Gets the used coordinate system.
|
ADQLOperand |
BoxFunction.getHeight() |
Gets the height of the box.
|
ADQLOperand |
AreaFunction.getParameter(int index) |
|
ADQLOperand |
BoxFunction.getParameter(int index) |
|
ADQLOperand |
CentroidFunction.getParameter(int index) |
|
ADQLOperand |
CircleFunction.getParameter(int index) |
|
ADQLOperand |
ContainsFunction.getParameter(int index) |
|
ADQLOperand |
DistanceFunction.getParameter(int index) |
|
ADQLOperand |
ExtractCoord.getParameter(int index) |
|
ADQLOperand |
ExtractCoordSys.getParameter(int index) |
|
ADQLOperand |
IntersectsFunction.getParameter(int index) |
|
ADQLOperand |
PointFunction.getParameter(int index) |
|
ADQLOperand |
PolygonFunction.getParameter(int index) |
|
ADQLOperand |
RegionFunction.getParameter(int index) |
|
ADQLOperand[] |
AreaFunction.getParameters() |
|
ADQLOperand[] |
BoxFunction.getParameters() |
|
ADQLOperand[] |
CentroidFunction.getParameters() |
|
ADQLOperand[] |
CircleFunction.getParameters() |
|
ADQLOperand[] |
ContainsFunction.getParameters() |
|
ADQLOperand[] |
DistanceFunction.getParameters() |
|
ADQLOperand[] |
ExtractCoord.getParameters() |
|
ADQLOperand[] |
ExtractCoordSys.getParameters() |
|
ADQLOperand[] |
IntersectsFunction.getParameters() |
|
ADQLOperand[] |
PointFunction.getParameters() |
|
ADQLOperand[] |
PolygonFunction.getParameters() |
|
ADQLOperand[] |
RegionFunction.getParameters() |
|
ADQLOperand |
CircleFunction.getRadius() |
Gets the radius of the center.
|
ADQLOperand |
GeometryFunction.GeometryValue.getValue() |
|
ADQLOperand |
BoxFunction.getWidth() |
Gets the width of the box.
|
ADQLOperand |
AreaFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
BoxFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
CentroidFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
CircleFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
ContainsFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
DistanceFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
ExtractCoord.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
ExtractCoordSys.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
IntersectsFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
PointFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
PolygonFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
RegionFunction.setParameter(int index,
ADQLOperand replacer) |
Modifier and Type | Method | Description |
---|---|---|
void |
BoxFunction.setCoord1(ADQLOperand coord1) |
Sets the first coordinate (i.e.
|
void |
CircleFunction.setCoord1(ADQLOperand coord1) |
Sets the first coordinate of the center (i.e.
|
void |
PointFunction.setCoord1(ADQLOperand coord1) |
Changes the first coordinate of this POINT function.
|
void |
BoxFunction.setCoord2(ADQLOperand coord2) |
Sets the second coordinate (i.e.
|
void |
CircleFunction.setCoord2(ADQLOperand coord2) |
Sets the second coordinate of the center (i.e.
|
void |
PointFunction.setCoord2(ADQLOperand coord2) |
Changes the second coordinate of this POINT function.
|
void |
DistanceFunction.setCoordinateSystem(ADQLOperand coordSys) |
|
void |
GeometryFunction.setCoordinateSystem(ADQLOperand coordSys) |
Changes the coordinate system.
|
void |
BoxFunction.setHeight(ADQLOperand height) |
Sets the height of the box.
|
ADQLOperand |
AreaFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
BoxFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
CentroidFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
CircleFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
ContainsFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
DistanceFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
ExtractCoord.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
ExtractCoordSys.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
IntersectsFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
PointFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
PolygonFunction.setParameter(int index,
ADQLOperand replacer) |
|
ADQLOperand |
RegionFunction.setParameter(int index,
ADQLOperand replacer) |
|
void |
CircleFunction.setRadius(ADQLOperand radius) |
Sets the radius of the center.
|
void |
BoxFunction.setWidth(ADQLOperand width) |
Sets the width of the box.
|
Constructor | Description |
---|---|
BoxFunction(ADQLOperand coordinateSystem,
ADQLOperand firstCoord,
ADQLOperand secondCoord,
ADQLOperand boxWidth,
ADQLOperand boxHeight) |
Builds a BOX function.
|
CircleFunction(ADQLOperand coordinateSystem,
ADQLOperand firstCoord,
ADQLOperand secondCoord,
ADQLOperand radius) |
Builds a CIRCLE function.
|
GeometryFunction(ADQLOperand coordSys) |
Builds a geometry function with its coordinate system.
|
PointFunction(ADQLOperand coordinateSystem,
ADQLOperand firstCoord,
ADQLOperand secondCoord) |
Builds a POINT function.
|
PolygonFunction(ADQLOperand coordSystem,
ADQLOperand[] coords) |
Builds a polygon function with at least 3 2-D coordinates (that is to say, the array must contain at least 6 operands).
|
PolygonFunction(ADQLOperand coordSystem,
java.util.Collection<? extends ADQLOperand> coords) |
Builds a polygon function with at least 3 2-D coordinates (that is to say, the vector must contain at least 6 operands).
|
RegionFunction(ADQLOperand param) |
Builds a REGION function.
|
Constructor | Description |
---|---|
PolygonFunction(ADQLOperand coordSystem,
java.util.Collection<? extends ADQLOperand> coords) |
Builds a polygon function with at least 3 2-D coordinates (that is to say, the vector must contain at least 6 operands).
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
ADQLTranslator.translate(ADQLOperand op) |
|
java.lang.String |
JDBCTranslator.translate(ADQLOperand op) |