Interface QueryContext


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

    Modifier and Type
    Method
    Description
    <T> String
    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 Details

    • 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