Interface StoreClause<C extends StoreClause<C>>

Type Parameters:
C - concrete subtype
All Superinterfaces:
DMLClause<C>
All Known Subinterfaces:
InsertClause<C>, UpdateClause<C>

public interface StoreClause<C extends StoreClause<C>> extends DMLClause<C>
Parent interface for InsertClause and UpdateClause
Author:
tiwe
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true, if no bindings have been set, otherwise false.
    <T> C
    set(Path<T> path, Expression<? extends T> expression)
    Add an expression binding
    <T> C
    set(Path<T> path, T value)
    Add a value binding
    <T> C
    setNull(Path<T> path)
    Bind the given path to null

    Methods inherited from interface com.querydsl.core.dml.DMLClause

    execute
  • Method Details

    • set

      <T> C set(Path<T> path, @Nullable T value)
      Add a value binding
      Type Parameters:
      T -
      Parameters:
      path - path to be updated
      value - value to set
      Returns:
      the current object
    • set

      <T> C set(Path<T> path, Expression<? extends T> expression)
      Add an expression binding
      Type Parameters:
      T -
      Parameters:
      path - path to be updated
      expression - binding
      Returns:
      the current object
    • setNull

      <T> C setNull(Path<T> path)
      Bind the given path to null
      Parameters:
      path - path to be updated
      Returns:
      the current object
    • isEmpty

      boolean isEmpty()
      Returns true, if no bindings have been set, otherwise false.
      Returns:
      true, if empty, false, if not