Package org.teiid.language

Examples of org.teiid.language.WithItem


        return null;
      }
      With result = new With();
      ArrayList<WithItem> items = new ArrayList<WithItem>(with.size());
      for (WithQueryCommand withQueryCommand : with) {
      WithItem item = new WithItem();
      item.setTable(translate(withQueryCommand.getGroupSymbol()));
      if (withQueryCommand.getColumns() != null) {
        List<ColumnReference> translatedElements = new ArrayList<ColumnReference>(withQueryCommand.getColumns().size());
            for (ElementSymbol es: withQueryCommand.getColumns()) {
                translatedElements.add(translate(es));
            }
      }
      item.setSubquery(translate(withQueryCommand.getCommand()));
    }
      result.setItems(items);
      return result;
    }
View Full Code Here

TOP

Related Classes of org.teiid.language.WithItem

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.