|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFastPath
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 |
---|
static final int SCAN_COMPLETED
static final int GOT_ROW
static final int NEED_RS
Method Detail |
---|
boolean executeAsFastPath() throws StandardException, java.sql.SQLException
StandardException
java.sql.SQLException
int nextRow(DataValueDescriptor[] row) throws StandardException, java.sql.SQLException
StandardException
java.sql.SQLException
void currentRow(java.sql.ResultSet rs, DataValueDescriptor[] row) throws StandardException, java.sql.SQLException
StandardException
java.sql.SQLException
void rowsDone() throws StandardException, java.sql.SQLException
StandardException
java.sql.SQLException
|
Built on Thu 2012-03-29 21:53:33+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |