org.apache.hadoop.hive.ql.metadata.formatting
Class MetaDataPrettyFormatUtils

java.lang.Object
  extended by org.apache.hadoop.hive.ql.metadata.formatting.MetaDataPrettyFormatUtils

public final class MetaDataPrettyFormatUtils
extends Object

This class provides methods to format the output of DESCRIBE PRETTY in a human-readable way.


Field Summary
static int PRETTY_MAX_INTERCOL_SPACING
           
 
Method Summary
static String getAllColumnsInformation(List<org.apache.hadoop.hive.metastore.api.FieldSchema> cols, List<org.apache.hadoop.hive.metastore.api.FieldSchema> partCols, int prettyOutputNumCols)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRETTY_MAX_INTERCOL_SPACING

public static final int PRETTY_MAX_INTERCOL_SPACING
See Also:
Constant Field Values
Method Detail

getAllColumnsInformation

public static String getAllColumnsInformation(List<org.apache.hadoop.hive.metastore.api.FieldSchema> cols,
                                              List<org.apache.hadoop.hive.metastore.api.FieldSchema> partCols,
                                              int prettyOutputNumCols)
Parameters:
prettyOutputNumCols - The pretty output is formatted to fit within these many columns.


Copyright © 2014 The Apache Software Foundation. All rights reserved.