TableListing (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.tools, class: TableListing

Package org.apache.hadoop.tools

# Class TableListing

java.lang.Object
org.apache.hadoop.tools.TableListing

@Private public class TableListing extends Object
This class implements a "table listing" with column headers. Example: NAME OWNER GROUP MODE WEIGHT pool1 andrew andrew rwxr-xr-x 100 pool2 andrew andrew rwxr-xr-x 100 pool3 andrew andrew rwxr-xr-x 100

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `TableListing.Builder`
  `static enum`
  `TableListing.Justification`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addRow(String... row)`
  Add a new row.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### addRow

    public void addRow(String... row)
    Add a new row.
    Parameters:
      `row` - The row of objects to add-- one per column.

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`