public class RangePartitionPruner extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
canBePruned(Expression filter)
return false if table cannot be pruning or partition table is not enabled.
|
List<TiPartitionDef> |
prune(List<Expression> filters) |
public List<TiPartitionDef> prune(List<Expression> filters)
public boolean canBePruned(Expression filter)
filter - is a where condition. It must be a cnf and does not contain not or isnull.Copyright © 2023 PingCAP. All rights reserved.