Interface QueryContext


  • public interface QueryContext
    Captures the converted search expression.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> String getConvertedExpression​(Class<T> beanClass)
      Uses a custom bean and a visitor registered with "search.visitor" contextual property to capture and convert the original expression
      <T,​E>
      E
      getConvertedExpression​(Class<T> beanClass, Class<E> queryClass)
      Uses a custom bean and query classes and a visitor registered with "search.visitor" contextual property to capture and convert the original expression
      <T> String getConvertedExpression​(String originalExpression, Class<T> beanClass)
      Uses a custom bean and a visitor registered with "search.visitor" contextual property to capture and convert the original expression
      <T,​E>
      E
      getConvertedExpression​(String originalExpression, Class<T> beanClass, Class<E> queryClass)
      Uses a custom bean and query classes and a visitor registered with "search.visitor" contextual property to capture and convert the original expression
    • Method Detail

      • getConvertedExpression

        <T> String getConvertedExpression​(Class<T> beanClass)
        Uses a custom bean and a visitor registered with "search.visitor" contextual property to capture and convert the original expression
        Returns:
        converted search expression
      • getConvertedExpression

        <T,​E> E getConvertedExpression​(Class<T> beanClass,
                                             Class<E> queryClass)
        Uses a custom bean and query classes and a visitor registered with "search.visitor" contextual property to capture and convert the original expression
        Returns:
        converted search expression
      • getConvertedExpression

        <T> String getConvertedExpression​(String originalExpression,
                                          Class<T> beanClass)
        Uses a custom bean and a visitor registered with "search.visitor" contextual property to capture and convert the original expression
        Returns:
        converted search expression
      • getConvertedExpression

        <T,​E> E getConvertedExpression​(String originalExpression,
                                             Class<T> beanClass,
                                             Class<E> queryClass)
        Uses a custom bean and query classes and a visitor registered with "search.visitor" contextual property to capture and convert the original expression
        Returns:
        converted search expression