Class SqlServerDbExpression
- java.lang.Object
-
- io.ebeaninternal.server.expression.platform.SqlServerDbExpression
-
- All Implemented Interfaces:
DbExpressionHandler
public class SqlServerDbExpression extends Object
Microsoft SQL Server JSON. ARRAY expressions not supported.
-
-
Constructor Summary
Constructors Constructor Description SqlServerDbExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
arrayContains(SpiExpressionRequest request, String propName, boolean contains, Object... values)
Add SQL for ARRAY CONTAINS expression.void
arrayIsEmpty(SpiExpressionRequest request, String propName, boolean empty)
Add SQL for ARRAY IS EMPTY expression.void
bitwise(SpiExpressionRequest request, String propName, BitwiseOp operator, long flags, String compare, long match)
Add the bitwise expression.String
concat(String property0, String separator, String property1, String suffix)
Performs a "CONCAT" operation for that platform.void
json(SpiExpressionRequest request, String propName, String path, Op operator, Object value)
Write the db platform specific json expression.
-
-
-
Constructor Detail
-
SqlServerDbExpression
public SqlServerDbExpression()
-
-
Method Detail
-
json
public void json(SpiExpressionRequest request, String propName, String path, Op operator, Object value)
Description copied from interface:DbExpressionHandler
Write the db platform specific json expression.
-
arrayContains
public void arrayContains(SpiExpressionRequest request, String propName, boolean contains, Object... values)
Description copied from interface:DbExpressionHandler
Add SQL for ARRAY CONTAINS expression.
-
arrayIsEmpty
public void arrayIsEmpty(SpiExpressionRequest request, String propName, boolean empty)
Description copied from interface:DbExpressionHandler
Add SQL for ARRAY IS EMPTY expression.
-
bitwise
public void bitwise(SpiExpressionRequest request, String propName, BitwiseOp operator, long flags, String compare, long match)
Description copied from interface:DbExpressionHandler
Add the bitwise expression.- Specified by:
bitwise
in interfaceDbExpressionHandler
-
concat
public String concat(String property0, String separator, String property1, String suffix)
Description copied from interface:DbExpressionHandler
Performs a "CONCAT" operation for that platform.- Specified by:
concat
in interfaceDbExpressionHandler
-
-