Examples of TableDesc


Examples of org.apache.hadoop.hive.ql.plan.tableDesc

    else {
      uTask = uCtxTask.getUTask();
      uPlan = (mapredWork)uTask.getWork();
    }

    tableDesc tt_desc =
      PlanUtils.getBinaryTableDesc(PlanUtils.getFieldSchemasFromRowSchema(parent.getSchema(), "temporarycol"));
   
    // generate the temporary file
    String scratchDir = ctx.getScratchDir();
    int randomid = ctx.getRandomId();
View Full Code Here

Examples of org.apache.tajo.catalog.TableDesc

              + ", response time: " + (((float)(status.getFinishTime() - status.getSubmitTime()) / 1000.0)
              + " sec"));
          if (status.hasResult()) {
            ClientProtos.GetQueryResultResponse response = client.getResultResponse(queryId);
            ResultSet res = TajoClient.createResultSet(client, queryId, response);
            TableDesc desc = new TableDesc(response.getTableDesc());
            long totalRowNum = desc.getStats().getNumRows();
            long totalBytes = desc.getStats().getNumBytes();
            printResult(res, totalRowNum, totalBytes);
          } else {
            sout.println("OK");
          }
        }
View Full Code Here

Examples of org.apache.tajo.catalog.TableDesc

  }

  @Override
  public void invoke(String[] cmd) throws Exception {
    if (cmd.length == 2) {
      TableDesc desc = client.getTableDesc(cmd[1]);
      if (desc == null) {
        context.getOutput().println("Did not find any relation named \"" + cmd[1] + "\"");
      } else {
        context.getOutput().println(toFormattedString(desc));
      }
View Full Code Here

Examples of org.sgx.yuigwt.yui.yql.api.desc.TableDesc

          console.log("YQL ERROR:"+r.error().description());
          return ;
        }       
        DescResult desc1 = r.query().results().cast();
       
        TableDesc t = desc1.table();
        parent.append(
        "<table>" +
        "  <tr><td>TableShow Name: </td><td>"+t.name()+"</td></tr>" +
        "  <tr><td>TableShow Hash: </td><td>"+t.hash()+"</td></tr>" +
        "  <tr><td>TableShow Security: </td><td>"+t.security()+"</td></tr>" +
        "  <tr><td>Author: </td><td>"+t.meta().author()+"</td></tr>" +
        "</table>"
        );
      }
    }, YQLParams.create().env("http://datatables.org/alltables.env").
      format("json").diagnostics("true"));
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.