public interface Tuple
| Modifier and Type | Method and Description | 
|---|---|
| Object | get(int i)Returns the value of the element at the specified
 position in the result tuple. | 
| <X> X | get(int i,
   Class<X> type)Returns the value of the element at the specified
 position in the result tuple. | 
| Object | get(String alias)Returns the value of the tuple element to which the
 specified alias has been assigned. | 
| <X> X | get(String alias,
   Class<X> type)Returns the value of the tuple element to which the
 specified alias has been assigned. | 
| Object[] | toArray()Returns the values of the result tuple elements as an array. | 
<X> X get(String alias, Class<X> type)
alias - alias assigned to the tuple elementtype - type of the tuple elementIllegalArgumentException - if the alias
                                  does not correspond to an element in the
                                  query result tuple, or if element cannot be
                                  assigned to the specified typeObject get(String alias)
alias - alias assigned to the tuple elementIllegalArgumentException - if alias
                                  does not correspond to an element in the
                                  query result tuple<X> X get(int i,
          Class<X> type)
i - position in result tupletype - type of the tuple elementIllegalArgumentException - if i exceeds
                                  length of result tuple or element cannot be
                                  assigned to the specified typeObject get(int i)
i - position in result tupleIllegalArgumentException - if i exceeds
                                  length of result tupleObject[] toArray()