Interface ADQLOperand

All Superinterfaces:
ADQLObject
All Known Subinterfaces:
UnknownType
All Known Implementing Classes:
ADQLColumn, ADQLFunction, AreaFunction, BoxFunction, CentroidFunction, CircleFunction, Concatenation, ContainsFunction, DefaultUDF, DistanceFunction, ExtractCoord, ExtractCoordSys, GeometryFunction, GeometryFunction.GeometryValue, IntersectsFunction, MathFunction, NegativeOperand, NumericConstant, Operation, PointFunction, PolygonFunction, RegionFunction, SQLFunction, StringConstant, 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.

Version:
1.3 (10/2014)
Author:
Grégory Mantelet (CDS;ARI)
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Tell whether this operand is a geometrical region or not.
    boolean
    Tell whether this operand is numeric or not.
    boolean
    Tell whether this operand is a string or not.

    Methods inherited from interface adql.query.ADQLObject

    adqlIterator, getCopy, 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