Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Static Public Member Functions | |
static String | printBytes (long bytes) |
static String | printCardinality (String prefix, long cardinality) |
static String | printHosts (String prefix, long numHosts) |
static String | printMemCost (String prefix, long perHostMemCost) |
static void | printMatrix (boolean[][] matrix, int cellSpacing, StringBuilder matrixStr) |
Utility functions for pretty printing.
Definition at line 28 of file PrintUtils.java.
|
inlinestatic |
Prints the given number of bytes in PB, TB, GB, MB, KB with 2 decimal points. For example 5000 will be returned as 4.88KB.
Definition at line 33 of file PrintUtils.java.
Referenced by com.cloudera.impala.planner.HdfsScanNode.computeCosts(), and com.cloudera.impala.common.PrintUtils.printMemCost().
|
inlinestatic |
Definition at line 44 of file PrintUtils.java.
|
inlinestatic |
Definition at line 49 of file PrintUtils.java.
|
inlinestatic |
Prints the given square matrix into matrixStr. Separates cells by cellSpacing.
Definition at line 61 of file PrintUtils.java.
|
inlinestatic |
Definition at line 53 of file PrintUtils.java.
References com.cloudera.impala.common.PrintUtils.printBytes().