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

public interface ADQLOperand extends ADQLObject

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 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