Class QueryDepthHelper


  • public class QueryDepthHelper
    extends Query
    Helper for Parsing and Execution
    • Field Detail

      • HELPER

        public static final QueryDepthHelper HELPER
        Helper for Parsing and Execution
    • Method Detail

      • setDepths

        public void setDepths​(Query query,
                              int exactDepth,
                              int relativeDepth)
        For Parsing operation
        Parameters:
        query - Query
        exactDepth - int depth exact
        relativeDepth - int depth relative
      • getExactDepth

        public int getExactDepth​(Query query)
        For Execute operation
        Parameters:
        query - Query
        Returns:
        the exact depth
      • getRelativeDepth

        public int getRelativeDepth​(Query query)
        For Execute operation
        Parameters:
        query - Query
        Returns:
        the relative depth