public class IndexMatcher extends DefaultVisitor<Boolean,Void>
Modifier and Type | Method and Description |
---|---|
static IndexMatcher |
equalOnlyMatcher(TiIndexColumn indexColumn) |
boolean |
match(Expression expression) |
static IndexMatcher |
matcher(TiIndexColumn indexColumn) |
protected Boolean |
process(Expression node,
Void context) |
protected Boolean |
visit(ColumnRef node,
Void context) |
protected Boolean |
visit(ComparisonBinaryExpression node,
Void context) |
protected Boolean |
visit(LogicalBinaryExpression node,
Void context) |
protected Boolean |
visit(StringRegExpression node,
Void context) |
public static IndexMatcher equalOnlyMatcher(TiIndexColumn indexColumn)
public static IndexMatcher matcher(TiIndexColumn indexColumn)
public boolean match(Expression expression)
protected Boolean process(Expression node, Void context)
process
in class DefaultVisitor<Boolean,Void>
protected Boolean visit(ColumnRef node, Void context)
visit
in class DefaultVisitor<Boolean,Void>
protected Boolean visit(ComparisonBinaryExpression node, Void context)
visit
in class DefaultVisitor<Boolean,Void>
protected Boolean visit(StringRegExpression node, Void context)
visit
in class DefaultVisitor<Boolean,Void>
protected Boolean visit(LogicalBinaryExpression node, Void context)
visit
in class DefaultVisitor<Boolean,Void>
Copyright © 2024 PingCAP. All rights reserved.