Package adql.query.operand
Interface UnknownType
- All Superinterfaces:
ADQLObject
,ADQLOperand
- All Known Implementing Classes:
ADQLColumn
,CastFunction
,DefaultUDF
,UserDefinedFunction
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
-
Method Summary
Modifier and TypeMethodDescriptionchar
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, getFeatureDescription, getName, getPosition, toADQL
Methods inherited from interface adql.query.operand.ADQLOperand
isGeometry, isNumeric, isString
-
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.
-