| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | CriteriaQueryTupleTransformer(List<ValueHandlerFactory.
|
| Modifier and Type | Method and Description |
|---|---|
| public Object | transformTuple(Object[]
The result elements tuple, String[] The result aliases ("parallel" array to tuple) aliases)Overrides org. Implements org. |
| tupleElements | back to summary |
|---|---|
| private final List<E> tupleElements | |
| valueHandlers | back to summary |
|---|---|
| private final List<ValueHandlerFactory. | |
| CriteriaQueryTupleTransformer | back to summary |
|---|---|
| public CriteriaQueryTupleTransformer(List<ValueHandlerFactory. | |
| transformTuple | back to summary |
|---|---|
| public Object transformTuple(Object[] tuple, String[] aliases) Overrides org. Implements org. Doc from org. Tuples are the elements making up each "row" of the query result. The contract here is to transform these elements into the final row. | |
| Modifier and Type | Method and Description |
|---|---|
| private <X> boolean | |
| public <X> X | get(TupleElement<X>
tuple element tupleElement)Implements javax. |
| public Object | get(String
alias assigned to tuple element alias)Implements javax. |
| public <X> X | get(String
alias assigned to tuple element alias, Class<X> of the tuple element type)Implements javax. |
| public Object | get(int
position in result tuple i)Implements javax. |
| public <X> X | get(int
position in result tuple i, Class<X> type of the tuple element type)Implements javax. |
| public List | |
| public Object[] | toArray()
Implements javax. |
| tuples | back to summary |
|---|---|
| private final Object[] tuples | |
| TupleImpl | back to summary |
|---|---|
| private TupleImpl(Object[] tuples) | |
| elementTypeMatches | back to summary |
|---|---|
| private <X> boolean elementTypeMatches(Class<X> type, Object untyped) | |
| get | back to summary |
|---|---|
| public <X> X get(TupleElement<X> tupleElement) Implements javax. Doc from javax. Get the value of the specified tuple element.
| |
| get | back to summary |
|---|---|
| public Object get(String alias) Implements javax. Doc from javax. Get the value of the tuple element to which the specified alias has been assigned. | |
| get | back to summary |
|---|---|
| public <X> X get(String alias, Class<X> type) Implements javax. Doc from javax. Get the value of the tuple element to which the specified alias has been assigned. | |
| get | back to summary |
|---|---|
| public Object get(int i) Implements javax. Doc from javax. Get the value of the element at the specified position in the result tuple. The first position is 0.
| |
| get | back to summary |
|---|---|
| public <X> X get(int i, Class<X> type) Implements javax. Doc from javax. Get the value of the element at the specified position in the result tuple. The first position is 0.
| |
| getElements | back to summary |
|---|---|
| public List Implements javax. Doc from javax. Return the tuple elements.
| |
| toArray | back to summary |
|---|---|
| public Object[] toArray() Implements javax. Doc from javax. Return the values of the result tuple elements as an array.
| |