Class Expressions
java.lang.Object
org.springframework.data.relational.core.sql.Expressions
Factory for common
Expression
s.- Since:
- 1.1
- Author:
- Mark Paluch, Jens Schauder
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Expression
asterisk()
static Expression
static Expression
cast
(Expression expression, String targetType) static Expression
Creates a plainsql
Expression
.
-
Method Details
-
asterisk
- Returns:
- a new asterisk
*
expression.
-
just
Creates a plainsql
Expression
.- Parameters:
sql
- the SQL, must not be null or empty.- Returns:
- a SQL
Expression
.
-
asterisk
- Returns:
- a new
Table
.scoped asterisk<table>.*
expression.
-
cast
- Returns:
- a new
Cast
expression. - Since:
- 2.3
-