Class StatementBuilder<T>

java.lang.Object
com.sap.cds.ql.StatementBuilder<T>
All Implemented Interfaces:
JSONizable, CqnStatement
Direct Known Subclasses:
Select

public abstract class StatementBuilder<T> extends Object implements CqnStatement
  • Field Details

  • Constructor Details

    • StatementBuilder

      public StatementBuilder()
  • Method Details

    • hints

      public Map<String,Object> hints()
      Description copied from interface: CqnStatement
      Returns the runtime hints of this statement.
      Specified by:
      hints in interface CqnStatement
      Returns:
      the runtime hints
    • hints

      public T hints(Map<String,Object> hints)
      Sets the hints for the statement.
      Parameters:
      hints - the hint map
      Returns:
      this statement
    • hints

      public T hints(String... hints)
      Adds hints to the statement.
      Parameters:
      hints - the hints
      Returns:
      this statement
    • hint

      public T hint(String name, Object value)
      Adds a hint to the statement.
      Parameters:
      name - the hint name
      value - the hint value
      Returns:
      this statement
    • toString

      public String toString()
      Overrides:
      toString in class Object