T - Expression typepublic interface ConstantExpression<T> extends ConstantConverterExpression<T,T>, QueryProjection<T>
QueryProjection.Expression.ExpressionResolverFunction<E extends Expression,R extends Expression>, Expression.InvalidExpressionException| Modifier and Type | Method and Description |
|---|---|
static <T> ConstantExpression<T> |
create(T value)
Create a
ConstantExpression which represents a constant value. |
static <T> ConstantExpression<T> |
create(T value,
Class<? extends T> type)
Create a
ConstantExpression which represents a constant value. |
static <T> ConstantExpression<T> |
create(TypedExpression<T> expression,
T value)
Create a
ConstantExpression which represents a constant value, using given expression to
inherit an ExpressionValueConverter, if available. |
getModelValue, getValuegetExpressionValueConverter, getModelType, getModelValuegetTemporalType, getType, isCollectionExpression, isConverterExpressionvalidatebean, constant, countAll, path, propertySet, propertySetstatic <T> ConstantExpression<T> create(T value)
ConstantExpression which represents a constant value.create in interface ConstantConverterExpression<T,T>T - Expression typevalue - Constant valuestatic <T> ConstantExpression<T> create(T value, Class<? extends T> type)
ConstantExpression which represents a constant value.create in interface ConstantConverterExpression<T,T>T - Expression typevalue - Constant valuetype - Constant value type (not null)static <T> ConstantExpression<T> create(TypedExpression<T> expression, T value)
ConstantExpression which represents a constant value, using given expression to
inherit an ExpressionValueConverter, if available.create in interface ConstantConverterExpression<T,T>T - Expression typeexpression - Expression form which to inherit an ExpressionValueConverter, if available (not null)value - Constant valueCopyright © 2019 The Holon Platform. All rights reserved.