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

public Class RealDistinctScanStatistics

extends RealHashScanStatistics
Class Inheritance
Imports
org.apache.derby.iapi.util.PropertyUtil, .StringUtil, org.apache.derby.shared.common.i18n.MessageService, org.apache.derby.catalog.UUID, org.apache.derby.impl.sql.execute.xplain.XPLAINUtil, org.apache.derby.iapi.sql.execute.xplain.XPLAINVisitor, org.apache.derby.shared.common.reference.SQLState, java.util.Enumeration, .Hashtable, .Properties

ResultSetStatistics implemenation for DistinctScanResultSet.

Field Summary

Inherited from org.apache.derby.impl.sql.execute.rts.RealHashScanStatistics:
hashKeyColumnshashtableSizeindexNameisConstraintisolationLevellockStringnextQualifiersscanPropertiesscanQualifiersstartPositionstopPositiontableName

Constructor Summary

AccessConstructor and Description
public
RealDistinctScanStatistics(int numOpens, int rowsSeen, int rowsFiltered, long constructorTime, long openTime, long nextTime, long closeTime, int resultSetNumber, String tableName, String indexName, boolean isConstraint, int hashtableSize, int[] hashKeyColumns, String scanQualifiers, String nextQualifiers, Properties scanProperties, String startPosition, String stopPosition, String isolationLevel, String lockString, double optimizerEstimatedRowCount, double optimizerEstimatedCost)

Method Summary

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

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

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

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

public String
getNodeName()

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

Format for display, a name for this node.

public String
getNodeOn()

Overrides org.apache.derby.impl.sql.execute.rts.RealHashScanStatistics.getNodeOn.

If this node is on a database item (like a table or an index), then provide a string that describes the on item.

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.RealHashScanStatistics.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 executio plan as a String.
getStatementExecutionPlanText
(int
Indentation level.
depth
)

Overrides org.apache.derby.impl.sql.execute.rts.RealHashScanStatistics.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.RealHashScanStatistics.toString.

Returns a string representation of the object.

Inherited from org.apache.derby.impl.sql.execute.rts.RealHashScanStatistics:
getResultSetDescriptorgetRSXplainDetailsgetScanPropsDescriptor

Constructor Detail

RealDistinctScanStatisticsback to summary
public RealDistinctScanStatistics(int numOpens, int rowsSeen, int rowsFiltered, long constructorTime, long openTime, long nextTime, long closeTime, int resultSetNumber, String tableName, String indexName, boolean isConstraint, int hashtableSize, int[] hashKeyColumns, String scanQualifiers, String nextQualifiers, Properties scanProperties, String startPosition, String stopPosition, String isolationLevel, String lockString, double optimizerEstimatedRowCount, double optimizerEstimatedCost)

Method Detail

acceptback to summary
public void accept(XPLAINVisitor visitor)

Overrides org.apache.derby.impl.sql.execute.rts.RealHashScanStatistics.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.

getNodeNameback to summary
public String getNodeName()

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

Format for display, a name for this node.

getNodeOnback to summary
public String getNodeOn()

Overrides org.apache.derby.impl.sql.execute.rts.RealHashScanStatistics.getNodeOn.

If this node is on a database item (like a table or an index), then provide a string that describes the on item.

getRSXplainTypeback to summary
public String getRSXplainType()

Overrides org.apache.derby.impl.sql.execute.rts.RealHashScanStatistics.getRSXplainType.

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

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

Overrides org.apache.derby.impl.sql.execute.rts.RealHashScanStatistics.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.RealHashScanStatistics.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 executio plan as a String.

toStringback to summary
public String toString()

Overrides org.apache.derby.impl.sql.execute.rts.RealHashScanStatistics.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