org.eigenbase.oj.stmt
Interface PreparedResult
- All Known Implementing Classes:
- PreparedExecution, PreparedExplanation
public interface PreparedResult
PreparedResult represents the result of a call to OJPreparingStmt.prepareSql.
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/oj/stmt/PreparedResult.java#12 $
- Author:
- John V. Sichi
getCode
String getCode()
- Returns:
- the code generated by preparation
isDml
boolean isDml()
- Returns:
- true iff this result is for a DML statement, in which case the
result set is one row with one column containing the number of rows
affected.
getTableModOp
TableModificationRelBase.Operation getTableModOp()
- Returns:
- the table modification operation corresponding to this statement
if it is a table modification statement; otherwise null
execute
Object execute()
- Executes the prepared result.
- Returns:
- producer of rows resulting from execution