public boolean hasSubclasses() { try { return _query.hasSubclasses(); } catch (RuntimeException re) { throw translate(re); } }
public boolean hasSubclasses() { try { return _query.hasSubclasses(); } catch (RuntimeException re) { throw translate(re); } }
public boolean hasSubclasses() { try { return _query.hasSubclasses(); } catch (RuntimeException re) { throw translate(re); } }
public boolean hasSubclasses() { try { return _query.hasSubclasses(); } catch (RuntimeException re) { throw translate(re); } }
public boolean hasSubclasses() { try { return _query.hasSubclasses(); } catch (RuntimeException re) { throw translate(re); } }
/** * Construct. * * @param id an identifier for this query to be used as cache key * @param corresponding data store language query string * @param compiled a compiled query */ public PreparedQueryImpl(String id, String sql, Query compiled) { this._id = id; this._sql = sql; if (compiled != null) { _candidate = compiled.getCandidateType(); _subclasses = compiled.hasSubclasses(); } }
/** * Construct. * * @param id an identifier for this query to be used as cache key * @param corresponding data store language query string * @param compiled a compiled query */ public PreparedQueryImpl(String id, String sql, Query compiled) { this._id = id; this._sql = sql; if (compiled != null) { _candidate = compiled.getCandidateType(); _subclasses = compiled.hasSubclasses(); } }
/** * Construct. * * @param id an identifier for this query to be used as cache key * @param corresponding data store language query string * @param compiled a compiled query */ public PreparedQueryImpl(String id, String sql, Query compiled) { this._id = id; this._sql = sql; if (compiled != null) { _candidate = compiled.getCandidateType(); _subclasses = compiled.hasSubclasses(); } }
/** * Construct. * * @param id an identifier for this query to be used as cache key * @param corresponding data store language query string * @param compiled a compiled query */ public PreparedQueryImpl(String id, String sql, Query compiled) { this._id = id; this._sql = sql; if (compiled != null) { _candidate = compiled.getCandidateType(); _subclasses = compiled.hasSubclasses(); } }
/** * Return a key for the given query, or null if it is not cacheable. */ public static QueryKey newInstance(Query q, Object[] args) { // compile to make sure info encoded in query string is available // via API calls (candidate class, result class, etc) q.compile(); return newInstance(q, false, args, q.getCandidateType(), q.hasSubclasses(), q.getStartRange(), q.getEndRange(), null); }
/** * Return a key for the given query, or null if it is not cacheable. */ public static QueryKey newInstance(Query q, Map<Object,Object> args) { // compile to make sure info encoded in query string is available // via API calls (candidate class, result class, etc) q.compile(); return newInstance(q, false, args, q.getCandidateType(), q.hasSubclasses(), q.getStartRange(), q.getEndRange(), null); }
/** * Return a key for the given query, or null if it is not cacheable. */ public static QueryKey newInstance(Query q, Map<Object,Object> args) { // compile to make sure info encoded in query string is available // via API calls (candidate class, result class, etc) q.compile(); return newInstance(q, false, args, q.getCandidateType(), q.hasSubclasses(), q.getStartRange(), q.getEndRange(), null); }
/** * Return a key for the given query, or null if it is not cacheable. */ public static QueryKey newInstance(Query q, Map<Object,Object> args) { // compile to make sure info encoded in query string is available // via API calls (candidate class, result class, etc) q.compile(); return newInstance(q, false, args, q.getCandidateType(), q.hasSubclasses(), q.getStartRange(), q.getEndRange(), null); }
/** * Return a key for the given query, or null if it is not cacheable. */ public static QueryKey newInstance(Query q, Map args) { // compile to make sure info encoded in query string is available // via API calls (candidate class, result class, etc) q.compile(); return newInstance(q, false, args, q.getCandidateType(), q.hasSubclasses(), q.getStartRange(), q.getEndRange()); }
/** * Return a key for the given query, or null if it is not cacheable. */ public static QueryKey newInstance(Query q, Object[] args) { // compile to make sure info encoded in query string is available // via API calls (candidate class, result class, etc) q.compile(); return newInstance(q, false, args, q.getCandidateType(), q.hasSubclasses(), q.getStartRange(), q.getEndRange(), null); }
/** * Return a key for the given query, or null if it is not cacheable. */ public static QueryKey newInstance(Query q, Map<Object,Object> args) { // compile to make sure info encoded in query string is available // via API calls (candidate class, result class, etc) q.compile(); return newInstance(q, false, args, q.getCandidateType(), q.hasSubclasses(), q.getStartRange(), q.getEndRange(), null); }
/** * Return a key for the given query, or null if it is not cacheable. */ public static QueryKey newInstance(Query q, Object[] args) { // compile to make sure info encoded in query string is available // via API calls (candidate class, result class, etc) q.compile(); return newInstance(q, false, args, q.getCandidateType(), q.hasSubclasses(), q.getStartRange(), q.getEndRange(), null); }
/** * Return a key for the given query, or null if it is not cacheable. */ public static QueryKey newInstance(Query q, Object[] args) { // compile to make sure info encoded in query string is available // via API calls (candidate class, result class, etc) q.compile(); return newInstance(q, false, args, q.getCandidateType(), q.hasSubclasses(), q.getStartRange(), q.getEndRange(), null); }
/** * Return a key for the given query, or null if it is not cacheable. */ public static QueryKey newInstance(Query q, Object[] args) { // compile to make sure info encoded in query string is available // via API calls (candidate class, result class, etc) q.compile(); return newInstance(q, false, args, q.getCandidateType(), q.hasSubclasses(), q.getStartRange(), q.getEndRange()); }