Package org.eclipse.net4j.db.dml
Interface SQLFragment
public interface SQLFragment
An immutable sequence of trusted SQL text and structured SQL parts.
- Since:
- 4.15
- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptiondefault SQLConditionWraps this fragment as a condition through the canonical SQL factory.default SQLExpressionWraps this fragment as an expression through the canonical SQL factory.
-
Method Details
-
expression
Wraps this fragment as an expression through the canonical SQL factory.- Returns:
- an expression backed by this fragment
-
condition
Wraps this fragment as a condition through the canonical SQL factory.- Returns:
- a condition backed by this fragment
-