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.ExpressiongetQueryExpression()Accessor for the underlying (generic) query expression.StringtoString()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:ExpressionImplAccessor for the underlying (generic) query expression.- Overrides:
getQueryExpressionin classExpressionImpl- Returns:
- The query expression
-
toString
public String toString()
Description copied from class:ExpressionImplMethod to print out the expression as it would appear in JPQL single-string form.- Overrides:
toStringin classExpressionImpl- Returns:
- The JPQL single string form of this expression
-
-