## Uses of Class
adql.query.TextPosition

- Packages that use TextPosition
  Package | Description
  --- | ---
  adql.db.exception |
  adql.parser |
  adql.query |
  adql.query.constraint |
  adql.query.from |
  adql.query.operand |
  adql.query.operand.function |
  adql.query.operand.function.geometry |

- - ### Uses of TextPosition in adql.db.exception

    Methods in adql.db.exception with parameters of type TextPosition
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | UnresolvedJoinException.`setPosition​(TextPosition pos)` | Set the position of the invalid JOIN.

    Constructors in adql.db.exception with parameters of type TextPosition
    Constructor | Description
    --- | ---
    `UnresolvedFunctionException​(java.lang.String message, TextPosition pos)` | Build the exception with just a message.
    `UnresolvedJoinException​(java.lang.String message, TextPosition errorPosition)` | Build an UnresolvedJoin and specify, in addition of the error message, the position of the column not resolved.

  - ### Uses of TextPosition in adql.parser

    Fields in adql.parser declared as TextPosition
    Modifier and Type | Field | Description
    --- | --- | ---
    `TextPosition` | IdentifierItems.IdentifierItem.`position` |
    `protected TextPosition` | ParseException.`position` | Line in the ADQL query where the exception occurs.

    Methods in adql.parser that return TextPosition
    Modifier and Type | Method | Description
    --- | --- | ---
    `TextPosition` | IdentifierItems.`getPosition()` |
    `TextPosition` | ParseException.`getPosition()` | Gets the position in the ADQL query of the token which generates this exception.

    Methods in adql.parser with parameters of type TextPosition
    Modifier and Type | Method | Description
    --- | --- | ---
    `ColumnReference` | ADQLQueryFactory.`createColRef​(int index, TextPosition position)` |
    `ADQLOrder` | ADQLQueryFactory.`createOrder​(int ind, boolean desc, TextPosition position)` | Deprecated. since 1.4 ; Replaced by `ADQLQueryFactory.createOrder(int, boolean)`

    Constructors in adql.parser with parameters of type TextPosition
    Constructor | Description
    --- | ---
    `ParseException​(java.lang.String message, TextPosition errorPosition)` |

  - ### Uses of TextPosition in adql.query

    Methods in adql.query that return TextPosition
    Modifier and Type | Method | Description
    --- | --- | ---
    `TextPosition` | ADQLList.`getPosition()` |
    `TextPosition` | ADQLObject.`getPosition()` | Gets the position of this object/token in the ADQL query.
    `TextPosition` | ADQLQuery.`getPosition()` |
    `TextPosition` | ColumnReference.`getPosition()` | Gets the position in the original ADQL query string.
    `TextPosition` | SelectItem.`getPosition()` |

    Methods in adql.query with parameters of type TextPosition
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ADQLList.`setPosition​(TextPosition position)` | Sets the position at which this `ADQLList` has been found in the original ADQL query string.
    `void` | ADQLQuery.`setPosition​(TextPosition position)` | Set the position of this `ADQLQuery` (or sub-query) inside the whole given ADQL query string.
    `void` | ColumnReference.`setPosition​(TextPosition pos)` | Sets the position at which this `ColumnReference` has been found in the original ADQL query string.
    `void` | SelectItem.`setPosition​(TextPosition position)` | Set the position of this `SelectItem` in the given ADQL query string.

    Constructors in adql.query with parameters of type TextPosition
    Constructor | Description
    --- | ---
    `TextPosition​(TextPosition positionToCopy)` | Builds a copy of the given position.
    `TextPosition​(TextPosition startPos, TextPosition endPos)` | Builds a position whose the start is the start position of the first parameter and the end is the end position of the second parameter.

  - ### Uses of TextPosition in adql.query.constraint

    Methods in adql.query.constraint that return TextPosition
    Modifier and Type | Method | Description
    --- | --- | ---
    `TextPosition` | Between.`getPosition()` |
    `TextPosition` | Comparison.`getPosition()` |
    `TextPosition` | Exists.`getPosition()` |
    `TextPosition` | In.`getPosition()` |
    `TextPosition` | IsNull.`getPosition()` |
    `TextPosition` | NotConstraint.`getPosition()` |

    Methods in adql.query.constraint with parameters of type TextPosition
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | Between.`setPosition​(TextPosition position)` | Set the position of this `Between` in the given ADQL query string.
    `void` | Comparison.`setPosition​(TextPosition position)` | Set the position of this `Comparison` in the given ADQL query string.
    `void` | Exists.`setPosition​(TextPosition position)` | Set the position of this `Exists` in the given ADQL query string.
    `void` | In.`setPosition​(TextPosition position)` | Set the position of this `In` in the given ADQL query string.
    `void` | IsNull.`setPosition​(TextPosition position)` | Set the position of this `IsNull` in the given ADQL query string.
    `void` | NotConstraint.`setPosition​(TextPosition position)` | Set the position of this `NotConstraint` in the given ADQL query string.

  - ### Uses of TextPosition in adql.query.from

    Methods in adql.query.from that return TextPosition
    Modifier and Type | Method | Description
    --- | --- | ---
    `TextPosition` | ADQLJoin.`getPosition()` |
    `TextPosition` | ADQLTable.`getPosition()` | Gets the position in the original ADQL query string.

    Methods in adql.query.from with parameters of type TextPosition
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ADQLJoin.`setPosition​(TextPosition position)` |
    `void` | ADQLTable.`setPosition​(TextPosition pos)` | Sets the position at which this `ADQLTable` has been found in the original ADQL query string.
    `void` | FromContent.`setPosition​(TextPosition position)` | Set the position of this `FromContent` in the given ADQL query string.

  - ### Uses of TextPosition in adql.query.operand

    Fields in adql.query.operand declared as TextPosition
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected TextPosition` | NumericConstant.`position` | Position of this operand.

    Methods in adql.query.operand that return TextPosition
    Modifier and Type | Method | Description
    --- | --- | ---
    `TextPosition` | ADQLColumn.`getPosition()` |
    `TextPosition` | NegativeOperand.`getPosition()` |
    `TextPosition` | NumericConstant.`getPosition()` |
    `TextPosition` | Operation.`getPosition()` |
    `TextPosition` | StringConstant.`getPosition()` |
    `TextPosition` | WrappedOperand.`getPosition()` |

    Methods in adql.query.operand with parameters of type TextPosition
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ADQLColumn.`setPosition​(TextPosition pos)` | Sets the position at which this `ADQLColumn` has been found in the original ADQL query string.
    `void` | NegativeOperand.`setPosition​(TextPosition position)` | Sets the position at which this `NegativeOperand` has been found in the original ADQL query string.
    `void` | NumericConstant.`setPosition​(TextPosition position)` | Sets the position at which this `NumericConstant` has been found in the original ADQL query string.
    `void` | Operation.`setPosition​(TextPosition position)` | Sets the position at which this `WrappedOperand` has been found in the original ADQL query string.
    `void` | StringConstant.`setPosition​(TextPosition position)` | Sets the position at which this `StringConstant` has been found in the original ADQL query string.
    `void` | WrappedOperand.`setPosition​(TextPosition position)` | Sets the position at which this `WrappedOperand` has been found in the original ADQL query string.

  - ### Uses of TextPosition in adql.query.operand.function

    Methods in adql.query.operand.function that return TextPosition
    Modifier and Type | Method | Description
    --- | --- | ---
    `TextPosition` | ADQLFunction.`getPosition()` |

    Methods in adql.query.operand.function with parameters of type TextPosition
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ADQLFunction.`setPosition​(TextPosition position)` | Set the position of this `ADQLFunction` in the ADQL query string.

  - ### Uses of TextPosition in adql.query.operand.function.geometry

    Methods in adql.query.operand.function.geometry that return TextPosition
    Modifier and Type | Method | Description
    --- | --- | ---
    `TextPosition` | GeometryFunction.GeometryValue.`getPosition()` |