public CriteriaQuery<T> getCriteriaQuery() {
    return m_query;
  }
Gets the query to use along with {@link #getJpaPredicate()}.

@return the query (not {@code null}).
ambari-server/src/main/java/org/apache/ambari/server/api/query/JpaPredicateVisitor.java