public class UnaryArithmeticOperation<T> extends ExpressionImpl<T> implements UnaryOperatorExpression<T>, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
UnaryArithmeticOperation.Operation |
ParameterContainer.Helper
Constructor and Description |
---|
UnaryArithmeticOperation(CriteriaBuilderImpl criteriaBuilder,
UnaryArithmeticOperation.Operation operation,
Expression<T> operand) |
Modifier and Type | Method and Description |
---|---|
Expression<T> |
getOperand()
Get the operand.
|
UnaryArithmeticOperation.Operation |
getOperation() |
void |
registerParameters(ParameterRegistry registry)
Register any parameters contained within this query component with the given registry.
|
String |
render(CriteriaQueryCompiler.RenderingContext renderingContext) |
String |
renderProjection(CriteriaQueryCompiler.RenderingContext renderingContext) |
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, getValueHandlers, isCompoundSelection
forceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAlias
criteriaBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
as, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, isCompoundSelection
getAlias, getJavaType
getValueHandlers
getValueHandler
public UnaryArithmeticOperation(CriteriaBuilderImpl criteriaBuilder, UnaryArithmeticOperation.Operation operation, Expression<T> operand)
public UnaryArithmeticOperation.Operation getOperation()
public Expression<T> getOperand()
getOperand
in interface UnaryOperatorExpression<T>
public void registerParameters(ParameterRegistry registry)
registerParameters
in interface ParameterContainer
registry
- The parameter registry with which to register.public String render(CriteriaQueryCompiler.RenderingContext renderingContext)
render
in interface Renderable
public String renderProjection(CriteriaQueryCompiler.RenderingContext renderingContext)
renderProjection
in interface Renderable
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.