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

Field Summary
private  Rel rel
           
 
Constructor Summary
(package private) PreparedExplanation(Rel rel)
           
 
Method Summary
 Object execute()
          Execute the prepared result.
 String getCode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rel

private final Rel rel
Constructor Detail

PreparedExplanation

PreparedExplanation(Rel rel)
Method Detail

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

SourceForge.net_Logo