public final class Concatenation extends ADQLList<ADQLOperand> implements ADQLOperand
ADQLList.ADQLListIterator
Constructor and Description |
---|
Concatenation()
Builds an empty concatenation.
|
Concatenation(Concatenation toCopy)
Builds a copy of the given
Concatenation . |
Modifier and Type | Method and Description |
---|---|
ADQLObject |
getCopy()
Gets a (deep) copy of this ADQL object.
|
java.lang.String[] |
getPossibleSeparators()
Gets the list of all possible separators for this
ADQLList . |
java.lang.String |
getSeparator(int index)
Gets the separator between the list items index-1 and index.
|
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.
|
java.lang.String |
toADQL()
Gets the ADQL expression of this object.
|
add, add, adqlIterator, clear, get, getName, getPosition, isEmpty, iterator, remove, set, setPosition, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adqlIterator, getName, getPosition
public Concatenation()
public Concatenation(Concatenation toCopy) throws java.lang.Exception
Concatenation
.toCopy
- The Concatenation
to copy.java.lang.Exception
- If there is an error during the copy.public ADQLObject getCopy() throws java.lang.Exception
ADQLObject
getCopy
in interface ADQLObject
getCopy
in class ADQLList<ADQLOperand>
java.lang.Exception
- If there is any error during the copy.public java.lang.String[] getPossibleSeparators()
ADQLList
ADQLList
.getPossibleSeparators
in class ADQLList<ADQLOperand>
public java.lang.String getSeparator(int index) throws java.lang.ArrayIndexOutOfBoundsException
ADQLList
getSeparator
in class ADQLList<ADQLOperand>
index
- Index of the right list item.java.lang.ArrayIndexOutOfBoundsException
- If the index is less or equal than 0, or is greater or equal than size()
.public final boolean isNumeric()
ADQLOperand
isNumeric
in interface ADQLOperand
public final boolean isString()
ADQLOperand
isString
in interface ADQLOperand
public final boolean isGeometry()
ADQLOperand
isGeometry
in interface ADQLOperand
public java.lang.String toADQL()
ADQLObject
toADQL
in interface ADQLObject
toADQL
in class ADQLList<ADQLOperand>