public interface IFastPath
| Modifier and Type | Field | Description |
|---|---|---|
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.
|
| Modifier and Type | Method | Description |
|---|---|---|
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).
|
static final int SCAN_COMPLETED
static final int GOT_ROW
static final int NEED_RS
boolean executeAsFastPath()
throws StandardException,
java.sql.SQLException
StandardExceptionjava.sql.SQLExceptionint nextRow(DataValueDescriptor[] row) throws StandardException, java.sql.SQLException
StandardExceptionjava.sql.SQLExceptionvoid currentRow(java.sql.ResultSet rs,
DataValueDescriptor[] row)
throws StandardException,
java.sql.SQLException
StandardExceptionjava.sql.SQLExceptionvoid rowsDone()
throws StandardException,
java.sql.SQLException
StandardExceptionjava.sql.SQLExceptionApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.