Package io.helidon.data.codegen.query
Class ProjectionExpression
java.lang.Object
io.helidon.data.codegen.query.ProjectionExpression
Projection expression.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProjectionExpressionCreate projection expression withProjectionOperator.Avgoperator.static ProjectionExpressionCreate projection expression withProjectionOperator.Countoperator.static ProjectionExpressionCreate projection expression withProjectionOperator.Existsoperator.static ProjectionExpressioncreateFirst(int count) Create projection expression withProjectionOperator.Firstoperator.static ProjectionExpressionCreate projection expression withProjectionOperator.Maxoperator.static ProjectionExpressionCreate projection expression withProjectionOperator.Minoperator.static ProjectionExpressionCreate projection expression withProjectionOperator.Sumoperator.operator()Projection expression operator.Projection expression parameter.
-
Method Details
-
createFirst
Create projection expression withProjectionOperator.Firstoperator.- Parameters:
count- count parameter of theFirstoperator.- Returns:
- new instance of projection expression
-
createCount
Create projection expression withProjectionOperator.Countoperator.- Returns:
- new instance of projection expression
-
createExists
Create projection expression withProjectionOperator.Existsoperator.- Returns:
- new instance of projection expression
-
createMin
Create projection expression withProjectionOperator.Minoperator.- Returns:
- new instance of projection expression
-
createMax
Create projection expression withProjectionOperator.Maxoperator.- Returns:
- new instance of projection expression
-
createSum
Create projection expression withProjectionOperator.Sumoperator.- Returns:
- new instance of projection expression
-
createAvg
Create projection expression withProjectionOperator.Avgoperator.- Returns:
- new instance of projection expression
-
operator
Projection expression operator.- Returns:
- the operator
-
parameter
Projection expression parameter. Required whenProjectionOperator.hasParameter()returns true. Currently onlyProjectionOperator.Firstrequires single numeric parameter.- Returns:
- the parameter
-