Package railo.runtime.type

Examples of railo.runtime.type.DebugQueryColumn


   
  private static Struct getUsage(QueryEntry qe) throws PageException {
    Query qry = ((QueryEntryImpl)qe).getQry();
       
        QueryColumn c;
        DebugQueryColumn dqc;
        outer:if(qry!=null) {
          Struct usage=null;
          Collection.Key[] columnNames = qry.getColumnNames();
          Collection.Key columnName;
          for(int i=0;i<columnNames.length;i++){
            columnName=columnNames[i];
            c = qry.getColumn(columnName);
            if(!(c instanceof DebugQueryColumn)) break outer;
            dqc=(DebugQueryColumn) c;
            if(usage==null) usage=new StructImpl();
            usage.setEL(columnName, Caster.toBoolean(dqc.isUsed()));
          }
          return usage;
        }
        return null;
  }
View Full Code Here

TOP

Related Classes of railo.runtime.type.DebugQueryColumn

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.