public static final class GeometryFunction.GeometryValue<F extends GeometryFunction> extends java.lang.Object implements ADQLOperand
| Constructor and Description |
|---|
GeometryValue(ADQLColumn col) |
GeometryValue(F geometry) |
GeometryValue(GeometryFunction.GeometryValue<F> toCopy) |
| Modifier and Type | Method and Description |
|---|---|
ADQLIterator |
adqlIterator()
Gets an iterator on the intern ADQL objects.
|
ADQLObject |
getCopy()
Gets a (deep) copy of this ADQL object.
|
java.lang.String |
getName()
Gets the name of this object in ADQL.
|
TextPosition |
getPosition()
Gets the position of this object/token in the ADQL query.
|
ADQLOperand |
getValue() |
boolean |
isColumn() |
boolean |
isGeometry()
Tell whether this operand is a geometrical region or not.
|
boolean |
isNumeric()
Tell whether this operand is numeric or not.
|
boolean |
isString()
Tell whether this operand is a string or not.
|
void |
setColumn(ADQLColumn col) |
void |
setGeometry(F geometry) |
java.lang.String |
toADQL()
Gets the ADQL expression of this object.
|
public GeometryValue(ADQLColumn col) throws java.lang.NullPointerException
java.lang.NullPointerExceptionpublic GeometryValue(F geometry) throws java.lang.NullPointerException
java.lang.NullPointerExceptionpublic GeometryValue(GeometryFunction.GeometryValue<F> toCopy) throws java.lang.Exception
java.lang.Exceptionpublic void setColumn(ADQLColumn col)
public void setGeometry(F geometry)
public ADQLOperand getValue()
public boolean isColumn()
public boolean isNumeric()
ADQLOperandisNumeric in interface ADQLOperandpublic boolean isString()
ADQLOperandisString in interface ADQLOperandpublic TextPosition getPosition()
ADQLObjectGets the position of this object/token in the ADQL query.
By default, no position should be set.
getPosition in interface ADQLObjectpublic boolean isGeometry()
ADQLOperandisGeometry in interface ADQLOperandpublic ADQLObject getCopy() throws java.lang.Exception
ADQLObjectgetCopy in interface ADQLObjectjava.lang.Exception - If there is any error during the copy.public java.lang.String getName()
ADQLObjectgetName in interface ADQLObjectpublic ADQLIterator adqlIterator()
ADQLObjectGets an iterator on the intern ADQL objects.
Note:The returned iterator is particularly used by a ISearchHandler
extension to browse a whole ADQL tree.
adqlIterator in interface ADQLObjectADQLIterator,
ISearchHandlerpublic java.lang.String toADQL()
ADQLObjecttoADQL in interface ADQLObject