Class PlannerSettings

java.lang.Object
org.apache.drill.exec.planner.physical.PlannerSettings
All Implemented Interfaces:
org.apache.calcite.plan.Context, org.apache.calcite.schema.Wrapper

public class PlannerSettings extends Object implements org.apache.calcite.plan.Context
  • Field Details

  • Constructor Details

  • Method Details

    • getOptions

      public OptionManager getOptions()
    • isSingleMode

      public boolean isSingleMode()
    • forceSingleMode

      public void forceSingleMode()
    • numEndPoints

      public int numEndPoints()
    • getRowCountEstimateFactor

      public double getRowCountEstimateFactor()
    • getBroadcastFactor

      public double getBroadcastFactor()
    • getNestedLoopJoinFactor

      public double getNestedLoopJoinFactor()
    • isNlJoinForScalarOnly

      public boolean isNlJoinForScalarOnly()
    • useDefaultCosting

      public boolean useDefaultCosting()
    • setNumEndPoints

      public void setNumEndPoints(int numEndPoints)
    • setUseDefaultCosting

      public void setUseDefaultCosting(boolean defcost)
    • isHashAggEnabled

      public boolean isHashAggEnabled()
    • isConstantFoldingEnabled

      public boolean isConstantFoldingEnabled()
    • isStreamAggEnabled

      public boolean isStreamAggEnabled()
    • isHashJoinEnabled

      public boolean isHashJoinEnabled()
    • isSemiJoinEnabled

      public boolean isSemiJoinEnabled()
    • isMergeJoinEnabled

      public boolean isMergeJoinEnabled()
    • isNestedLoopJoinEnabled

      public boolean isNestedLoopJoinEnabled()
    • isMultiPhaseAggEnabled

      public boolean isMultiPhaseAggEnabled()
    • isBroadcastJoinEnabled

      public boolean isBroadcastJoinEnabled()
    • isHashSingleKey

      public boolean isHashSingleKey()
    • isHashJoinSwapEnabled

      public boolean isHashJoinSwapEnabled()
    • isHepPartitionPruningEnabled

      public boolean isHepPartitionPruningEnabled()
    • isRowKeyJoinConversionEnabled

      public boolean isRowKeyJoinConversionEnabled()
    • isRowKeyJoinConversionUsingHashJoin

      public boolean isRowKeyJoinConversionUsingHashJoin()
    • getRowKeyJoinConversionSelThreshold

      public double getRowKeyJoinConversionSelThreshold()
    • isHepOptEnabled

      public boolean isHepOptEnabled()
    • getHashJoinSwapMarginFactor

      public double getHashJoinSwapMarginFactor()
    • getBroadcastThreshold

      public long getBroadcastThreshold()
    • getSliceTarget

      public long getSliceTarget()
    • isMemoryEstimationEnabled

      public boolean isMemoryEstimationEnabled()
    • getFsPartitionColumnLabel

      public String getFsPartitionColumnLabel()
    • getIdentifierMaxLength

      public long getIdentifierMaxLength()
    • getPlanningMemoryLimit

      public long getPlanningMemoryLimit()
    • getQueryUser

      public String getQueryUser()
    • getAliasRegistryProvider

      public AliasRegistryProvider getAliasRegistryProvider()
    • getInitialPlanningMemorySize

      public static long getInitialPlanningMemorySize()
    • getFilterMinSelectivityEstimateFactor

      public double getFilterMinSelectivityEstimateFactor()
    • getFilterMaxSelectivityEstimateFactor

      public double getFilterMaxSelectivityEstimateFactor()
    • isTypeInferenceEnabled

      public boolean isTypeInferenceEnabled()
    • isForce2phaseAggr

      public boolean isForce2phaseAggr()
    • getInSubqueryThreshold

      public long getInSubqueryThreshold()
    • isUnionAllDistributeEnabled

      public boolean isUnionAllDistributeEnabled()
    • isParquetRowGroupFilterPushdownPlanningEnabled

      public boolean isParquetRowGroupFilterPushdownPlanningEnabled()
    • getParquetRowGroupFilterPushDownThreshold

      public long getParquetRowGroupFilterPushDownThreshold()
    • getQuotingIdentifiers

      public org.apache.calcite.avatica.util.Quoting getQuotingIdentifiers()
      Returns:
      Quoting enum for current quoting identifiers character
    • isJoinOptimizationEnabled

      public boolean isJoinOptimizationEnabled()
    • isUnnestLateralEnabled

      public boolean isUnnestLateralEnabled()
    • isIndexPlanningEnabled

      public boolean isIndexPlanningEnabled()
    • isStatisticsEnabled

      public boolean isStatisticsEnabled()
    • isDisableFullTableScan

      public boolean isDisableFullTableScan()
    • getIndexMaxChosenIndexesPerTable

      public long getIndexMaxChosenIndexesPerTable()
    • isIndexForceSortNonCovering

      public boolean isIndexForceSortNonCovering()
    • isIndexUseHashJoinNonCovering

      public boolean isIndexUseHashJoinNonCovering()
    • getIndexCoveringSelThreshold

      public double getIndexCoveringSelThreshold()
    • getIndexNonCoveringSelThreshold

      public double getIndexNonCoveringSelThreshold()
    • getIndexRowKeyJoinCostFactor

      public double getIndexRowKeyJoinCostFactor()
    • isIndexIntersectPlanPreferred

      public boolean isIndexIntersectPlanPreferred()
    • getMaxIndexesToIntersect

      public long getMaxIndexesToIntersect()
    • getIndexStatsRowCountScalingFactor

      public double getIndexStatsRowCountScalingFactor()
    • useStatistics

      public boolean useStatistics()
    • getStatisticsMultiColNdvAdjustmentFactor

      public double getStatisticsMultiColNdvAdjustmentFactor()
    • unwrap

      public <T> T unwrap(Class<T> clazz)
      Specified by:
      unwrap in interface org.apache.calcite.schema.Wrapper