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, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadqlIterator, getName, getPositionpublic 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
ADQLObjectgetCopy in interface ADQLObjectgetCopy in class ADQLList<ADQLOperand>java.lang.Exception - If there is any error during the copy.public java.lang.String[] getPossibleSeparators()
ADQLListADQLList.getPossibleSeparators in class ADQLList<ADQLOperand>public java.lang.String getSeparator(int index)
throws java.lang.ArrayIndexOutOfBoundsException
ADQLListgetSeparator 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()
ADQLOperandisNumeric in interface ADQLOperandpublic final boolean isString()
ADQLOperandisString in interface ADQLOperandpublic final boolean isGeometry()
ADQLOperandisGeometry in interface ADQLOperandpublic java.lang.String toADQL()
ADQLObjecttoADQL in interface ADQLObjecttoADQL in class ADQLList<ADQLOperand>