public class CastExpression extends ASTNodeAccessImpl implements Expression
| Constructor and Description |
|---|
CastExpression() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ExpressionVisitor expressionVisitor) |
Expression |
getLeftExpression() |
<E extends Expression> |
getLeftExpression(Class<E> type) |
ColDataType |
getType() |
boolean |
isUseCastKeyword() |
void |
setLeftExpression(Expression expression) |
void |
setType(ColDataType type) |
void |
setUseCastKeyword(boolean useCastKeyword) |
String |
toString() |
CastExpression |
withLeftExpression(Expression leftExpression) |
CastExpression |
withType(ColDataType type) |
CastExpression |
withUseCastKeyword(boolean useCastKeyword) |
getASTNode, setASTNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetASTNode, setASTNodepublic ColDataType getType()
public void setType(ColDataType type)
public Expression getLeftExpression()
public void setLeftExpression(Expression expression)
public void accept(ExpressionVisitor expressionVisitor)
accept in interface Expressionpublic boolean isUseCastKeyword()
public void setUseCastKeyword(boolean useCastKeyword)
public CastExpression withType(ColDataType type)
public CastExpression withUseCastKeyword(boolean useCastKeyword)
public CastExpression withLeftExpression(Expression leftExpression)
public <E extends Expression> E getLeftExpression(Class<E> type)
Copyright © 2004–2021 JSQLParser. All rights reserved.