|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An internal api for VTIs to allow VTI's written in terms of the datatype system, e.g. returning rows. This allows passing of data from the VTI into the query engine without a conversion through a JDBC ResultSet.
Field Summary | |
static int |
GOT_ROW
Indicates nextRow() found a row.. |
static int |
NEED_RS
Indicates nextRow() has completed its scan but executeQuery must be called to complete the query. |
static int |
SCAN_COMPLETED
Indicates nextRow() has completed its scan. |
Method Summary | |
void |
currentRow(java.sql.ResultSet rs,
DataValueDescriptor[] row)
A call from the VTI execution layer back into the supplied VTI. |
boolean |
executeAsFastPath()
Start a query. |
int |
nextRow(DataValueDescriptor[] row)
When operating in fast path mode return the next row into the passed in row parameter. |
void |
rowsDone()
Called once the ResultSet returned by executeQuery() has emptied all of its rows (next() has returned false). |
Field Detail |
public static final int SCAN_COMPLETED
public static final int GOT_ROW
public static final int NEED_RS
Method Detail |
public boolean executeAsFastPath() throws StandardException, java.sql.SQLException
StandardException
java.sql.SQLException
public int nextRow(DataValueDescriptor[] row) throws StandardException, java.sql.SQLException
StandardException
java.sql.SQLException
public void currentRow(java.sql.ResultSet rs, DataValueDescriptor[] row) throws StandardException, java.sql.SQLException
StandardException
java.sql.SQLException
public void rowsDone() throws StandardException, java.sql.SQLException
StandardException
java.sql.SQLException
|
Built on Mon 2007-06-04 09:58:47+0400, from revision ??? | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |