public class TryCastExpression extends net.sf.jsqlparser.parser.ASTNodeAccessImpl implements Expression
Constructor and Description |
---|
TryCastExpression() |
Modifier and Type | Method and Description |
---|---|
void |
accept(ExpressionVisitor expressionVisitor) |
Expression |
getLeftExpression() |
<E extends Expression> |
getLeftExpression(Class<E> type) |
RowConstructor |
getRowConstructor() |
ColDataType |
getType() |
boolean |
isUseCastKeyword() |
void |
setLeftExpression(Expression expression) |
void |
setRowConstructor(RowConstructor rowConstructor) |
void |
setType(ColDataType type) |
void |
setUseCastKeyword(boolean useCastKeyword) |
String |
toString() |
TryCastExpression |
withLeftExpression(Expression leftExpression) |
TryCastExpression |
withRowConstructor(RowConstructor rowConstructor) |
TryCastExpression |
withType(ColDataType type) |
TryCastExpression |
withUseCastKeyword(boolean useCastKeyword) |
public RowConstructor getRowConstructor()
public void setRowConstructor(RowConstructor rowConstructor)
public TryCastExpression withRowConstructor(RowConstructor rowConstructor)
public ColDataType getType()
public void setType(ColDataType type)
public Expression getLeftExpression()
public void setLeftExpression(Expression expression)
public void accept(ExpressionVisitor expressionVisitor)
accept
in interface Expression
public boolean isUseCastKeyword()
public void setUseCastKeyword(boolean useCastKeyword)
public TryCastExpression withType(ColDataType type)
public TryCastExpression withUseCastKeyword(boolean useCastKeyword)
public TryCastExpression withLeftExpression(Expression leftExpression)
public <E extends Expression> E getLeftExpression(Class<E> type)
Copyright © 2004–2021 JSQLParser. All rights reserved.