public class ParquetDump
extends java.lang.Object
This can be invoked using the main(java.lang.String[]) method, which provides a
 -h option for help.  Or its functionality can be wrapped
 by a more capable utility.
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ParquetDump.ChunkMetaBean adaptor class that wraps a ColumnChunkMetaData object to
 provide BeanStarTable-friendly methods
 (string- or primitive-valued accessors) that report interesting
 information about a ColumnChunkMetaData object. | 
| Constructor and Description | 
|---|
| ParquetDump(ParquetStarTable starTable)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| static java.util.Map<java.lang.String,java.util.function.Function<ParquetDump,java.lang.String>> | createDumpFunctionMap()Returns a map of the output functions offered by this utility. | 
| java.lang.String | formatBlocks()Returns a multi-line string showing information about the data
 blocks in the parquet file. | 
| java.lang.String | formatColumnChunks()Returns a multi-line string showing information about the column chunks
 in each data block. | 
| java.lang.String | formatKeyValuesCompact(int maxChar)Returns a multi-line string giving an abbreviated representation
 of the content of the file-level key-value metadata in the
 parquet footer. | 
| java.lang.String | formatKeyValuesFull()Returns a multi-line string giving the full content of the file-level
 key-value metadata in the parquet footer. | 
| static java.lang.String | formatLines(java.lang.String heading,
           java.lang.String lines)Formats a multi-line string with a supplied heading. | 
| java.lang.String | formatSchema()Returns a multi-line string showing the parquet schema. | 
| ParquetStarTable | getTable()Returns the table on which this object can report. | 
| static void | main(java.lang.String[] args)Main method. | 
| static ParquetStarTable | readParquetTable(java.lang.String location)Reads a parquet table from a filename or URL, suitable for use
 with this utility. | 
public ParquetDump(ParquetStarTable starTable) throws java.io.IOException
starTable - parquet star tablejava.io.IOExceptionpublic ParquetStarTable getTable()
public java.lang.String formatSchema()
public java.lang.String formatKeyValuesCompact(int maxChar)
maxChar
 threshold, or if it contains embedded newlines, it is just represented
 by a summary of its length.maxChar - maximum length of displayed valuepublic java.lang.String formatKeyValuesFull()
public java.lang.String formatBlocks()
public java.lang.String formatColumnChunks()
public static java.lang.String formatLines(java.lang.String heading,
                                           java.lang.String lines)
heading - heading textlines - multi-line string giving textpublic static java.util.Map<java.lang.String,java.util.function.Function<ParquetDump,java.lang.String>> createDumpFunctionMap()
public static ParquetStarTable readParquetTable(java.lang.String location) throws java.io.IOException
location - filename or URLjava.io.IOExceptionpublic static void main(java.lang.String[] args)
                 throws java.io.IOException
-help.java.io.IOException