Class BoundAssignments

java.lang.Object
org.springframework.data.r2dbc.query.BoundAssignments

public class BoundAssignments extends Object
Value object representing Assignments with their Bindings.
Author:
Mark Paluch, Christoph Strobl
  • Constructor Details

    • BoundAssignments

      public BoundAssignments(Bindings bindings, List<org.springframework.data.relational.core.sql.Assignment> assignments)
  • Method Details

    • getBindings

      public Bindings getBindings()
    • getAssignments

      public List<org.springframework.data.relational.core.sql.Assignment> getAssignments()
    • getAssignment

      public org.springframework.data.relational.core.sql.Assignment getAssignment(org.springframework.data.relational.core.sql.SqlIdentifier identifier)
      Resolve the bound Assignment for the given indentifier..
      Parameters:
      identifier - the column to look up.
      Returns:
      the bind marker Expression for column.
      Throws:
      IllegalStateException - if no assignment for column is found.