Class TableBuilder
java.lang.Object
org.apache.drill.exec.server.rest.profile.TableBuilder
-
Constructor Summary
ConstructorDescriptionTableBuilder
(String[] columns, String[] columnTooltip) TableBuilder
(String[] columns, String[] columnTooltip, boolean isSortable) -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendBytes
(long l) void
appendBytes
(long l, Map<String, String> attributeMap) void
appendCell
(String s) void
appendCell
(String s, String backgroundColor) void
void
appendCell
(String s, Map<String, String> kvPairs) void
appendFormattedInteger
(long n) void
appendFormattedInteger
(long n, Map<String, String> attributeMap) void
void
appendFormattedNumber
(Number n, Map<String, String> attributeMap) void
appendInteger
(long l, Map<String, String> attributeMap) void
appendMillis
(long p) void
appendMillis
(long p, Map<String, String> attributeMap) void
appendNanos
(long p) void
appendNanos
(long p, Map<String, String> attributeMap) void
appendPercent
(double percentAsFraction) void
appendPercent
(double percentAsFraction, Map<String, String> attributeMap) void
appendRepeated
(String s, int n) void
appendRepeated
(String s, int n, Map<String, String> attributeMap) void
appendTime
(long d) void
appendTime
(long d, Map<String, String> attributeMap) build()
-
Constructor Details
-
TableBuilder
-
TableBuilder
-
-
Method Details
-
appendCell
-
appendCell
-
appendCell
-
appendCell
-
appendRepeated
-
appendRepeated
-
appendTime
public void appendTime(long d) -
appendTime
-
appendMillis
public void appendMillis(long p) -
appendMillis
-
appendNanos
public void appendNanos(long p) -
appendNanos
-
appendPercent
public void appendPercent(double percentAsFraction) -
appendPercent
-
appendFormattedNumber
-
appendFormattedNumber
-
appendFormattedInteger
public void appendFormattedInteger(long n) -
appendFormattedInteger
-
appendInteger
-
appendBytes
public void appendBytes(long l) -
appendBytes
-
build
-