Uses of Interface
org.springframework.data.relational.core.sql.Expression
Packages that use Expression
-
Uses of Expression in org.springframework.data.relational.core.sql
Subinterfaces of Expression in org.springframework.data.relational.core.sqlClasses in org.springframework.data.relational.core.sql that implement ExpressionModifier and TypeClassDescriptionclassAn expression with an alias.classRepresents an analytic function, also known as windowing functionclassclassclassBETWEENConditioncomparing betweenExpressions.classBind marker/parameter placeholder used to construct prepared statements with parameter substitution.classRepresents aBooleanliteral.classCase with one or more conditions expression.classRepresents aCASTexpression likeCAST(something AS JSON.classColumn name within aSELECT … FROMclause.classComparingConditioncomparing twoExpressions.classConditionrepresenting fixed sql predicate.static classclassSimple condition that evaluates to SQLFALSE.classINConditionclause.classIS NULLCondition.classLIKEConditioncomparing twoExpressions.classLiteral<T>Represents a literal.classWrapper for multipleConditions.classCondition group wrapping a nestedConditionwith parentheses.classclassRepresents aNumberliteral.classclassSimple function accepting one or moreExpressions.classRepresents aCharSequenceliteral.classWrapper for aSelectquery to be used as subselect.classSimple condition that evaluates to SQLTRUE.classA tuple as used forINpredicates.Subclasses with type arguments of type Expression in org.springframework.data.relational.core.sqlMethods in org.springframework.data.relational.core.sql that return ExpressionModifier and TypeMethodDescriptionstatic ExpressionExpressions.asterisk()static Expressionstatic ExpressionExpressions.cast(Expression expression, String targetType) static ExpressionCast.create(Expression expression, String targetType) Creates a newCASTexpression.Between.getBegin()Between.getColumn()Between.getEnd()OrderByField.getExpression()Comparison.getLeft()Like.getLeft()Comparison.getRight()Like.getRight()AssignValue.getValue()When.getValue()static ExpressionCreates a plainsqlExpression.static ExpressionCreates anExpressionbased on the provided list ofColumns.static ExpressionWraps a Select in aSubselectExpression, for using it as an expression in function calls or similar.Methods in org.springframework.data.relational.core.sql that return types with arguments of type ExpressionMethods in org.springframework.data.relational.core.sql with parameters of type ExpressionModifier and TypeMethodDescriptionSelectBuilder.SelectOnCondition.and(Expression column) Declare an additional source column in theJOIN.Column.between(Expression begin, Expression end) Creates aBETWEENCondition.static BetweenConditions.between(Expression columnOrExpression, Expression begin, Expression end) Creates aBETWEENCondition.static ExpressionExpressions.cast(Expression expression, String targetType) static SimpleFunctionFunctions.coalesce(Expression... expressions) Creates a newCOALESCEfunction.static SimpleFunctionFunctions.count(Expression... columns) Creates a newCOUNTfunction.static AnalyticFunctionAnalyticFunction.create(String function, Expression... arguments) static AssignValueAssignValue.create(Column target, Expression value) static BetweenBetween.create(Expression columnOrExpression, Expression begin, Expression end) static ExpressionCast.create(Expression expression, String targetType) Creates a newCASTexpression.static ComparisonComparison.create(Expression leftColumnOrExpression, String comparator, Expression rightColumnOrExpression) static InIn.create(Expression columnOrExpression, Collection<? extends Expression> expressions) static InIn.create(Expression columnOrExpression, Expression arg) static InIn.create(Expression columnOrExpression, Expression... expressions) static IsNullIsNull.create(Expression expression) Creates a newIsNullexpression.static LikeLike.create(Expression leftColumnOrExpression, Expression rightColumnOrExpression) static TupleExpressionTupleExpression.create(Expression... expressions) Creates aTupleExpressionfrom the given expressions.static InIn.createNotIn(Expression columnOrExpression, Collection<? extends Expression> expressions) static InIn.createNotIn(Expression columnOrExpression, Expression arg) static InIn.createNotIn(Expression columnOrExpression, Expression... expressions) CaseExpression.elseExpression(Expression elseExpression) Add ELSE clauseSelectBuilder.SelectOnConditionComparison.equals(Expression column) static OrderByFieldOrderByField.from(Expression expression) Creates a newOrderByFieldfrom anExpressionapplying default ordering.static OrderByFieldOrderByField.from(Expression expression, Sort.Direction direction) Creates a newOrderByFieldfrom anExpressionapplying a given ordering.static SimpleFunctionFunctions.greatest(Expression... expressions) Creates a newGREATESTfunction.Column.in(Expression... expression) static ConditionConditions.in(Expression columnOrExpression, Collection<? extends Expression> expressions) static InConditions.in(Expression columnOrExpression, Expression arg) Creates aINclause.static InConditions.in(Expression columnOrExpression, Expression... expressions) static InConditions.in(Expression column, Select subselect) static ComparisonConditions.isEqual(Expression leftColumnOrExpression, Expression rightColumnOrExpression) Creates a=(equals)Condition.Column.isEqualTo(Expression expression) Creates a=(equals)Condition.Column.isGreater(Expression expression) Creates a!=(not equals)Condition.static ComparisonConditions.isGreater(Expression leftColumnOrExpression, Expression rightColumnOrExpression) Column.isGreaterOrEqualTo(Expression expression) Creates a<=(greater or equal to)Condition.static ComparisonConditions.isGreaterOrEqualTo(Expression leftColumnOrExpression, Expression rightColumnOrExpression) Column.isLess(Expression expression) Creates a<(less)Condition.static ComparisonConditions.isLess(Expression leftColumnOrExpression, Expression rightColumnOrExpression) Column.isLessOrEqualTo(Expression expression) CCreates a<=(greater)Condition.static ComparisonConditions.isLessOrEqualTo(Expression leftColumnOrExpression, Expression rightColumnOrExpression) static ComparisonConditions.isNotEqual(Expression leftColumnOrExpression, Expression rightColumnOrExpression) Creates a!=(not equals)Condition.Column.isNotEqualTo(Expression expression) Creates a!=(not equals)Condition.static IsNullConditions.isNull(Expression expression) Creates aIS NULLcondition.static SimpleFunctionFunctions.least(Expression... expressions) Creates a newLEASTfunction.Column.like(Expression expression) Creates aLIKECondition.static LikeConditions.like(Expression leftColumnOrExpression, Expression rightColumnOrExpression) Creates aLIKECondition.static SimpleFunctionFunctions.lower(Expression expression) Creates a newLOWERfunction.Column.notBetween(Expression begin, Expression end) Creates aNOT BETWEENCondition.static BetweenConditions.notBetween(Expression columnOrExpression, Expression begin, Expression end) Creates aNOT BETWEENCondition.Column.notIn(Expression... expression) static ConditionConditions.notIn(Expression columnOrExpression, Collection<? extends Expression> expressions) static InConditions.notIn(Expression columnOrExpression, Expression arg) Creates aNOT INclause.static InConditions.notIn(Expression columnOrExpression, Expression... expressions) Column.notLike(Expression expression) Creates aNOT LIKECondition.static LikeConditions.notLike(Expression leftColumnOrExpression, Expression rightColumnOrExpression) Creates aNOT LIKECondition.SelectBuilder.SelectOn.on(Expression column) Declare the source column in theJOIN.AnalyticFunction.orderBy(Expression... orderBy) Specify the ORDER BY clause of an analytic functionSelectBuilder.SelectFromAndOrderBy.orderBy(Expression... columns) SelectBuilder.SelectOrdered.orderBy(Expression... columns) Add one or morecolumnsto order by.AnalyticFunction.partitionBy(Expression... partitionBy) Specify the PARTITION BY clause of an analytic functionSelectBuilder.select(Expression expression) Include aExpressionin the select list.SelectBuilder.select(Expression... expressions) Include one or moreExpressions in the select list.SelectBuilder.SelectAndFrom.select(Expression expression) Include aExpressionin the select list.SelectBuilder.SelectAndFrom.select(Expression... expressions) Include one or moreExpressions in the select list.static SelectBuilder.SelectAndFromStatementBuilder.select(Expression expression) Creates a newSelectBuilderand includes theSELECTcolumns.static SelectBuilder.SelectAndFromStatementBuilder.select(Expression... expressions) Creates a newSelectBuilderand includes one or moreSELECTcolumns.Column.set(Expression value) Creates a valueassignment.static SimpleFunctionFunctions.upper(Expression expression) Creates a newUPPERfunction.static AssignValueAssignments.value(Column target, Expression value) InsertBuilder.InsertIntoColumnsAndValuesWithBuild.value(Expression value) Add avalueto theVALUESlist.InsertBuilder.InsertValues.value(Expression value) Add avalueto theVALUESlist.InsertBuilder.InsertValuesWithBuild.value(Expression value) Add avalueto theVALUESlist.InsertBuilder.InsertIntoColumnsAndValuesWithBuild.values(Expression... values) Add one or morevaluesto theVALUESlist.InsertBuilder.InsertValues.values(Expression... values) Add one or morevaluesto theVALUESlist.InsertBuilder.InsertValuesWithBuild.values(Expression... values) Add one or morevaluesto theVALUESlist.static WhenWhen.when(Condition condition, Expression value) Method parameters in org.springframework.data.relational.core.sql with type arguments of type ExpressionModifier and TypeMethodDescriptionstatic SimpleFunctionFunctions.count(Collection<? extends Expression> columns) Creates a newCOUNTfunction.static InIn.create(Expression columnOrExpression, Collection<? extends Expression> expressions) static SimpleFunctionSimpleFunction.create(String functionName, List<? extends Expression> expressions) static TupleExpressionTupleExpression.create(Collection<? extends Expression> expressions) Creates aTupleExpressionfrom the given expressions.static InIn.createNotIn(Expression columnOrExpression, Collection<? extends Expression> expressions) static SimpleFunctionFunctions.greatest(List<? extends Expression> expressions) Creates a newGREATESTfunction.static ConditionConditions.in(Expression columnOrExpression, Collection<? extends Expression> expressions) static ConditionConditions.notIn(Expression columnOrExpression, Collection<? extends Expression> expressions) AnalyticFunction.orderBy(Collection<? extends Expression> orderBy) Specify the ORDER BY clause of an analytic functionAnalyticFunction.partitionBy(Collection<? extends Expression> partitionBy) Specify the PARTITION BY clause of an analytic functionSelectBuilder.select(Collection<? extends Expression> expressions) Include one or moreExpressions in the select list.SelectBuilder.SelectAndFrom.select(Collection<? extends Expression> expressions) Include one or moreExpressions in the select list.static SelectBuilder.SelectAndFromStatementBuilder.select(Collection<? extends Expression> expressions) Creates a newSelectBuilderand includes one or moreExpressions in the select list.InsertBuilder.InsertIntoColumnsAndValuesWithBuild.values(Collection<? extends Expression> values) Add one or morevaluesto theVALUESlist.InsertBuilder.InsertValues.values(Collection<? extends Expression> values) Add one or morevaluesto theVALUESlist.InsertBuilder.InsertValuesWithBuild.values(Collection<? extends Expression> values) Add one or morevaluesto theVALUESlist.Constructors in org.springframework.data.relational.core.sql with parameters of type ExpressionModifierConstructorDescriptionAliasedExpression(Expression expression, String alias) AliasedExpression(Expression expression, SqlIdentifier alias)