Top Fields Constructors Methods
org.hibernate.query.sqm.tree.expression

public Class SqmUnaryOperation<T>

extends AbstractSqmExpression<T>
implements SqmSelectableNode<T>
Class Inheritance
All Implemented Interfaces
org.hibernate.query.sqm.tree.select.SqmSelectableNode, org.hibernate.query.sqm.tree.SqmTypedNode, org.hibernate.query.sqm.tree.SqmVisitableNode, org.hibernate.query.sqm.tree.SqmNode, org.hibernate.query.criteria.JpaCriteriaNode, java.io.Serializable, org.hibernate.query.sqm.tree.SqmExpressibleAccessor, org.hibernate.query.criteria.JpaSelection, jakarta.persistence.criteria.Selection, jakarta.persistence.TupleElement, org.hibernate.query.criteria.JpaTupleElement
Imports
org.hibernate.query.sqm.UnaryArithmeticOperator, .SemanticQueryWalker, .SqmExpressible, org.hibernate.query.sqm.tree.SqmCopyContext, org.hibernate.query.sqm.tree.select.SqmSelectableNode

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final SqmExpression<T>
private final UnaryArithmeticOperator

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public <X> X
accept(SemanticQueryWalker<X> walker)

Implements org.hibernate.query.sqm.tree.SqmVisitableNode.accept.

Accept the walker per visitation
public void
public String
public SqmUnaryOperation<T>
public SqmExpression<T>
public UnaryArithmeticOperator
Inherited from org.hibernate.query.sqm.tree.expression.AbstractSqmExpression:
aliasapplyInferableTypeasasBigDecimalasBigIntegerasDoubleasFloatasIntegerasLongasStringequalToequalTogetJavaTypeDescriptorinininininternalApplyInferableTypeisNotNullisNullnodeBuilder

Field Detail

operandback to summary
private final SqmExpression<T> operand
operationback to summary
private final UnaryArithmeticOperator operation

Constructor Detail

SqmUnaryOperationback to summary
public SqmUnaryOperation(UnaryArithmeticOperator operation, SqmExpression<T> operand)
SqmUnaryOperationback to summary
public SqmUnaryOperation(UnaryArithmeticOperator operation, SqmExpression<T> operand, SqmExpressible<T> inherentType)

Method Detail

acceptback to summary
public <X> X accept(SemanticQueryWalker<X> walker)

Implements org.hibernate.query.sqm.tree.SqmVisitableNode.accept.

Doc from org.hibernate.query.sqm.tree.SqmVisitableNode.accept.

Accept the walker per visitation

Annotations
@Override
appendHqlStringback to summary
public void appendHqlString(StringBuilder sb)

Implements org.hibernate.query.sqm.tree.SqmVisitableNode.appendHqlString.

Annotations
@Override
asLoggableTextback to summary
public String asLoggableText()

Overrides default org.hibernate.query.sqm.tree.SqmNode.asLoggableText.

Annotations
@Override
copyback to summary
public SqmUnaryOperation<T> copy(SqmCopyContext context)

Implements org.hibernate.query.sqm.tree.select.SqmSelectableNode.copy, org.hibernate.query.sqm.tree.expression.SqmExpression.copy, org.hibernate.query.sqm.tree.SqmNode.copy.

Annotations
@Override
getOperandback to summary
public SqmExpression<T> getOperand()
getOperationback to summary
public UnaryArithmeticOperator getOperation()