Class LiteralExpression<X>
- java.lang.Object
-
- org.datanucleus.api.jakarta.criteria.ExpressionImpl
-
- org.datanucleus.api.jakarta.criteria.LiteralExpression<X>
-
- All Implemented Interfaces:
jakarta.persistence.criteria.Expression
,jakarta.persistence.criteria.Selection
,jakarta.persistence.TupleElement
,Serializable
public class LiteralExpression<X> extends ExpressionImpl
Representation of a Literal in a criteria query.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.datanucleus.api.jakarta.criteria.ExpressionImpl
cb
-
-
Constructor Summary
Constructors Constructor Description LiteralExpression(CriteriaBuilderImpl cb, X value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.datanucleus.store.query.expression.Expression
getQueryExpression()
Accessor for the underlying (generic) query expression.String
toString()
Method to print out the expression as it would appear in JPQL single-string form.-
Methods inherited from class org.datanucleus.api.jakarta.criteria.ExpressionImpl
alias, as, getAlias, getCompoundSelectionItems, getJavaType, in, in, in, in, isCompoundSelection, isNotNull, isNull
-
-
-
-
Constructor Detail
-
LiteralExpression
public LiteralExpression(CriteriaBuilderImpl cb, X value)
-
-
Method Detail
-
getQueryExpression
public org.datanucleus.store.query.expression.Expression getQueryExpression()
Description copied from class:ExpressionImpl
Accessor for the underlying (generic) query expression.- Overrides:
getQueryExpression
in classExpressionImpl
- Returns:
- The query expression
-
toString
public String toString()
Description copied from class:ExpressionImpl
Method to print out the expression as it would appear in JPQL single-string form.- Overrides:
toString
in classExpressionImpl
- Returns:
- The JPQL single string form of this expression
-
-