public class PseudoCostCalculator extends DefaultVisitor<Double,Void>
Constructor and Description |
---|
PseudoCostCalculator() |
Modifier and Type | Method and Description |
---|---|
static double |
calculateCost(Expression expr) |
protected Double |
process(Expression node,
Void context) |
protected Double |
visit(ComparisonBinaryExpression node,
Void context) |
protected Double |
visit(LogicalBinaryExpression node,
Void context) |
public static double calculateCost(Expression expr)
protected Double process(Expression node, Void context)
process
in class DefaultVisitor<Double,Void>
protected Double visit(LogicalBinaryExpression node, Void context)
visit
in class DefaultVisitor<Double,Void>
protected Double visit(ComparisonBinaryExpression node, Void context)
visit
in class DefaultVisitor<Double,Void>
Copyright © 2024 PingCAP. All rights reserved.