Codota Logo
StageStats
Code IndexAdd Codota to your IDE (free)

How to use
StageStats
in
com.facebook.presto.client

Best Java code snippets using com.facebook.presto.client.StageStats (Showing top 7 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: prestodb/presto

  public StageStats build()
  {
    return new StageStats(
        stageId,
        state,
        done,
        nodes,
        totalSplits,
        queuedSplits,
        runningSplits,
        completedSplits,
        cpuTimeMillis,
        wallTimeMillis,
        processedRows,
        processedBytes,
        subStages);
  }
}
origin: prestodb/presto

if (stage.isDone()) {
  bytesPerSecond = formatDataRate(new DataSize(0, BYTE), new Duration(0, SECONDS), false);
  rowsPerSecond = formatCountRate(0, new Duration(0, SECONDS), false);
  bytesPerSecond = formatDataRate(bytes(stage.getProcessedBytes()), elapsedTime, false);
  rowsPerSecond = formatCountRate(stage.getProcessedRows(), elapsedTime, false);
    stageStateCharacter(stage.getState()),
    formatCount(stage.getProcessedRows()),
    rowsPerSecond,
    formatDataSize(bytes(stage.getProcessedBytes()), false),
    bytesPerSecond,
    stage.getQueuedSplits(),
    stage.getRunningSplits(),
    stage.getCompletedSplits());
reprintLine(stageSummary);
for (StageStats subStage : stage.getSubStages()) {
  printStageTree(subStage, indent + "  ", stageNumberCounter);
origin: prestodb/presto

return StageStats.builder()
    .setStageId(String.valueOf(stageInfo.getStageId().getId()))
    .setState(stageInfo.getState().toString())
origin: uk.co.nichesolutions.presto/presto-main

return StageStats.builder()
    .setStageId(String.valueOf(stageInfo.getStageId().getId()))
    .setState(stageInfo.getState().toString())
origin: uk.co.nichesolutions.presto/presto-cli

if (stage.isDone()) {
  bytesPerSecond = formatDataRate(new DataSize(0, BYTE), new Duration(0, SECONDS), false);
  rowsPerSecond = formatCountRate(0, new Duration(0, SECONDS), false);
  bytesPerSecond = formatDataRate(bytes(stage.getProcessedBytes()), elapsedTime, false);
  rowsPerSecond = formatCountRate(stage.getProcessedRows(), elapsedTime, false);
    stageStateCharacter(stage.getState()),
    formatCount(stage.getProcessedRows()),
    rowsPerSecond,
    formatDataSize(bytes(stage.getProcessedBytes()), false),
    bytesPerSecond,
    stage.getQueuedSplits(),
    stage.getRunningSplits(),
    stage.getCompletedSplits());
reprintLine(stageSummary);
for (StageStats subStage : stage.getSubStages()) {
  printStageTree(subStage, indent + "  ", stageNumberCounter);
origin: uk.co.nichesolutions.presto/presto-client

  public StageStats build()
  {
    return new StageStats(
        stageId,
        state,
        done,
        nodes,
        totalSplits,
        queuedSplits,
        runningSplits,
        completedSplits,
        userTimeMillis,
        cpuTimeMillis,
        wallTimeMillis,
        processedRows,
        processedBytes,
        subStages);
  }
}
origin: com.facebook.presto/presto-cli

if (stage.isDone()) {
  bytesPerSecond = formatDataRate(new DataSize(0, BYTE), new Duration(0, SECONDS), false);
  rowsPerSecond = formatCountRate(0, new Duration(0, SECONDS), false);
  bytesPerSecond = formatDataRate(bytes(stage.getProcessedBytes()), elapsedTime, false);
  rowsPerSecond = formatCountRate(stage.getProcessedRows(), elapsedTime, false);
    stageStateCharacter(stage.getState()),
    formatCount(stage.getProcessedRows()),
    rowsPerSecond,
    formatDataSize(bytes(stage.getProcessedBytes()), false),
    bytesPerSecond,
    stage.getQueuedSplits(),
    stage.getRunningSplits(),
    stage.getCompletedSplits());
reprintLine(stageSummary);
for (StageStats subStage : stage.getSubStages()) {
  printStageTree(subStage, indent + "  ", stageNumberCounter);
com.facebook.presto.clientStageStats

Most used methods

  • <init>
  • builder
  • getCompletedSplits
  • getProcessedBytes
  • getProcessedRows
  • getQueuedSplits
  • getRunningSplits
  • getState
  • getSubStages
  • isDone

Popular in Java

  • Updating database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • getContentResolver (Context)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • JOptionPane (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now