saffron
Class PreparedExecution
java.lang.Object
|
+--saffron.PreparedExecution
- All Implemented Interfaces:
- PreparedResult
- public class PreparedExecution
- extends Object
- implements PreparedResult
PreparedExecution is a PreparedResult of a statement for which Java code was
generated by preparation.
- Version:
- $Id: //open/saffron/src/main/saffron/PreparedExecution.java#2 $
- Author:
- John V. Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
statement
private final Statement statement
decl
private final ClassDeclaration decl
parseTree
private final ParseTree parseTree
arguments
private final Statement.Argument[] arguments
rowType
private Type rowType
PreparedExecution
PreparedExecution(Statement statement,
ClassDeclaration decl,
ParseTree parseTree,
Statement.Argument[] arguments,
Type rowType)
execute
public Object execute()
- Description copied from interface:
PreparedResult
- Execute the prepared result.
- Specified by:
execute
in interface PreparedResult
- Returns:
- producer of rows resulting from execution
getCode
public String getCode()
- Specified by:
getCode
in interface PreparedResult
- Returns:
- the code generated by preparation
getRowType
public Type getRowType()