com.ibm.websphere.ejbquery
Class IQueryTuple
- java.lang.Object
com.ibm.websphere.ejbquery.IQueryTuple
- public abstract class IQueryTuple
- extends java.lang.Object
returns a collection of IQueryTuples each of which contain two values. The number of values and their labels ( "pay" and "employee" in the example ) can be obtained from the iterator.select e.salary+e.bonus as pay, object(e) as employee from EmpBean e
See Also:
QueryIterator.getFieldsCount()
,
QueryIterator.getFieldName(int)
,
QueryLocalIterator.getFieldsCount()
,
QueryLocalIterator.getFieldName(int)
Constructor Summary
Constructor and Description |
---|
IQueryTuple()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getObject(int col)
value of the nth element in the SELECT clause.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
IQueryTuple
- public IQueryTuple()
Method Detail
getObject
- public abstract java.lang.Object getObject( int col)
value of the nth element in the SELECT clause. n=1 is the first element.