Interface UnknownType

All Superinterfaces:
ADQLObject, ADQLOperand
All Known Implementing Classes:
ADQLColumn, DefaultUDF, UserDefinedFunction

public interface UnknownType extends ADQLOperand

Operand whose the type can not be known at the parsing time. A post-parsing step with column metadata is needed to resolved their types.

Note: For the moment, only two operands are concerned: columns (ADQLColumn) and user defined functions (UserDefinedFunction).

Since:
1.3
Version:
1.3 (10/2014)
Author:
Grégory Mantelet (ARI)
  • Method Details

    • getExpectedType

      char getExpectedType()
      Get the type expected by the syntactic parser according to the context.
      Returns:
      Expected type: 'n' or 'N' for numeric, 's' or 'S' for string, 'g' or 'G' for geometry.
    • setExpectedType

      void setExpectedType(char c)
      Set the type expected for this operand.
      Parameters:
      c - Expected type: 'n' or 'N' for numeric, 's' or 'S' for string, 'g' or 'G' for geometry.