Class LiteralExpression<T>
java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.LiteralExpression<T>
- Type Parameters:
T- The literal type
- All Implemented Interfaces:
IExpression<T>,SelectionVisitable,ISelection<T>,jakarta.persistence.criteria.Expression<T>,jakarta.persistence.criteria.Selection<T>,jakarta.persistence.TupleElement<T>
@Internal
public final class LiteralExpression<T>
extends Object
implements IExpression<T>, SelectionVisitable
The literal expression implementation.
- Since:
- 3.2
- Author:
- Denis Stepanov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(SelectionVisitor selectionVisitor) getValue()booleanbooleanbooleantoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.micronaut.data.model.jpa.criteria.IExpression
as, in, in, in, in, isNotNull, isNullMethods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
alias, getAlias, getCompoundSelectionItems, isCompoundSelection
-
Constructor Details
-
LiteralExpression
-
LiteralExpression
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceSelectionVisitable
-
getValue
-
isBoolean
public boolean isBoolean()- Specified by:
isBooleanin interfaceIExpression<T>- Returns:
- true if the expression is of boolean type
-
isNumeric
public boolean isNumeric()- Specified by:
isNumericin interfaceIExpression<T>- Returns:
- true if the expression is of numeric type
-
isComparable
public boolean isComparable()- Specified by:
isComparablein interfaceIExpression<T>- Returns:
- true if the expression is of comparable type
-
getJavaType
- Specified by:
getJavaTypein interfacejakarta.persistence.TupleElement<T>
-
toString
-