com.ibm.websphere.ejbquery

Class IQueryTuple

  1. java.lang.Object
  2. extended bycom.ibm.websphere.ejbquery.IQueryTuple

  1. public abstract class IQueryTuple
  2. extends java.lang.Object
A record of values returned by the SELECT clause of the ejb query. For example the ejb query
     select e.salary+e.bonus as pay, object(e) as employee from EmpBean e
 
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.
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
  1. abstract
  2. java.lang.Object
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

  1. public IQueryTuple()

Method Detail

getObject

  1. public abstract java.lang.Object getObject( int col)
value of the nth element in the SELECT clause. n=1 is the first element.