public static class TableListing.Builder extends Object
| Constructor and Description | 
|---|
TableListing.Builder()
Create a new Builder. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
TableListing.Builder | 
addField(String title)  | 
TableListing.Builder | 
addField(String title,
        boolean wrap)  | 
TableListing.Builder | 
addField(String title,
        TableListing.Justification justification)  | 
TableListing.Builder | 
addField(String title,
        TableListing.Justification justification,
        boolean wrap)
Add a new field to the Table under construction. 
 | 
org.apache.hadoop.tools.TableListing | 
build()
Create a new TableListing. 
 | 
TableListing.Builder | 
hideHeaders()
Whether to hide column headers in table output 
 | 
TableListing.Builder | 
showHeaders()
Whether to show column headers in table output. 
 | 
TableListing.Builder | 
wrapWidth(int width)
Set the maximum width of a row in the TableListing. 
 | 
public TableListing.Builder addField(String title)
public TableListing.Builder addField(String title, TableListing.Justification justification)
public TableListing.Builder addField(String title, boolean wrap)
public TableListing.Builder addField(String title, TableListing.Justification justification, boolean wrap)
title - Field title.justification - Right or left justification. Defaults to left.wrap - Width at which to auto-wrap the content of the cell.
        Defaults to Integer.MAX_VALUE.public TableListing.Builder hideHeaders()
public TableListing.Builder showHeaders()
public TableListing.Builder wrapWidth(int width)
public org.apache.hadoop.tools.TableListing build()
Copyright © 2018 Apache Software Foundation. All Rights Reserved.