saffron
Class PreparedExplanation
java.lang.Object
|
+--saffron.PreparedExplanation
- All Implemented Interfaces:
- PreparedResult
- public class PreparedExplanation
- extends Object
- implements PreparedResult
PreparedExplanation is a PreparedResult for an EXPLAIN PLAN statement.
It's always good to have an explanation prepared.
- Version:
- $Id: //open/saffron/src/main/saffron/PreparedExplanation.java#2 $
- Author:
- John V. Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rel
private final Rel rel
PreparedExplanation
PreparedExplanation(Rel rel)
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