public class StringRegExpression extends Expression
| 限定符和类型 | 类和说明 |
|---|---|
static class |
StringRegExpression.Type |
dataType, resolved| 构造器和说明 |
|---|
StringRegExpression(StringRegExpression.Type type,
Expression left,
Expression right,
Expression reg) |
| 限定符和类型 | 方法和说明 |
|---|---|
<R,C> R |
accept(Visitor<R,C> visitor,
C context) |
static StringRegExpression |
contains(Expression left,
Expression right) |
static StringRegExpression |
endsWith(Expression left,
Expression right) |
boolean |
equals(Object other) |
List<Expression> |
getChildren() |
ColumnRef |
getColumnRef() |
Expression |
getLeft() |
Expression |
getReg() |
StringRegExpression.Type |
getRegType() |
Expression |
getRight() |
TypedKey |
getTypedLiteral() |
TypedKey |
getTypedLiteral(int prefixLength) |
Constant |
getValue() |
int |
hashCode() |
static StringRegExpression |
like(Expression left,
Expression right) |
static StringRegExpression |
startsWith(Expression left,
Expression right) |
String |
toString() |
getDataType, isResolved, setDataTypepublic StringRegExpression(StringRegExpression.Type type, Expression left, Expression right, Expression reg)
public static StringRegExpression startsWith(Expression left, Expression right)
public static StringRegExpression contains(Expression left, Expression right)
public static StringRegExpression endsWith(Expression left, Expression right)
public static StringRegExpression like(Expression left, Expression right)
public ColumnRef getColumnRef()
public Constant getValue()
public TypedKey getTypedLiteral()
public TypedKey getTypedLiteral(int prefixLength)
public List<Expression> getChildren()
getChildren 在类中 Expressionpublic <R,C> R accept(Visitor<R,C> visitor, C context)
accept 在类中 Expressionpublic Expression getLeft()
public Expression getRight()
public StringRegExpression.Type getRegType()
public Expression getReg()
Copyright © 2023 PingCAP. All rights reserved.