public class StringRegExpression extends Expression
Modifier and Type | Class and Description |
---|---|
static class |
StringRegExpression.Type |
dataType, resolved
Constructor and Description |
---|
StringRegExpression(StringRegExpression.Type type,
Expression left,
Expression right,
Expression reg) |
Modifier and Type | Method and Description |
---|---|
<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, setDataType
public 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
in class Expression
public <R,C> R accept(Visitor<R,C> visitor, C context)
accept
in class Expression
public Expression getLeft()
public Expression getRight()
public StringRegExpression.Type getRegType()
public Expression getReg()
Copyright © 2024 PingCAP. All rights reserved.