org.apache.hadoop.hive.ql.metadata.formatting
Class MetaDataPrettyFormatUtils
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRETTY_MAX_INTERCOL_SPACING
public static final int PRETTY_MAX_INTERCOL_SPACING
- See Also:
- Constant Field Values
getAllColumnsInformation
public static String getAllColumnsInformation(List<FieldSchema> cols,
List<FieldSchema> partCols,
int prettyOutputNumCols)
- Parameters:
prettyOutputNumCols
- The pretty output is formatted to fit within
these many columns.
Copyright © 2012 The Apache Software Foundation