Top Description Fields Constructors Methods
org.apache.derby.impl.sql.execute.rts

public Class RealDistinctScalarAggregateStatistics

extends RealScalarAggregateStatistics
Class Inheritance
Imports
org.apache.derby.iapi.sql.execute.ResultSetStatistics, org.apache.derby.shared.common.i18n.MessageService, org.apache.derby.impl.sql.execute.xplain.XPLAINUtil, org.apache.derby.iapi.sql.execute.xplain.XPLAINVisitor, org.apache.derby.shared.common.reference.SQLState

ResultSetStatistics implemenation for DistinctScalarAggregateResultSet.

Field Summary

Inherited from org.apache.derby.impl.sql.execute.rts.RealScalarAggregateStatistics:
childResultSetStatisticsindexKeyOptimizationrowsInput

Constructor Summary

AccessConstructor and Description
public
RealDistinctScalarAggregateStatistics(int numOpens, int rowsSeen, int rowsFiltered, long constructorTime, long openTime, long nextTime, long closeTime, int resultSetNumber, int rowsInput, double optimizerEstimatedRowCount, double optimizerEstimatedCost, ResultSetStatistics childResultSetStatistics)

Method Summary

Modifier and TypeMethod and Description
public void
accept(XPLAINVisitor visitor)

Overrides org.apache.derby.impl.sql.execute.rts.RealScalarAggregateStatistics.accept.

Implements org.apache.derby.iapi.sql.execute.xplain.XPLAINable.accept.

This method gets called to let a visitor visit this XPLAINable object.

public Vector<ResultSetStatistics>
getChildren()

Overrides org.apache.derby.impl.sql.execute.rts.RealScalarAggregateStatistics.getChildren.

Get the objects to be displayed when this tree object is expanded.

public String
public String
public String

Returns:

String The information on the scan nodes from the statement execution plan as a String.
getScanStatisticsText
(String
if not NULL then print information for this table only
tableName
,
int
Indentation level.
depth
)

Overrides org.apache.derby.impl.sql.execute.rts.RealScalarAggregateStatistics.getScanStatisticsText.

Implements org.apache.derby.iapi.sql.execute.ResultSetStatistics.getScanStatisticsText.

Return information on the scan nodes from the statement execution plan as a String.

public String

Returns:

String The statement execution plan as a String.
getStatementExecutionPlanText
(int
Indentation level.
depth
)

Overrides org.apache.derby.impl.sql.execute.rts.RealScalarAggregateStatistics.getStatementExecutionPlanText.

Implements org.apache.derby.iapi.sql.execute.ResultSetStatistics.getStatementExecutionPlanText.

Return the statement execution plan as a String.

public String
toString()

Overrides org.apache.derby.impl.sql.execute.rts.RealScalarAggregateStatistics.toString.

Returns a string representation of the object.

Inherited from org.apache.derby.impl.sql.execute.rts.RealScalarAggregateStatistics:
getResultSetDescriptorgetRSXplainType

Constructor Detail

RealDistinctScalarAggregateStatisticsback to summary
public RealDistinctScalarAggregateStatistics(int numOpens, int rowsSeen, int rowsFiltered, long constructorTime, long openTime, long nextTime, long closeTime, int resultSetNumber, int rowsInput, double optimizerEstimatedRowCount, double optimizerEstimatedCost, ResultSetStatistics childResultSetStatistics)

Method Detail

acceptback to summary
public void accept(XPLAINVisitor visitor)

Overrides org.apache.derby.impl.sql.execute.rts.RealScalarAggregateStatistics.accept.

Implements org.apache.derby.iapi.sql.execute.xplain.XPLAINable.accept.

Doc from org.apache.derby.iapi.sql.execute.xplain.XPLAINable.accept.

This method gets called to let a visitor visit this XPLAINable object. The general contract is to implement pre-order, depth-first traversal to produce a predictable traversal behaviour.

getChildrenback to summary
public Vector<ResultSetStatistics> getChildren()

Overrides org.apache.derby.impl.sql.execute.rts.RealScalarAggregateStatistics.getChildren.

Doc from org.apache.derby.impl.sql.execute.rts.RealBasicNoPutResultSetStatistics.getChildren.

Get the objects to be displayed when this tree object is expanded.

The objects returned can be of any type, including addtional Inspectables.

Returns:Vector<ResultSetStatistics>

java.util.Vector A vector of objects.

getNodeNameback to summary
public String getNodeName()

Overrides org.apache.derby.impl.sql.execute.rts.RealScalarAggregateStatistics.getNodeName.

Format for display, a name for this node.

getRSXplainDetailsback to summary
public String getRSXplainDetails()

Overrides org.apache.derby.impl.sql.execute.rts.RealBasicNoPutResultSetStatistics.getRSXplainDetails.

Implements org.apache.derby.iapi.sql.execute.xplain.XPLAINable.getRSXplainDetails.

getScanStatisticsTextback to summary
public String getScanStatisticsText(String tableName, int depth)

Overrides org.apache.derby.impl.sql.execute.rts.RealScalarAggregateStatistics.getScanStatisticsText.

Implements org.apache.derby.iapi.sql.execute.ResultSetStatistics.getScanStatisticsText.

Return information on the scan nodes from the statement execution plan as a String.

Parameters
tableName:String

if not NULL then print information for this table only

depth:int

Indentation level.

Returns:String

String The information on the scan nodes from the statement execution plan as a String.

getStatementExecutionPlanTextback to summary
public String getStatementExecutionPlanText(int depth)

Overrides org.apache.derby.impl.sql.execute.rts.RealScalarAggregateStatistics.getStatementExecutionPlanText.

Implements org.apache.derby.iapi.sql.execute.ResultSetStatistics.getStatementExecutionPlanText.

Return the statement execution plan as a String.

Parameters
depth:int

Indentation level.

Returns:String

String The statement execution plan as a String.

toStringback to summary
public String toString()

Overrides org.apache.derby.impl.sql.execute.rts.RealScalarAggregateStatistics.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object