Package io.helidon.data.codegen.query
Class ProjectionExpression
java.lang.Object
io.helidon.data.codegen.query.ProjectionExpression
Projection expression.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProjectionExpression
Create projection expression withProjectionOperator.Avg
operator.static ProjectionExpression
Create projection expression withProjectionOperator.Count
operator.static ProjectionExpression
Create projection expression withProjectionOperator.Exists
operator.static ProjectionExpression
createFirst
(int count) Create projection expression withProjectionOperator.First
operator.static ProjectionExpression
Create projection expression withProjectionOperator.Max
operator.static ProjectionExpression
Create projection expression withProjectionOperator.Min
operator.static ProjectionExpression
Create projection expression withProjectionOperator.Sum
operator.operator()
Projection expression operator.Projection expression parameter.
-
Method Details
-
createFirst
Create projection expression withProjectionOperator.First
operator.- Parameters:
count
- count parameter of theFirst
operator.- Returns:
- new instance of projection expression
-
createCount
Create projection expression withProjectionOperator.Count
operator.- Returns:
- new instance of projection expression
-
createExists
Create projection expression withProjectionOperator.Exists
operator.- Returns:
- new instance of projection expression
-
createMin
Create projection expression withProjectionOperator.Min
operator.- Returns:
- new instance of projection expression
-
createMax
Create projection expression withProjectionOperator.Max
operator.- Returns:
- new instance of projection expression
-
createSum
Create projection expression withProjectionOperator.Sum
operator.- Returns:
- new instance of projection expression
-
createAvg
Create projection expression withProjectionOperator.Avg
operator.- Returns:
- new instance of projection expression
-
operator
Projection expression operator.- Returns:
- the operator
-
parameter
Projection expression parameter. Required whenProjectionOperator.hasParameter()
returns true. Currently onlyProjectionOperator.First
requires single numeric parameter.- Returns:
- the parameter
-