public class OptimizerRuleBased extends Optimizer
Optimizer.CostModelType, Optimizer.PlanInputType| Modifier and Type | Field and Description |
|---|---|
static boolean |
ALLOW_REMOTE_NESTED_PARALLELISM |
static String |
FUNCTION_UNFOLD_NAMEPREFIX |
static int |
MAX_REPLICATION_FACTOR_EXPORT |
static int |
MAX_REPLICATION_FACTOR_PARTITIONING |
static double |
PAR_K_FACTOR |
static double |
PAR_K_MR_FACTOR |
static double |
PROB_SIZE_THRESHOLD_MB |
static double |
PROB_SIZE_THRESHOLD_PARTITIONING |
static double |
PROB_SIZE_THRESHOLD_REMOTE |
| Constructor and Description |
|---|
OptimizerRuleBased() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
allowsBinaryCellPartitions(MatrixObject mo,
ParForProgramBlock.PartitionFormat dpf) |
Optimizer.CostModelType |
getCostModelType() |
ParForProgramBlock.POptMode |
getOptMode() |
Optimizer.PlanInputType |
getPlanInputType() |
static boolean |
isInMemoryResultMerge(long rows,
long cols,
double memBudget) |
boolean |
optimize(ParForStatementBlock sb,
ParForProgramBlock pb,
OptTree plan,
CostEstimator est,
ExecutionContext ec)
Main optimization procedure.
|
static String |
toMB(double inB) |
getNumEvaluatedPlans, getNumTotalPlanspublic static final double PROB_SIZE_THRESHOLD_REMOTE
public static final double PROB_SIZE_THRESHOLD_PARTITIONING
public static final double PROB_SIZE_THRESHOLD_MB
public static final int MAX_REPLICATION_FACTOR_PARTITIONING
public static final int MAX_REPLICATION_FACTOR_EXPORT
public static final boolean ALLOW_REMOTE_NESTED_PARALLELISM
public static final String FUNCTION_UNFOLD_NAMEPREFIX
public static final double PAR_K_FACTOR
public static final double PAR_K_MR_FACTOR
public Optimizer.CostModelType getCostModelType()
getCostModelType in class Optimizerpublic Optimizer.PlanInputType getPlanInputType()
getPlanInputType in class Optimizerpublic ParForProgramBlock.POptMode getOptMode()
getOptMode in class Optimizerpublic boolean optimize(ParForStatementBlock sb, ParForProgramBlock pb, OptTree plan, CostEstimator est, ExecutionContext ec)
public static boolean allowsBinaryCellPartitions(MatrixObject mo, ParForProgramBlock.PartitionFormat dpf)
public static boolean isInMemoryResultMerge(long rows,
long cols,
double memBudget)
public static String toMB(double inB)
Copyright © 2021 The Apache Software Foundation. All rights reserved.