Interface ParameterMetadata


  • public interface ParameterMetadata
    Access to known information about the parameters for a query.
    • Method Detail

      • hasNamedParameters

        boolean hasNamedParameters()
        Does this parameter set contain any named parameters?
        Returns:
        true if there are named parameters; false otherwise.
      • hasPositionalParameters

        boolean hasPositionalParameters()
        Does this parameter set contain any positional parameters?
        Returns:
        true if there are positional parameters; false otherwise.
      • collectAllParametersJpa

        Set<Parameter<?>> collectAllParametersJpa()
      • getNamedParameterNames

        Set<String> getNamedParameterNames()
        Return the names of all named parameters of the query.
        Returns:
        the parameter names, in no particular order
      • getPositionalParameterCount

        int getPositionalParameterCount()
        Returns the number of positional parameters.
        Returns:
        The number of positional parameters.
      • getParameterCount

        int getParameterCount()
      • containsReference

        boolean containsReference​(QueryParameter parameter)