org.apache.derby.impl.sql.execute.rts
Class RealNestedLoopLeftOuterJoinStatistics

java.lang.Object
  extended by org.apache.derby.impl.sql.execute.rts.RealBasicNoPutResultSetStatistics
      extended by org.apache.derby.impl.sql.execute.rts.RealNoPutResultSetStatistics
          extended by org.apache.derby.impl.sql.execute.rts.RealJoinResultSetStatistics
              extended by org.apache.derby.impl.sql.execute.rts.RealNestedLoopJoinStatistics
                  extended by org.apache.derby.impl.sql.execute.rts.RealNestedLoopLeftOuterJoinStatistics
All Implemented Interfaces:
XPLAINable, ResultSetStatistics
Direct Known Subclasses:
RealHashLeftOuterJoinStatistics

public class RealNestedLoopLeftOuterJoinStatistics
extends RealNestedLoopJoinStatistics

ResultSetStatistics implemenation for NestedLoopLeftOuterJoinResultSet.


Field Summary
 int emptyRightRowsReturned
           
 
Fields inherited from class org.apache.derby.impl.sql.execute.rts.RealNestedLoopJoinStatistics
leftResultSetStatistics, nodeName, oneRowRightSide, resultSetName, rightResultSetStatistics
 
Fields inherited from class org.apache.derby.impl.sql.execute.rts.RealJoinResultSetStatistics
restrictionTime, rowsReturned, rowsSeenLeft, rowsSeenRight, userSuppliedOptimizerOverrides
 
Fields inherited from class org.apache.derby.impl.sql.execute.rts.RealNoPutResultSetStatistics
indent, resultSetNumber, sourceDepth, subIndent
 
Fields inherited from class org.apache.derby.impl.sql.execute.rts.RealBasicNoPutResultSetStatistics
closeTime, constructorTime, inspectDesc, inspectNum, inspectOverall, nextTime, numOpens, openTime, optimizerEstimatedCost, optimizerEstimatedRowCount, rowsFiltered, rowsSeen
 
Constructor Summary
RealNestedLoopLeftOuterJoinStatistics(int numOpens, int rowsSeen, int rowsFiltered, long constructorTime, long openTime, long nextTime, long closeTime, int resultSetNumber, int rowsSeenLeft, int rowsSeenRight, int rowsReturned, long restrictionTime, double optimizerEstimatedRowCount, double optimizerEstimatedCost, java.lang.String userSuppliedOptimizerOverrides, ResultSetStatistics leftResultSetStatistics, ResultSetStatistics rightResultSetStatistics, int emptyRightRowsReturned)
           
 
Method Summary
 java.lang.Object getResultSetDescriptor(java.lang.Object rsID, java.lang.Object parentID, java.lang.Object scanID, java.lang.Object sortID, java.lang.Object stmtID, java.lang.Object timingID)
           
 java.lang.String getRSXplainDetails()
           
 java.lang.String getRSXplainType()
           
 java.lang.String getScanStatisticsText(java.lang.String tableName, int depth)
          Return information on the scan nodes from the statement execution plan as a String.
 java.lang.String getStatementExecutionPlanText(int depth)
          Return the statement execution plan as a String.
protected  void setNames()
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.derby.impl.sql.execute.rts.RealNestedLoopJoinStatistics
accept, getChildren, getNodeName
 
Methods inherited from class org.apache.derby.impl.sql.execute.rts.RealJoinResultSetStatistics
getResultSetTimingsDescriptor
 
Methods inherited from class org.apache.derby.impl.sql.execute.rts.RealNoPutResultSetStatistics
initFormatInfo
 
Methods inherited from class org.apache.derby.impl.sql.execute.rts.RealBasicNoPutResultSetStatistics
dumpEstimatedCosts, dumpTimeStats, getChildrenTime, getEstimatedRowCount, getNodeOn, getNodeTime, getScanPropsDescriptor, getSortPropsDescriptor, getTotalTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

emptyRightRowsReturned

public int emptyRightRowsReturned
Constructor Detail

RealNestedLoopLeftOuterJoinStatistics

public RealNestedLoopLeftOuterJoinStatistics(int numOpens,
                                             int rowsSeen,
                                             int rowsFiltered,
                                             long constructorTime,
                                             long openTime,
                                             long nextTime,
                                             long closeTime,
                                             int resultSetNumber,
                                             int rowsSeenLeft,
                                             int rowsSeenRight,
                                             int rowsReturned,
                                             long restrictionTime,
                                             double optimizerEstimatedRowCount,
                                             double optimizerEstimatedCost,
                                             java.lang.String userSuppliedOptimizerOverrides,
                                             ResultSetStatistics leftResultSetStatistics,
                                             ResultSetStatistics rightResultSetStatistics,
                                             int emptyRightRowsReturned)
Method Detail

getStatementExecutionPlanText

public java.lang.String getStatementExecutionPlanText(int depth)
Return the statement execution plan as a String.

Specified by:
getStatementExecutionPlanText in interface ResultSetStatistics
Overrides:
getStatementExecutionPlanText in class RealNestedLoopJoinStatistics
Parameters:
depth - Indentation level.
Returns:
String The statement execution plan as a String.

getScanStatisticsText

public java.lang.String getScanStatisticsText(java.lang.String tableName,
                                              int depth)
Return information on the scan nodes from the statement execution plan as a String.

Specified by:
getScanStatisticsText in interface ResultSetStatistics
Overrides:
getScanStatisticsText in class RealNestedLoopJoinStatistics
Parameters:
depth - Indentation level.
tableName - if not NULL then print information for this table only
Returns:
String The information on the scan nodes from the statement execution plan as a String.

toString

public java.lang.String toString()
Overrides:
toString in class RealNestedLoopJoinStatistics

setNames

protected void setNames()
Overrides:
setNames in class RealNestedLoopJoinStatistics

getRSXplainType

public java.lang.String getRSXplainType()
Specified by:
getRSXplainType in interface XPLAINable
Overrides:
getRSXplainType in class RealNestedLoopJoinStatistics

getRSXplainDetails

public java.lang.String getRSXplainDetails()
Specified by:
getRSXplainDetails in interface XPLAINable
Overrides:
getRSXplainDetails in class RealNestedLoopJoinStatistics

getResultSetDescriptor

public java.lang.Object getResultSetDescriptor(java.lang.Object rsID,
                                               java.lang.Object parentID,
                                               java.lang.Object scanID,
                                               java.lang.Object sortID,
                                               java.lang.Object stmtID,
                                               java.lang.Object timingID)
Specified by:
getResultSetDescriptor in interface XPLAINable
Overrides:
getResultSetDescriptor in class RealJoinResultSetStatistics

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.