org.exolab.castor.jdo.engine

Class SimpleQueryExecutor.SimpleQueryResults

public class SimpleQueryExecutor.SimpleQueryResults extends Object implements QueryResults

Constructor Summary
SimpleQueryResults()
Method Summary
booleanabsolute(int row)
use the jdbc 2.0 method to move to an absolute position in the resultset.
voidclose()
protected voidfinalize()
booleanhasMore()
booleanhasMoreElements()
Objectnext()
ObjectnextElement()
intsize()
Uses the underlying db's cursors to most to the last row in the result set, get the row number via getRow(), then move back to where ever the user was positioned in the resultset.

Constructor Detail

SimpleQueryResults

public SimpleQueryResults()

Method Detail

absolute

public boolean absolute(int row)
use the jdbc 2.0 method to move to an absolute position in the resultset.

close

public void close()

finalize

protected void finalize()

hasMore

public boolean hasMore()

hasMoreElements

public boolean hasMoreElements()

next

public Object next()

nextElement

public Object nextElement()

size

public int size()
Uses the underlying db's cursors to most to the last row in the result set, get the row number via getRow(), then move back to where ever the user was positioned in the resultset.
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com