Class TableBuilder

java.lang.Object
org.apache.drill.exec.server.rest.profile.TableBuilder

public class TableBuilder extends Object
  • Constructor Details

    • TableBuilder

      public TableBuilder(String[] columns, String[] columnTooltip)
    • TableBuilder

      public TableBuilder(String[] columns, String[] columnTooltip, boolean isSortable)
  • Method Details

    • appendCell

      public void appendCell(String s)
    • appendCell

      public void appendCell(String s, String backgroundColor)
    • appendCell

      public void appendCell(String s, Map<String,String> kvPairs)
    • appendCell

      public void appendCell(String s, String rowBackgroundColor, Map<String,String> kvPairs)
    • appendRepeated

      public void appendRepeated(String s, int n)
    • appendRepeated

      public void appendRepeated(String s, int n, Map<String,String> attributeMap)
    • appendTime

      public void appendTime(long d)
    • appendTime

      public void appendTime(long d, Map<String,String> attributeMap)
    • appendMillis

      public void appendMillis(long p)
    • appendMillis

      public void appendMillis(long p, Map<String,String> attributeMap)
    • appendNanos

      public void appendNanos(long p)
    • appendNanos

      public void appendNanos(long p, Map<String,String> attributeMap)
    • appendPercent

      public void appendPercent(double percentAsFraction)
    • appendPercent

      public void appendPercent(double percentAsFraction, Map<String,String> attributeMap)
    • appendFormattedNumber

      public void appendFormattedNumber(Number n)
    • appendFormattedNumber

      public void appendFormattedNumber(Number n, Map<String,String> attributeMap)
    • appendFormattedInteger

      public void appendFormattedInteger(long n)
    • appendFormattedInteger

      public void appendFormattedInteger(long n, Map<String,String> attributeMap)
    • appendInteger

      public void appendInteger(long l, Map<String,String> attributeMap)
    • appendBytes

      public void appendBytes(long l)
    • appendBytes

      public void appendBytes(long l, Map<String,String> attributeMap)
    • build

      public String build()