Package adql.query.operand
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description char
getExpectedType()
Get the type expected by the syntactic parser according to the context.void
setExpectedType(char c)
Set the type expected for this operand.-
Methods inherited from interface adql.query.ADQLObject
adqlIterator, getCopy, getName, getPosition, toADQL
-
Methods inherited from interface adql.query.operand.ADQLOperand
isGeometry, isNumeric, isString
-
-
-
-
Method Detail
-
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.
-
-