net.sf.farrago.query
Class FarragoExecutableExplainStmt
java.lang.Object
org.eigenbase.util.CompoundClosableAllocation
net.sf.farrago.util.FarragoCompoundAllocation
net.sf.farrago.query.FarragoExecutableStmtImpl
net.sf.farrago.query.FarragoExecutableExplainStmt
- All Implemented Interfaces:
- FarragoSessionExecutableStmt, FarragoAllocation, FarragoAllocationOwner, ClosableAllocation, ClosableAllocationOwner
class FarragoExecutableExplainStmt
- extends FarragoExecutableStmtImpl
FarragoExecutableExplainStmt implements FarragoSessionExecutableStmt for an
EXPLAIN PLAN statement.
NOTE: be sure to read superclass warnings before modifying this class.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/query/FarragoExecutableExplainStmt.java#15 $
- Author:
- John V. Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
explanation
private final String explanation
FarragoExecutableExplainStmt
FarragoExecutableExplainStmt(RelDataType dynamicParamRowType,
String explanation)
getRowType
public RelDataType getRowType()
- Returns:
- type descriptor for rows produced by this stmt
execute
public ResultSet execute(FarragoSessionRuntimeContext runtimeContext)
- Description copied from interface:
FarragoSessionExecutableStmt
- Executes this statement.
- Parameters:
runtimeContext
- context in which to execute
- Returns:
- ResultSet produced by statement
getMemoryUsage
public long getMemoryUsage()
- Returns:
- approximate total number of bytes used by this statement's
in-memory representation