| 程序包 | 说明 |
|---|---|
| com.pingcap.tikv.expression | |
| com.pingcap.tikv.expression.visitor |
| 限定符和类型 | 方法和说明 |
|---|---|
static Constant |
Constant.create(Object value)
已过时。
|
static Constant |
Constant.create(Object value,
DataType type) |
Constant |
FuncCallExpr.eval(Constant literal) |
Constant |
ComparisonBinaryExpression.NormalizedPredicate.getValue() |
Constant |
StringRegExpression.getValue() |
| 限定符和类型 | 方法和说明 |
|---|---|
Constant |
FuncCallExpr.eval(Constant literal) |
protected abstract R |
Visitor.visit(Constant node,
C context) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected R |
DefaultVisitor.visit(Constant node,
C context) |
protected Expr |
ProtoConverter.visit(Constant node,
Object context) |
Boolean |
RangePartitionLocator.visit(Constant node,
PartitionedTable.PartitionLocatorContext context)
For partition using MAXVALUE such as "partition p2 values less than MAXVALUE"
it will be converted to [[year(birthday@DATE) GREATER_EQUAL ${lower_bound}] AND 1], 1 is Constant standing for always true. |
Expression |
PartAndFilterExprRewriter.visit(Constant node,
Void context) |
protected com.google.common.collect.RangeSet<TypedKey> |
PrunedPartitionBuilder.visit(Constant node,
Void context) |
Copyright © 2022 PingCAP. All rights reserved.