Interface QueryParameterListBinding<T>


@Incubating public interface QueryParameterListBinding<T>
Represents a "parameter list" binding: aka the binding of a collection of values for a single query parameter.
  • Method Details

    • setBindValues

      void setBindValues(Collection<T> values)
      Sets the parameter binding values. The inherent parameter type (if known) is assumed in regards to the individual values.
      Parameters:
      values - The bind values
    • setBindValues

      void setBindValues(Collection<T> values, BindableType clarifiedType)
      Sets the parameter binding values using the explicit Type in regards to the individual values.
      Parameters:
      values - The bind values
      clarifiedType - The explicit Type to use
    • setBindValues

      void setBindValues(Collection<T> values, TemporalType clarifiedTemporalType)
      Sets the parameter binding value using the explicit TemporalType in regards to the individual values.
      Parameters:
      values - The bind values
      clarifiedTemporalType - The temporal type to use
    • getBindValues

      Collection<T> getBindValues()
      Get the values currently bound.
      Returns:
      The currently bound values
    • getBindType

      Type getBindType()
      Get the Type currently associated with this binding.
      Returns:
      The currently associated Type