Package org.teiid.query.parser

Examples of org.teiid.query.parser.ParseInfo


        CommandContext copy = commandContext.clone();
        if (recursionGroup != null) {
          copy.pushCall(recursionGroup);
        }
    if (pp == null) {
      ParseInfo parseInfo = new ParseInfo();
      Command newCommand = QueryParser.getQueryParser().parseCommand(query, parseInfo);
          QueryResolver.resolveCommand(newCommand, metadata);           
         
          List<Reference> references = ReferenceCollectorVisitor.getReferences(newCommand);
         
View Full Code Here


   
    public PreparedPlan getPlan(String key) {
      if (this.globalState.planCache == null) {
        return null;
      }
      CacheID id = new CacheID(new ParseInfo(), key, getVdbName(), getVdbVersion(), getConnectionID(), getUserName());
      PreparedPlan pp = this.globalState.planCache.get(id);
      if (pp != null) {
        if (id.getSessionId() != null) {
          setDeterminismLevel(Determinism.USER_DETERMINISTIC);
        } else if (id.getUserName() != null) {
View Full Code Here

   
    public void putPlan(String key, PreparedPlan plan, Determinism determinismLevel) {
      if (this.globalState.planCache == null) {
        return;
      }
      CacheID id = new CacheID(new ParseInfo(), key, getVdbName(), getVdbVersion(), getConnectionID(), getUserName());
      this.globalState.planCache.put(id, determinismLevel, plan, null);
    }
View Full Code Here

TOP

Related Classes of org.teiid.query.parser.ParseInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.