Gets the interpolated text of a query from cache. If key does not exist, an exception is thrown.

@param key
name of the query
@return the query text
501835
String getQuery(String key)
    {
        String res = this.adapter.getSqlText(key);
        if (res == null)
        {
            throw new DatabaseException("Query " + key + " does not exist");
        }
        return res;
    }
438868
public V get(K key) {
        ManagedReference<V> ref = internalMap.get(key);
        if (ref!=null) return ref.get();
        return null;
    }
1234608
public String getString( String key ) {
      verifyIsNull();
      Object o = get( key );
      if( o != null ){
         return o.toString();
      }
      throw new JSONException( "JSONObject[" + JSONUtils.quote( key ) + "] not found." );
   }
505361
public T getValueByString(String key) {
        for (T value : values) {
            if (keyFactory.generateKey(value).equals(key)) {
                return value;
            }
        }
        return null;
    }
1219695
public String getInvalidMessage(String key) {
        return invalidMessageOverride == null ? messageMixin.lookup(key, messageValueArgs) : MessageFormat.format(
                invalidMessageOverride, messageValueArgs);
    }
9252
public V get(K key) {
    V value = _cacheImpl.get(key);
    _requests.incrementAndGet();
    if (value == null) {
      value = _missHandler.load(key);
      _cacheImpl.put(key, value);
      _misses.incrementAndGet();
    } else {
      _hits.incrementAndGet();
    }
    return value;
  }
264604
public Optional<String> getRawString(String key) {
    return get(definitions.validKey(requireNonNull(key)));
  }
1229510
public CachedInstanceQuery getCachedQuery(final String _key)
    {
        if (this.query == null) {
            try {
                this.query = new CachedInstanceQuery(_key, this.typeUUID)
                                .setIncludeChildTypes(isIncludeChildTypes())
                                .setCompanyDependent(isCompanyDependent());
                prepareQuery();
            } catch (final EFapsException e) {
                QueryBuilder.LOG.error("Could not open InstanceQuery for uuid: {}", this.typeUUID);
            }
        }
        return (CachedInstanceQuery) this.query;
    }
585091
public java.lang.String getRetOrThrow(
      java.lang.String key) {
    if (key == null) { throw new java.lang.NullPointerException(); }
    java.util.Map<java.lang.String, java.lang.String> map =
        internalGetRet().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }
220961
public String get(String key) {
        try {
            Field field;
            field = this.getClass().getField(key);
            return (String) field.get(this);
        } catch(NoSuchFieldException e) {
            return (String) antifraud_info.get(key);
        } catch(IllegalAccessException e) {
            return "";
        }
    }
737237
public static Result get(XmlFileModel key)
    {
        String cacheKey = getKey(key);

        Result result = null;
        CacheDocument reference = map.get(cacheKey);

        if (reference == null)
            return new Result(false, null);

        if (reference.parseFailure)
            return new Result(true, null);

        Document document = reference.getDocument();
        if (document == null)
            LOG.info("Cache miss on XML document: " + cacheKey);

        return new Result(false, document);
    }
120665
@Override
    public String get(final String key) {
        return retrieve(new Callable<String>() {
            @Override
            public String call() throws Exception {
                return configuration.getString(key);
            }
        }, null);
    }
690754
public T get(K key) {
        T item = cache.get(key);
        if (item == null) {
            item = buildAndCache(key, crestConfig);
        }
        return item;
    }
1089929
public String getKeyValueEL(String strSection, String key) {
	Map map = getSectionEL(strSection);
	if (map == null) return null;
	Object o = map.get(key.toLowerCase());
	if (o == null) return null;
	return (String) o;

    }
1151497
public java.lang.String getExternalValuesOrThrow(
      java.lang.String key) {
    if (key == null) { throw new java.lang.NullPointerException(); }
    java.util.Map<java.lang.String, java.lang.String> map =
        internalGetExternalValues().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }
57110
public static String get(MessageKey key) {
        return data.getProperty(key.toString(), key.toString());
    }
542855
public String getData(String key) {
        QName qn = new QName("data-" + key);
        return this.getOtherAttributes().get(qn);
    }