Class DateLiteral
java.lang.Object
com.blazebit.persistence.parser.expression.AbstractExpression
com.blazebit.persistence.parser.expression.TemporalLiteral
com.blazebit.persistence.parser.expression.DateLiteral
- All Implemented Interfaces:
Expression,LiteralExpression<Date>
public class DateLiteral extends TemporalLiteral
- Since:
- 1.2.0
- Author:
- Moritz Becker
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.blazebit.persistence.parser.expression.Expression
Expression.ResultVisitor<T>, Expression.Visitor -
Field Summary
-
Constructor Summary
Constructors Constructor Description DateLiteral(Date value) -
Method Summary
Modifier and Type Method Description <T> Taccept(Expression.ResultVisitor<T> visitor)voidaccept(Expression.Visitor visitor)The expression tree is traversed in pre-order.Expressioncopy(ExpressionCopyContext copyContext)StringtoString()Returns the trimmed original string representation of the expression.Methods inherited from class com.blazebit.persistence.parser.expression.TemporalLiteral
equals, getValue, hashCode
-
Constructor Details
-
Method Details
-
copy
- Specified by:
copyin interfaceExpression- Specified by:
copyin classAbstractExpression- Returns:
-
accept
Description copied from interface:ExpressionThe expression tree is traversed in pre-order. -
accept
-
toString
Description copied from interface:ExpressionReturns the trimmed original string representation of the expression.- Specified by:
toStringin interfaceExpression- Overrides:
toStringin classAbstractExpression- Returns:
- The string representation of the expression
-