Class NullExpression
java.lang.Object
com.blazebit.persistence.parser.expression.AbstractExpression
com.blazebit.persistence.parser.expression.NullExpression
- All Implemented Interfaces:
Expression,LiteralExpression<Object>
- Since:
- 1.0.1
- Author:
- Christian Beikov
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.blazebit.persistence.parser.expression.Expression
Expression.ResultVisitor<T>, Expression.Visitor -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(Expression.ResultVisitor<T> visitor) voidaccept(Expression.Visitor visitor) The expression tree is traversed in pre-order.copy(ExpressionCopyContext copyContext) booleangetValue()inthashCode()toString()Returns the trimmed original string representation of the expression.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NullExpression
public NullExpression()
-
-
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.- Specified by:
acceptin interfaceExpression
-
accept
- Specified by:
acceptin interfaceExpression
-
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
-
equals
-
hashCode
public int hashCode() -
getValue
- Specified by:
getValuein interfaceLiteralExpression<Object>
-