Use of VirtualTableInterface to provide support for DatabaseMetaData.getProcedureColumns().
This class is called from a Query constructed in java/org.apache.derby.impl.jdbc/metadata.properties: The VTI will return columns 3-14, an extra column to the specification METHOD_ID is returned to distinguish between overloaded methods.
| Modifier and Type | Field and Description |
|---|---|
| private static final ResultColumnDescriptor[] | |
| private String | |
| private short | |
| private boolean | |
| private boolean | |
| private static final ResultSetMetaData | |
| private short | |
| private final short | |
| private short | |
| private int | |
| private RoutineAliasInfo | |
| private int | |
| private int | |
| private TypeDescriptor | |
| private TypeDescriptor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. Releases this |
| public int | getInt(int
the first column is 1, the second is 2, ... column)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public ResultSetMetaData | getMetaData()
Overrides org. Implements java. Retrieves the number, types and properties of
this |
| public short | getShort(int
the first column is 1, the second is 2, ... column)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public String | getString(int
the first column is 1, the second is 2, ... column)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public boolean | next()
Implements java. Moves the cursor forward one row from its current position. |
| private int |
| columnInfo | back to summary |
|---|---|
| private static final ResultColumnDescriptor[] columnInfo | |
| columnName | back to summary |
|---|---|
| private String columnName | |
| columnType | back to summary |
|---|---|
| private short columnType | |
| isFunction | back to summary |
|---|---|
| private boolean isFunction | |
| isProcedure | back to summary |
|---|---|
| private boolean isProcedure | |
| metadata | back to summary |
|---|---|
| private static final ResultSetMetaData metadata | |
| method_count | back to summary |
|---|---|
| private short method_count | |
| nullable | back to summary |
|---|---|
| private final short nullable | |
| param_number | back to summary |
|---|---|
| private short param_number | |
| paramCursor | back to summary |
|---|---|
| private int paramCursor | |
| procedure | back to summary |
|---|---|
| private RoutineAliasInfo procedure | |
| returnedTableColumnCount | back to summary |
|---|---|
| private int returnedTableColumnCount | |
| rowCount | back to summary |
|---|---|
| private int rowCount | |
| sqlType | back to summary |
|---|---|
| private TypeDescriptor sqlType | |
| tableFunctionReturnType | back to summary |
|---|---|
| private TypeDescriptor tableFunctionReturnType | |
| GetProcedureColumns | back to summary |
|---|---|
| public GetProcedureColumns(AliasInfo aliasInfo, String aliasType) throws SQLException | |
| close | back to summary |
|---|---|
| public void close() Implements java. Doc from java. Releases this The closing of a
When a Note A
Calling the method | |
| getInt | back to summary |
|---|---|
| public int getInt(int column) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getMetaData | back to summary |
|---|---|
| public ResultSetMetaData getMetaData() Overrides org. Implements java. Doc from java. Retrieves the number, types and properties of
this
| |
| getShort | back to summary |
|---|---|
| public short getShort(int column) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getString | back to summary |
|---|---|
| public String getString(int column) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| next | back to summary |
|---|---|
| public boolean next() throws SQLException Implements java. Doc from java. Moves the cursor forward one row from its current position.
A
When a call to the If an input stream is open for the current row, a call
to the method
| |
| translate | back to summary |
|---|---|
| private int translate(int val) | |