public class DummyOptTrace
extends java.lang.Object
implements org.apache.derby.iapi.sql.compile.OptTrace
| Modifier and Type | Class and Description |
|---|---|
static class |
DummyOptTrace.BadSubclass |
| Modifier and Type | Field and Description |
|---|---|
private java.lang.StringBuffer |
_buffer |
private static java.lang.String |
_fullTrace |
| Constructor and Description |
|---|
DummyOptTrace()
0-arg constructor required by OptTrace contract
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
fullTrace() |
void |
printToWriter(java.io.PrintWriter out) |
void |
traceAddingUnorderedOptimizable(int predicateCount) |
void |
traceChangingAccessPathForTable(int tableNumber) |
void |
traceCheapestPlanSoFar(int planType,
org.apache.derby.iapi.sql.compile.CostEstimate currentCost) |
void |
traceCompleteJoinOrder() |
void |
traceCompositeSelectivityFromStatistics(double statCompositeSelectivity) |
void |
traceConsideringConglomerate(org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptor cd,
int tableNumber) |
void |
traceConsideringJoinStrategy(org.apache.derby.iapi.sql.compile.JoinStrategy js,
int tableNumber) |
void |
traceConstantStartStopPositions() |
void |
traceCostIncludingCompositeSelectivityFromStats(org.apache.derby.iapi.sql.compile.CostEstimate cost,
int tableNumber) |
void |
traceCostIncludingExtra1stColumnSelectivity(org.apache.derby.iapi.sql.compile.CostEstimate cost,
int tableNumber) |
void |
traceCostIncludingExtraNonQualifierSelectivity(org.apache.derby.iapi.sql.compile.CostEstimate cost,
int tableNumber) |
void |
traceCostIncludingExtraQualifierSelectivity(org.apache.derby.iapi.sql.compile.CostEstimate cost,
int tableNumber) |
void |
traceCostIncludingExtraStartStop(org.apache.derby.iapi.sql.compile.CostEstimate cost,
int tableNumber) |
void |
traceCostIncludingStatsForIndex(org.apache.derby.iapi.sql.compile.CostEstimate cost,
int tableNumber) |
void |
traceCostOfConglomerateScan(int tableNumber,
org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptor cd,
org.apache.derby.iapi.sql.compile.CostEstimate costEstimate,
int numExtraFirstColumnPreds,
double extraFirstColumnSelectivity,
int numExtraStartStopPreds,
double extraStartStopSelectivity,
int startStopPredCount,
double statStartStopSelectivity,
int numExtraQualifiers,
double extraQualifierSelectivity,
int numExtraNonQualifiers,
double extraNonQualifierSelectivity) |
void |
traceCostOfNoncoveringIndex(org.apache.derby.iapi.sql.compile.CostEstimate cost,
int tableNumber) |
void |
traceCostOfNScans(int tableNumber,
double rowCount,
org.apache.derby.iapi.sql.compile.CostEstimate cost) |
void |
traceCostWithoutSortAvoidance(org.apache.derby.iapi.sql.compile.CostEstimate currentCost) |
void |
traceCostWithSortAvoidance(org.apache.derby.iapi.sql.compile.CostEstimate currentSortAvoidanceCost) |
void |
traceCurrentPlanAvoidsSort(org.apache.derby.iapi.sql.compile.CostEstimate bestCost,
org.apache.derby.iapi.sql.compile.CostEstimate currentSortAvoidanceCost) |
void |
traceEndQueryBlock() |
void |
traceEstimatingCostOfConglomerate(org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptor cd,
int tableNumber) |
void |
traceHashKeyColumns(int[] hashKeyColumns) |
void |
traceIllegalUserJoinOrder() |
void |
traceJoinOrderConsideration(int joinPosition,
int[] proposedJoinOrder,
org.apache.derby.iapi.util.JBitSet assignedTableMap) |
void |
traceLookingForSpecifiedIndex(java.lang.String indexName,
int tableNumber) |
void |
traceModifyingAccessPaths(int optimizerID) |
void |
traceNextAccessPath(java.lang.String baseTable,
int predicateCount) |
void |
traceNoBestPlan() |
void |
traceNoMoreConglomerates(int tableNumber) |
void |
traceNonCoveringIndexCost(double cost,
int tableNumber) |
void |
traceNoStartStopPosition() |
void |
traceOptimizingJoinNode() |
void |
traceRememberingBestAccessPath(org.apache.derby.iapi.sql.compile.AccessPath accessPath,
int tableNumber,
int planType) |
void |
traceRememberingBestAccessPathSubstring(org.apache.derby.iapi.sql.compile.AccessPath ap,
int tableNumber) |
void |
traceRememberingBestJoinOrder(int joinPosition,
int[] bestJoinOrder,
int planType,
org.apache.derby.iapi.sql.compile.CostEstimate planCost,
org.apache.derby.iapi.util.JBitSet assignedTableMap) |
void |
traceRememberingBestSortAvoidanceAccessPathSubstring(org.apache.derby.iapi.sql.compile.AccessPath ap,
int tableNumber) |
void |
traceRememberingBestUnknownAccessPathSubstring(org.apache.derby.iapi.sql.compile.AccessPath ap,
int tableNumber) |
void |
traceRememberingJoinStrategy(org.apache.derby.iapi.sql.compile.JoinStrategy joinStrategy,
int tableNumber) |
void |
traceScanningHeapWithUniqueKey() |
void |
traceShortCircuiting(boolean timeExceeded,
org.apache.derby.iapi.sql.compile.Optimizable thisOpt,
int joinPosition) |
void |
traceSingleMatchedRowCost(double cost,
int tableNumber) |
void |
traceSkipHashJoinNoHashKeys() |
void |
traceSkippingBecauseTooMuchMemory(int maxMemoryPerTable) |
void |
traceSkippingJoinOrder(int nextOptimizable,
int joinPosition,
int[] proposedJoinOrder,
org.apache.derby.iapi.util.JBitSet assignedTableMap) |
void |
traceSkipUnmaterializableHashJoin() |
void |
traceSortCost(org.apache.derby.iapi.sql.compile.CostEstimate sortCost,
org.apache.derby.iapi.sql.compile.CostEstimate currentCost) |
void |
traceSortNeededForOrdering(int planType,
org.apache.derby.iapi.sql.compile.RequiredRowOrdering requiredRowOrdering) |
void |
traceStartQueryBlock(long timeOptimizationStarted,
int optimizerID,
org.apache.derby.iapi.sql.compile.OptimizableList optimizableList) |
void |
traceStartStatement(java.lang.String statementText) |
void |
traceTimeout(long currentTime,
org.apache.derby.iapi.sql.compile.CostEstimate bestCost) |
void |
traceUserJoinOrderOptimized() |
void |
traceVacuous() |
private java.lang.StringBuffer _buffer
private static java.lang.String _fullTrace
public DummyOptTrace()
public static java.lang.String fullTrace()
public void traceStartStatement(java.lang.String statementText)
traceStartStatement in interface org.apache.derby.iapi.sql.compile.OptTracepublic void printToWriter(java.io.PrintWriter out)
printToWriter in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceStartQueryBlock(long timeOptimizationStarted,
int optimizerID,
org.apache.derby.iapi.sql.compile.OptimizableList optimizableList)
traceStartQueryBlock in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceEndQueryBlock()
traceEndQueryBlock in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceTimeout(long currentTime,
org.apache.derby.iapi.sql.compile.CostEstimate bestCost)
traceTimeout in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceVacuous()
traceVacuous in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceCompleteJoinOrder()
traceCompleteJoinOrder in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceSortCost(org.apache.derby.iapi.sql.compile.CostEstimate sortCost,
org.apache.derby.iapi.sql.compile.CostEstimate currentCost)
traceSortCost in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceNoBestPlan()
traceNoBestPlan in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceModifyingAccessPaths(int optimizerID)
traceModifyingAccessPaths in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceShortCircuiting(boolean timeExceeded,
org.apache.derby.iapi.sql.compile.Optimizable thisOpt,
int joinPosition)
traceShortCircuiting in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceSkippingJoinOrder(int nextOptimizable,
int joinPosition,
int[] proposedJoinOrder,
org.apache.derby.iapi.util.JBitSet assignedTableMap)
traceSkippingJoinOrder in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceIllegalUserJoinOrder()
traceIllegalUserJoinOrder in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceUserJoinOrderOptimized()
traceUserJoinOrderOptimized in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceJoinOrderConsideration(int joinPosition,
int[] proposedJoinOrder,
org.apache.derby.iapi.util.JBitSet assignedTableMap)
traceJoinOrderConsideration in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceCostWithoutSortAvoidance(org.apache.derby.iapi.sql.compile.CostEstimate currentCost)
traceCostWithoutSortAvoidance in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceCostWithSortAvoidance(org.apache.derby.iapi.sql.compile.CostEstimate currentSortAvoidanceCost)
traceCostWithSortAvoidance in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceCurrentPlanAvoidsSort(org.apache.derby.iapi.sql.compile.CostEstimate bestCost,
org.apache.derby.iapi.sql.compile.CostEstimate currentSortAvoidanceCost)
traceCurrentPlanAvoidsSort in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceCheapestPlanSoFar(int planType,
org.apache.derby.iapi.sql.compile.CostEstimate currentCost)
traceCheapestPlanSoFar in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceSortNeededForOrdering(int planType,
org.apache.derby.iapi.sql.compile.RequiredRowOrdering requiredRowOrdering)
traceSortNeededForOrdering in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceRememberingBestJoinOrder(int joinPosition,
int[] bestJoinOrder,
int planType,
org.apache.derby.iapi.sql.compile.CostEstimate planCost,
org.apache.derby.iapi.util.JBitSet assignedTableMap)
traceRememberingBestJoinOrder in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceSkippingBecauseTooMuchMemory(int maxMemoryPerTable)
traceSkippingBecauseTooMuchMemory in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceCostOfNScans(int tableNumber,
double rowCount,
org.apache.derby.iapi.sql.compile.CostEstimate cost)
traceCostOfNScans in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceSkipUnmaterializableHashJoin()
traceSkipUnmaterializableHashJoin in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceSkipHashJoinNoHashKeys()
traceSkipHashJoinNoHashKeys in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceHashKeyColumns(int[] hashKeyColumns)
traceHashKeyColumns in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceOptimizingJoinNode()
traceOptimizingJoinNode in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceConsideringJoinStrategy(org.apache.derby.iapi.sql.compile.JoinStrategy js,
int tableNumber)
traceConsideringJoinStrategy in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceRememberingBestAccessPath(org.apache.derby.iapi.sql.compile.AccessPath accessPath,
int tableNumber,
int planType)
traceRememberingBestAccessPath in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceNoMoreConglomerates(int tableNumber)
traceNoMoreConglomerates in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceConsideringConglomerate(org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptor cd,
int tableNumber)
traceConsideringConglomerate in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceScanningHeapWithUniqueKey()
traceScanningHeapWithUniqueKey in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceAddingUnorderedOptimizable(int predicateCount)
traceAddingUnorderedOptimizable in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceChangingAccessPathForTable(int tableNumber)
traceChangingAccessPathForTable in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceNoStartStopPosition()
traceNoStartStopPosition in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceNonCoveringIndexCost(double cost,
int tableNumber)
traceNonCoveringIndexCost in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceConstantStartStopPositions()
traceConstantStartStopPositions in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceEstimatingCostOfConglomerate(org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptor cd,
int tableNumber)
traceEstimatingCostOfConglomerate in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceLookingForSpecifiedIndex(java.lang.String indexName,
int tableNumber)
traceLookingForSpecifiedIndex in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceSingleMatchedRowCost(double cost,
int tableNumber)
traceSingleMatchedRowCost in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceCostIncludingExtra1stColumnSelectivity(org.apache.derby.iapi.sql.compile.CostEstimate cost,
int tableNumber)
traceCostIncludingExtra1stColumnSelectivity in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceNextAccessPath(java.lang.String baseTable,
int predicateCount)
traceNextAccessPath in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceCostIncludingExtraStartStop(org.apache.derby.iapi.sql.compile.CostEstimate cost,
int tableNumber)
traceCostIncludingExtraStartStop in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceCostIncludingExtraQualifierSelectivity(org.apache.derby.iapi.sql.compile.CostEstimate cost,
int tableNumber)
traceCostIncludingExtraQualifierSelectivity in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceCostIncludingExtraNonQualifierSelectivity(org.apache.derby.iapi.sql.compile.CostEstimate cost,
int tableNumber)
traceCostIncludingExtraNonQualifierSelectivity in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceCostOfNoncoveringIndex(org.apache.derby.iapi.sql.compile.CostEstimate cost,
int tableNumber)
traceCostOfNoncoveringIndex in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceRememberingJoinStrategy(org.apache.derby.iapi.sql.compile.JoinStrategy joinStrategy,
int tableNumber)
traceRememberingJoinStrategy in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceRememberingBestAccessPathSubstring(org.apache.derby.iapi.sql.compile.AccessPath ap,
int tableNumber)
traceRememberingBestAccessPathSubstring in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceRememberingBestSortAvoidanceAccessPathSubstring(org.apache.derby.iapi.sql.compile.AccessPath ap,
int tableNumber)
traceRememberingBestSortAvoidanceAccessPathSubstring in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceRememberingBestUnknownAccessPathSubstring(org.apache.derby.iapi.sql.compile.AccessPath ap,
int tableNumber)
traceRememberingBestUnknownAccessPathSubstring in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceCostOfConglomerateScan(int tableNumber,
org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptor cd,
org.apache.derby.iapi.sql.compile.CostEstimate costEstimate,
int numExtraFirstColumnPreds,
double extraFirstColumnSelectivity,
int numExtraStartStopPreds,
double extraStartStopSelectivity,
int startStopPredCount,
double statStartStopSelectivity,
int numExtraQualifiers,
double extraQualifierSelectivity,
int numExtraNonQualifiers,
double extraNonQualifierSelectivity)
traceCostOfConglomerateScan in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceCostIncludingCompositeSelectivityFromStats(org.apache.derby.iapi.sql.compile.CostEstimate cost,
int tableNumber)
traceCostIncludingCompositeSelectivityFromStats in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceCompositeSelectivityFromStatistics(double statCompositeSelectivity)
traceCompositeSelectivityFromStatistics in interface org.apache.derby.iapi.sql.compile.OptTracepublic void traceCostIncludingStatsForIndex(org.apache.derby.iapi.sql.compile.CostEstimate cost,
int tableNumber)
traceCostIncludingStatsForIndex in interface org.apache.derby.iapi.sql.compile.OptTraceApache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.