org.apache.hadoop.hive.ql.metadata.formatting
Class MetaDataFormatUtils
java.lang.Object
org.apache.hadoop.hive.ql.metadata.formatting.MetaDataFormatUtils
public final class MetaDataFormatUtils
- extends Object
This class provides methods to format table and index information.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIELD_DELIM
public static final String FIELD_DELIM
- See Also:
- Constant Field Values
LINE_DELIM
public static final String LINE_DELIM
- See Also:
- Constant Field Values
getAllColumnsInformation
public static String getAllColumnsInformation(List<FieldSchema> cols,
boolean printHeader)
getAllColumnsInformation
public static String getAllColumnsInformation(List<FieldSchema> cols,
List<FieldSchema> partCols,
boolean printHeader)
getAllColumnsInformation
public static String getAllColumnsInformation(Index index)
getPartitionInformation
public static String getPartitionInformation(Partition part)
getTableInformation
public static String getTableInformation(Table table)
getColumnsHeader
public static String[] getColumnsHeader()
getIndexColumnsHeader
public static String getIndexColumnsHeader()
getFormatter
public static MetaDataFormatter getFormatter(HiveConf conf)
Copyright © 2012 The Apache Software Foundation