Package net.sf.jsqlparser.expression
Class TrimFunction
java.lang.Object
net.sf.jsqlparser.parser.ASTNodeAccessImpl
net.sf.jsqlparser.expression.TrimFunction
- All Implemented Interfaces:
Serializable
,Expression
,Model
,ASTNodeAccess
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Expression
private Expression
private boolean
private TrimFunction.TrimSpecification
-
Constructor Summary
ConstructorsConstructorDescriptionTrimFunction
(TrimFunction.TrimSpecification trimSpecification, Expression expression, Expression fromExpression, boolean isUsingFromKeyword) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ExpressionVisitor expressionVisitor) appendTo
(StringBuilder builder) boolean
void
setExpression
(Expression expression) void
setFromExpression
(Expression fromExpression) void
setTrimSpecification
(TrimFunction.TrimSpecification trimSpecification) void
setUsingFromKeyword
(boolean useFromKeyword) toString()
withExpression
(Expression expression) withFromExpression
(Expression fromExpression) withTrimSpecification
(TrimFunction.TrimSpecification trimSpecification) withUsingFromKeyword
(boolean useFromKeyword) Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
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
-
trimSpecification
-
expression
-
fromExpression
-
isUsingFromKeyword
private boolean isUsingFromKeyword
-
-
Constructor Details
-
TrimFunction
public TrimFunction(TrimFunction.TrimSpecification trimSpecification, Expression expression, Expression fromExpression, boolean isUsingFromKeyword) -
TrimFunction
public TrimFunction()
-
-
Method Details
-
getTrimSpecification
-
setTrimSpecification
-
withTrimSpecification
-
getExpression
-
setExpression
-
withExpression
-
getFromExpression
-
setFromExpression
-
withFromExpression
-
isUsingFromKeyword
public boolean isUsingFromKeyword() -
setUsingFromKeyword
public void setUsingFromKeyword(boolean useFromKeyword) -
withUsingFromKeyword
-
accept
- Specified by:
accept
in interfaceExpression
-
appendTo
- Overrides:
appendTo
in classASTNodeAccessImpl
-
toString
-