Class QueryDepthHelper

java.lang.Object
fr.gouv.vitam.common.database.builder.query.Query
fr.gouv.vitam.common.database.parser.query.helper.QueryDepthHelper

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

    • HELPER

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

    • 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