com.metamatrix.query.processor.relational
Class RelationalNodeStatistics

java.lang.Object
  extended by com.metamatrix.query.processor.relational.RelationalNodeStatistics
All Implemented Interfaces:
Describable

public class RelationalNodeStatistics
extends java.lang.Object
implements Describable

Since:
4.2

Field Summary
 
Fields inherited from interface com.metamatrix.query.processor.Describable
PROP_BINDINGS, PROP_CHILDREN, PROP_CONDITIONS, PROP_CRITERIA, PROP_DATA_COL, PROP_DEFAULT, PROP_DEFAULT_PROGRAM, PROP_ELSE, PROP_ENCODING, PROP_EXECUTION_PLAN, PROP_EXPRESSION, PROP_FORMATTED, PROP_GROUP, PROP_GROUP_COLS, PROP_IN_MEMORY, PROP_INTO_GROUP, PROP_IS_STAGING, PROP_JOIN_CRITERIA, PROP_JOIN_STRATEGY, PROP_JOIN_TYPE, PROP_MESSAGE, PROP_MODEL_NAME, PROP_NAMESPACE, PROP_NAMESPACE_DECL, PROP_NODE_COST_ESTIMATES, PROP_NODE_STATS_LIST, PROP_NODE_STATS_PROPS, PROP_OPTIONAL, PROP_OUTPUT_COLS, PROP_PROGRAM, PROP_PROGRAMS, PROP_RECURSE_DIR, PROP_REMOVE_DUPS, PROP_RESULT_SET, PROP_ROW_LIMIT, PROP_ROW_OFFSET, PROP_SELECT_COLS, PROP_SORT_COLS, PROP_SQL, PROP_TAG, PROP_THEN, PROP_TYPE, PROP_VARIABLE
 
Constructor Summary
RelationalNodeStatistics()
           
 
Method Summary
 void collectCumulativeNodeStats(TupleBatch batch, int stopType)
           
 void collectNodeStats(RelationalNode[] relationalNodes, java.lang.String className)
           
 long getBatchEndTime()
           
 long getBatchStartTime()
           
 java.util.Map getDescriptionProperties()
          Get a description as a set of properties of primitive types such as String, Integer, etc.
 int getNodeBlocks()
           
 long getNodeCumulativeNextBatchProcessingTime()
           
 long getNodeCumulativeProcessingTime()
           
 long getNodeEndTime()
           
 int getNodeNextBatchCalls()
           
 int getNodeOutputRows()
           
 long getNodeProcessingTime()
           
 long getNodeStartTime()
           
 java.util.List getStatisticsList()
           
 void reset()
           
 void setDescriptionProperties()
           
 void setStatisticsList()
           
 void startBatchTimer()
           
 void stopBatchTimer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationalNodeStatistics

public RelationalNodeStatistics()
Method Detail

startBatchTimer

public void startBatchTimer()

stopBatchTimer

public void stopBatchTimer()

collectCumulativeNodeStats

public void collectCumulativeNodeStats(TupleBatch batch,
                                       int stopType)

collectNodeStats

public void collectNodeStats(RelationalNode[] relationalNodes,
                             java.lang.String className)

setDescriptionProperties

public void setDescriptionProperties()

getDescriptionProperties

public java.util.Map getDescriptionProperties()
Description copied from interface: Describable
Get a description as a set of properties of primitive types such as String, Integer, etc.

Specified by:
getDescriptionProperties in interface Describable
Returns:
Map of properties

setStatisticsList

public void setStatisticsList()

getStatisticsList

public java.util.List getStatisticsList()

reset

public void reset()

getNodeBlocks

public int getNodeBlocks()
Returns:
Returns the nodeBlocks.
Since:
4.2

getNodeCumulativeNextBatchProcessingTime

public long getNodeCumulativeNextBatchProcessingTime()
Returns:
Returns the nodeCumulativeNextBatchProcessingTime.
Since:
4.2

getNodeCumulativeProcessingTime

public long getNodeCumulativeProcessingTime()
Returns:
Returns the nodeCumulativeProcessingTime.
Since:
4.2

getNodeEndTime

public long getNodeEndTime()
Returns:
Returns the nodeEndTime.
Since:
4.2

getNodeNextBatchCalls

public int getNodeNextBatchCalls()
Returns:
Returns the nodeNextBatchCalls.
Since:
4.2

getNodeOutputRows

public int getNodeOutputRows()
Returns:
Returns the nodeOutputRows.
Since:
4.2

getNodeProcessingTime

public long getNodeProcessingTime()
Returns:
Returns the nodeProcessingTime.
Since:
4.2

getNodeStartTime

public long getNodeStartTime()
Returns:
Returns the nodeStartTime.
Since:
4.2

getBatchEndTime

public long getBatchEndTime()
Returns:
Returns the batchEndTime.
Since:
4.2

getBatchStartTime

public long getBatchStartTime()
Returns:
Returns the batchStartTime.
Since:
4.2


Copyright © 2009. All Rights Reserved.