public interface Tuple
Usage example:
  
 List<Tuple> result = query.from(employee).list(new QTuple(employee.firstName, employee.lastName));
 for (Tuple row : result) {
     System.out.println("firstName " + row.get(employee.firstName));
     System.out.println("lastName " + row.get(employee.lastName)); 
 }
  
 | Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o)All Tuples should override equals and hashCode. | 
| <T> T | get(Expression<T> expr)Get a tuple element by expression | 
| <T> T | get(int index,
   Class<T> type)Get a Tuple element by index | 
| int | hashCode()All Tuples should override equals and hashCode. | 
| int | size()Get the size of the Tuple | 
| Object[] | toArray()Get the content as an Object array | 
@Nullable <T> T get(int index, Class<T> type)
T - index - type - @Nullable <T> T get(Expression<T> expr)
T - expr - int size()
Object[] toArray()
boolean equals(Object o)
Arrays.equals(Object[], Object[]) with toArray() as parameters.equals in class ObjectObject.equals(Object)int hashCode()
Arrays.hashCode(Object[]) with toArray() as parameter.hashCode in class ObjectObject.hashCode()Copyright © 2007–2015 Querydsl. All rights reserved.