public class ColumnRef extends Expression
dataType, resolved
Constructor and Description |
---|
ColumnRef(String name)
Deprecated.
|
ColumnRef(String name,
DataType dataType) |
Modifier and Type | Method and Description |
---|---|
<R,C> R |
accept(Visitor<R,C> visitor,
C context) |
static ColumnRef |
create(String name)
Deprecated.
|
static ColumnRef |
create(String name,
DataType dataType) |
static ColumnRef |
create(String name,
TiColumnInfo columnInfo) |
static ColumnRef |
create(String name,
TiTableInfo table) |
boolean |
equals(Object another) |
List<Expression> |
getChildren() |
DataType |
getDataType() |
String |
getName() |
int |
hashCode() |
boolean |
isResolved() |
boolean |
matchName(String name) |
void |
resolve(TiTableInfo table) |
String |
toString() |
setDataType
@Deprecated public ColumnRef(String name)
public static ColumnRef create(String name, TiTableInfo table)
@Deprecated public static ColumnRef create(String name)
public static ColumnRef create(String name, TiColumnInfo columnInfo)
public String getName()
public void resolve(TiTableInfo table)
public boolean matchName(String name)
public DataType getDataType()
getDataType
in class Expression
public boolean isResolved()
isResolved
in class Expression
public List<Expression> getChildren()
getChildren
in class Expression
public <R,C> R accept(Visitor<R,C> visitor, C context)
accept
in class Expression
Copyright © 2024 PingCAP. All rights reserved.