public class Constant extends Expression
dataType, resolved
Modifier and Type | Method and Description |
---|---|
<R,C> R |
accept(Visitor<R,C> visitor,
C context) |
static Constant |
create(Object value)
Deprecated.
|
static Constant |
create(Object value,
DataType type) |
boolean |
equals(Object other) |
List<Expression> |
getChildren() |
Object |
getValue() |
int |
hashCode() |
protected static boolean |
isIntegerType(Object value) |
boolean |
isOverflowed() |
void |
setType(DataType type) |
String |
toString() |
getDataType, isResolved, setDataType
@Deprecated public static Constant create(Object value)
protected static boolean isIntegerType(Object value)
public void setType(DataType type)
public Object getValue()
public List<Expression> getChildren()
getChildren
in class Expression
public <R,C> R accept(Visitor<R,C> visitor, C context)
accept
in class Expression
public boolean isOverflowed()
Copyright © 2024 PingCAP. All rights reserved.