Package org.apache.parquet.cli
Class Util
- java.lang.Object
-
- org.apache.parquet.cli.Util
-
public class Util extends Object
-
-
Constructor Summary
Constructors Constructor Description Util()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StringcolumnName(org.apache.parquet.column.ColumnDescriptor desc)static org.apache.parquet.column.ColumnDescriptordescriptor(String column, org.apache.parquet.schema.MessageType schema)static StringencodingAsString(org.apache.parquet.column.Encoding encoding, boolean isDict)static StringencodingsAsString(Set<org.apache.parquet.column.Encoding> encodings, org.apache.parquet.column.ColumnDescriptor desc)static StringencodingStatsAsString(org.apache.parquet.column.EncodingStats encodingStats)static StringhumanReadable(byte[] bytes, int len)static StringhumanReadable(float bytes)static StringhumanReadable(long bytes)static StringhumanReadable(String str, int len)static StringminMaxAsString(org.apache.parquet.column.statistics.Statistics stats)static StringminMaxAsString(org.apache.parquet.column.statistics.Statistics stats, org.apache.parquet.schema.OriginalType annotation)Deprecated.static org.apache.parquet.schema.PrimitiveTypeprimitive(String column, org.apache.parquet.schema.MessageType schema)static org.apache.parquet.schema.PrimitiveTypeprimitive(org.apache.parquet.schema.MessageType schema, String[] path)static StringshortCodec(org.apache.parquet.hadoop.metadata.CompressionCodecName codec)static StringtoString(org.apache.parquet.column.statistics.Statistics stats, long count)static StringtoString(org.apache.parquet.column.statistics.Statistics stats, long count, org.apache.parquet.schema.OriginalType annotation)Deprecated.
-
-
-
Method Detail
-
humanReadable
public static String humanReadable(float bytes)
-
humanReadable
public static String humanReadable(long bytes)
-
minMaxAsString
@Deprecated public static String minMaxAsString(org.apache.parquet.column.statistics.Statistics stats, org.apache.parquet.schema.OriginalType annotation)
Deprecated.
-
minMaxAsString
public static String minMaxAsString(org.apache.parquet.column.statistics.Statistics stats)
-
toString
@Deprecated public static String toString(org.apache.parquet.column.statistics.Statistics stats, long count, org.apache.parquet.schema.OriginalType annotation)
Deprecated.
-
toString
public static String toString(org.apache.parquet.column.statistics.Statistics stats, long count)
-
humanReadable
public static String humanReadable(byte[] bytes, int len)
-
shortCodec
public static String shortCodec(org.apache.parquet.hadoop.metadata.CompressionCodecName codec)
-
encodingAsString
public static String encodingAsString(org.apache.parquet.column.Encoding encoding, boolean isDict)
-
encodingStatsAsString
public static String encodingStatsAsString(org.apache.parquet.column.EncodingStats encodingStats)
-
encodingsAsString
public static String encodingsAsString(Set<org.apache.parquet.column.Encoding> encodings, org.apache.parquet.column.ColumnDescriptor desc)
-
descriptor
public static org.apache.parquet.column.ColumnDescriptor descriptor(String column, org.apache.parquet.schema.MessageType schema)
-
columnName
public static String columnName(org.apache.parquet.column.ColumnDescriptor desc)
-
primitive
public static org.apache.parquet.schema.PrimitiveType primitive(org.apache.parquet.schema.MessageType schema, String[] path)
-
primitive
public static org.apache.parquet.schema.PrimitiveType primitive(String column, org.apache.parquet.schema.MessageType schema)
-
-