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 Type
    Method
    Description
    default SQLCondition
    Wraps this fragment as a condition through the canonical SQL factory.
    Wraps this fragment as an expression through the canonical SQL factory.
  • Method Details

    • expression

      default SQLExpression expression()
      Wraps this fragment as an expression through the canonical SQL factory.
      Returns:
      an expression backed by this fragment
    • condition

      default SQLCondition condition()
      Wraps this fragment as a condition through the canonical SQL factory.
      Returns:
      a condition backed by this fragment