|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Support for pushing SQL statement information
down into a virtual table.
A read-write virtual tables (one that implements java.sql.PreparedStatement)
implements this interface to support pushing information into the VTI.
Read-only VTIs (those that implement java.sql.ResultSet) do not support the Pushable interface.
Method Summary | |
boolean |
pushProjection(VTIEnvironment vtiEnvironment,
int[] projectedColumns)
Indicates the columns that must be returned by a read-write VTI's ResultSet. |
Method Detail |
public boolean pushProjection(VTIEnvironment vtiEnvironment, int[] projectedColumns) throws java.sql.SQLException
PreparedStatement's ResultSetMetaData column list {"id", "desc", "price", "tax", "brand"}
projectedColumns = { 2, 3, 5}
results in a ResultSet containing at least these 3 columns
{"desc", "price", "brand"}
The JDBC column numbering scheme (1 based) ise used for projectedColumns.
java.sql.SQLException
- Error processing the request.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |