Package net.sf.jsqlparser.expression
Class CastExpression
java.lang.Object
net.sf.jsqlparser.parser.ASTNodeAccessImpl
net.sf.jsqlparser.expression.CastExpression
- All Implemented Interfaces:
Serializable
,Expression
,Model
,ASTNodeAccess
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ColDataType
private ArrayList
<ColumnDefinition> private Expression
private boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ExpressionVisitor expressionVisitor) void
addColumnDefinition
(ColumnDefinition columnDefinition) <E extends Expression>
EgetLeftExpression
(Class<E> type) boolean
void
setColDataType
(ColDataType colDataType) void
setLeftExpression
(Expression expression) void
setUseCastKeyword
(boolean useCastKeyword) toString()
withLeftExpression
(Expression leftExpression) withType
(ColDataType type) withUseCastKeyword
(boolean useCastKeyword) Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
appendTo, getASTNode, setASTNode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.sf.jsqlparser.parser.ASTNodeAccess
getASTNode, setASTNode
-
Field Details
-
keyword
-
leftExpression
-
colDataType
-
columnDefinitions
-
useCastKeyword
private boolean useCastKeyword
-
-
Constructor Details
-
CastExpression
-
CastExpression
public CastExpression()
-
-
Method Details
-
getColDataType
-
getColumnDefinitions
-
setColDataType
-
addColumnDefinition
-
getLeftExpression
-
setLeftExpression
-
accept
- Specified by:
accept
in interfaceExpression
-
isUseCastKeyword
public boolean isUseCastKeyword() -
setUseCastKeyword
public void setUseCastKeyword(boolean useCastKeyword) -
toString
-
withType
-
withUseCastKeyword
-
withLeftExpression
-
getLeftExpression
-