|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Tuple
Tuple defines an interface for generic query result projection
| Method Summary | ||
|---|---|---|
boolean |
equals(Object o)
All Tuples should override equals and hashCode. |
|
|
get(Expression<T> expr)
Get a tuple element by expression |
|
|
get(int index,
Class<T> type)
Get a Tuple element by index |
|
int |
hashCode()
All Tuples should override equals and hashCode. |
|
Object[] |
toArray()
Get the content as an Object array |
|
| Method Detail |
|---|
@Nullable
<T> T get(int index,
Class<T> type)
T - index - type -
@Nullable <T> T get(Expression<T> expr)
T - expr -
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||