public class AbstractEntityManagerImpl.TupleBuilderTransformer.HqlTupleImpl extends Object implements Tuple
Constructor and Description |
---|
HqlTupleImpl(Object[] tuple) |
Modifier and Type | Method and Description |
---|---|
Object |
get(int i)
Get the value of the element at the specified
position in the result tuple.
|
<X> X |
get(int i,
Class<X> type)
Get the value of the element at the specified
position in the result tuple.
|
Object |
get(String alias)
Get the value of the tuple element to which the
specified alias has been assigned.
|
<X> X |
get(String alias,
Class<X> type)
Get the value of the tuple element to which the
specified alias has been assigned.
|
<X> X |
get(TupleElement<X> tupleElement)
Get the value of the specified tuple element.
|
List<TupleElement<?>> |
getElements()
Return the tuple elements.
|
Object[] |
toArray()
Return the values of the result tuple elements as an array.
|
public HqlTupleImpl(Object[] tuple)
public <X> X get(String alias, Class<X> type)
Tuple
public Object get(String alias)
Tuple
public <X> X get(int i, Class<X> type)
Tuple
public Object get(int i)
Tuple
public Object[] toArray()
Tuple
public List<TupleElement<?>> getElements()
Tuple
getElements
in interface Tuple
public <X> X get(TupleElement<X> tupleElement)
Tuple
Copyright © 2016 JBoss by Red Hat. All rights reserved.