Class TrueCondition

java.lang.Object
org.springframework.data.relational.core.sql.TrueCondition
All Implemented Interfaces:
Condition, Expression, Segment, Visitable

public class TrueCondition extends Object implements Condition
Simple condition that evaluates to SQL TRUE.
Since:
2.1
Author:
Mark Paluch
  • Field Details

  • Method Details

    • toString

      public String toString()
      Description copied from interface: Segment
      Return a SQL string representation of this Segment.

      The representation is intended for debugging purposes and an approximation to the generated SQL. While it might work in the context of a specific dialect, you should not assume that the Segment.toString() representation works across multiple databases.

      Specified by:
      toString in interface Segment
      Overrides:
      toString in class Object
      Returns:
      a SQL string representation of this Segment.