Package adql.query.operand
Interface ADQLOperand
- All Superinterfaces:
ADQLObject
- All Known Subinterfaces:
UnknownType
- All Known Implementing Classes:
ADQLColumn,ADQLFunction,AreaFunction,BoxFunction,CastFunction,CentroidFunction,CircleFunction,CoalesceFunction,Concatenation,ContainsFunction,DefaultUDF,DistanceFunction,ExtractCoord,ExtractCoordSys,GeometryFunction,GeometryFunction.GeometryValue,IntersectsFunction,InUnitFunction,LowerFunction,MathFunction,NegativeOperand,NullValue,NumericConstant,Operation,PointFunction,PolygonFunction,RegionFunction,SQLFunction,StringConstant,UpperFunction,UserDefinedFunction,WrappedOperand
Any ADQL operand (an operation, a constant, a column name, a function, ...) must implement this interface and indicates whether it corresponds to a numeric, a string or a geometrical region value.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanTell whether this operand is a geometrical region or not.booleanTell whether this operand is numeric or not.booleanisString()Tell whether this operand is a string or not.Methods inherited from interface adql.query.ADQLObject
adqlIterator, getCopy, getFeatureDescription, getName, getPosition, toADQL
-
Method Details
-
isNumeric
boolean isNumeric()Tell whether this operand is numeric or not.- Returns:
- true if this operand is numeric, false otherwise.
-
isString
boolean isString()Tell whether this operand is a string or not.- Returns:
- true if this operand is a string, false otherwise.
-
isGeometry
boolean isGeometry()Tell whether this operand is a geometrical region or not.- Returns:
- true if this operand is a geometry, false otherwise.
- Since:
- 1.3
-