| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public class |
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private Map |
| Access | Constructor and Description |
|---|---|
| public |
| 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 List<TupleElement<?>> tupleElements | |
| tupleElementsByAlias | back to summary |
|---|---|
| private Map<String, TupleBuilderTransformer. | |
| TupleBuilderTransformer | back to summary |
|---|---|
| public TupleBuilderTransformer(Query<R> hqlQuery)
Deprecated as a consequence of | |
| 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 | Field and Description |
|---|---|
| private final String | |
| private final Type | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getAlias()
Implements javax. |
| public Type | |
| public Class | getJavaType()
Implements javax. |
| public int |
| alias | back to summary |
|---|---|
| private final String alias | |
| hibernateType | back to summary |
|---|---|
| private final Type hibernateType | |
| position | back to summary |
|---|---|
| private final int position | |
| HqlTupleElementImpl | back to summary |
|---|---|
| public HqlTupleElementImpl(int position, String alias, Type hibernateType) | |
| getAlias | back to summary |
|---|---|
| public String getAlias() Implements javax. Doc from javax. Return the alias assigned to the tuple element or null, if no alias has been assigned. | |
| getHibernateType | back to summary |
|---|---|
| public Type getHibernateType() | |
| getJavaType | back to summary |
|---|---|
| public Class Implements javax. Doc from javax. Return the Java type of the tuple element. | |
| getPosition | back to summary |
|---|---|
| public int getPosition() | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <X> X | get(String
alias assigned to tuple element alias, Class<X> of the tuple element type)Implements javax. |
| public Object | get(String
alias assigned to tuple element alias)Implements javax. |
| public <X> X | get(int
position in result tuple i, Class<X> type of the tuple element type)Implements javax. |
| public Object | get(int
position in result tuple i)Implements javax. |
| public <X> X | get(TupleElement<X>
tuple element tupleElement)Implements javax. |
| public List | |
| public Object[] | toArray()
Implements javax. |
| tuple | back to summary |
|---|---|
| private Object[] tuple | |
| HqlTupleImpl | back to summary |
|---|---|
| public HqlTupleImpl(Object[] tuple) | |
| 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(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(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. | |
| 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(TupleElement<X> tupleElement) Implements javax. Doc from javax. Get the value of the specified tuple element.
| |
| 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. | |