public class DumpCommand extends ArgsOnlyCommand
| Modifier and Type | Field and Description |
|---|---|
static int |
BLOCK_BUFFER_SIZE |
static org.apache.commons.cli.Options |
OPTIONS |
static String |
TABS |
static String[] |
USAGE |
| Constructor and Description |
|---|
DumpCommand() |
| Modifier and Type | Method and Description |
|---|---|
static BigInteger |
binaryToBigInteger(org.apache.parquet.io.api.Binary value) |
static String |
binaryToString(org.apache.parquet.io.api.Binary value) |
static void |
dump(PrettyPrintWriter out,
org.apache.parquet.column.impl.ColumnReadStoreImpl crstore,
org.apache.parquet.column.ColumnDescriptor column,
long page,
long total,
long offset) |
static void |
dump(PrettyPrintWriter out,
org.apache.parquet.column.page.PageReadStore store,
org.apache.parquet.column.ColumnDescriptor column) |
static void |
dump(PrettyPrintWriter out,
ParquetMetadata meta,
org.apache.parquet.schema.MessageType schema,
org.apache.hadoop.fs.Path inpath,
boolean showmd,
boolean showdt,
Set<String> showColumns) |
void |
execute(org.apache.commons.cli.CommandLine options) |
org.apache.commons.cli.Options |
getOptions() |
String[] |
getUsageDescription() |
supportsExtraArgspublic static final String TABS
public static final int BLOCK_BUFFER_SIZE
public static final String[] USAGE
public static final org.apache.commons.cli.Options OPTIONS
public org.apache.commons.cli.Options getOptions()
getOptions in interface CommandgetOptions in class ArgsOnlyCommandpublic String[] getUsageDescription()
public void execute(org.apache.commons.cli.CommandLine options)
throws Exception
execute in interface Commandexecute in class ArgsOnlyCommandExceptionpublic static void dump(PrettyPrintWriter out, ParquetMetadata meta, org.apache.parquet.schema.MessageType schema, org.apache.hadoop.fs.Path inpath, boolean showmd, boolean showdt, Set<String> showColumns) throws IOException
IOExceptionpublic static void dump(PrettyPrintWriter out, org.apache.parquet.column.page.PageReadStore store, org.apache.parquet.column.ColumnDescriptor column) throws IOException
IOExceptionpublic static void dump(PrettyPrintWriter out, org.apache.parquet.column.impl.ColumnReadStoreImpl crstore, org.apache.parquet.column.ColumnDescriptor column, long page, long total, long offset) throws IOException
IOExceptionpublic static String binaryToString(org.apache.parquet.io.api.Binary value)
public static BigInteger binaryToBigInteger(org.apache.parquet.io.api.Binary value)
Copyright © 2016 The Apache Software Foundation. All rights reserved.