Examples of AllColumns


Examples of com.facebook.presto.sql.tree.AllColumns

        String queryPlan = getQueryPlan(node, planType, planFormat);

        Query query = new Query(
                Optional.<With>absent(),
                new QuerySpecification(
                        selectList(new AllColumns()),
                        ImmutableList.of(aliased(
                                values(row(new StringLiteral((queryPlan)))),
                                "plan",
                                ImmutableList.of("Query Plan")
                        )),
View Full Code Here

Examples of com.facebook.presto.sql.tree.AllColumns

        assertStatement("SELECT * FROM (VALUES ('a', 1, 2.2), ('b', 2, 3.3))",
                new Query(
                        Optional.<With>absent(),
                        new QuerySpecification(
                                selectList(new AllColumns()),
                                ImmutableList.<Relation>of(new TableSubquery(
                                        new Query(
                                                Optional.<With>absent(),
                                                new Values(ImmutableList.of(
                                                        new Row(ImmutableList.<Expression>of(
View Full Code Here

Examples of com.facebook.presto.sql.tree.AllColumns

        assertStatement("SELECT * FROM (VALUES ('a', 1, 2.2), ('b', 2, 3.3))",
                new Query(
                        Optional.<With>absent(),
                        new QuerySpecification(
                                selectList(new AllColumns()),
                                ImmutableList.<Relation>of(new TableSubquery(
                                        new Query(
                                                Optional.<With>absent(),
                                                new Values(ImmutableList.of(
                                                        new Row(ImmutableList.<Expression>of(
View Full Code Here

Examples of net.sf.jsqlparser.statement.select.AllColumns

    throw new Error("Missing return statement in function");
  }

  final public SelectItem SelectItem() throws ParseException {
        Function function = null;
        AllColumns allTableColumns = null;
        Column tableColumn = null;
        String alias = null;
        SelectItem selectItem = null;
        SelectExpressionItem selectExpressionItem = null;
        Expression expression = null;
        SubSelect subSelect = null;
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case 82:
      jj_consume_token(82);
           selectItem = new AllColumns();
      break;
    default:
      jj_la1[51] = jj_gen;
      if (jj_2_6(2147483647)) {
        selectItem = AllTableColumns();
View Full Code Here

Examples of net.sf.jsqlparser.statement.select.AllColumns

   * Builds select * from table.
   * @param table
   * @return
   */
  public static Select buildSelectFromTable(Table table) {
    return buildSelectFromTableAndSelectItems(table, new AllColumns());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.