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(Binary value) |
static String |
binaryToString(Binary value) |
static void |
dump(PrettyPrintWriter out,
ColumnReadStoreImpl crstore,
ColumnDescriptor column,
long page,
long total,
long offset) |
static void |
dump(PrettyPrintWriter out,
PageReadStore store,
ColumnDescriptor column) |
static void |
dump(PrettyPrintWriter out,
ParquetMetadata meta,
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() |
supportsExtraArgs
public 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 Command
getOptions
in class ArgsOnlyCommand
public String[] getUsageDescription()
public void execute(org.apache.commons.cli.CommandLine options) throws Exception
execute
in interface Command
execute
in class ArgsOnlyCommand
Exception
public static void dump(PrettyPrintWriter out, ParquetMetadata meta, MessageType schema, org.apache.hadoop.fs.Path inpath, boolean showmd, boolean showdt, Set<String> showColumns) throws IOException
IOException
public static void dump(PrettyPrintWriter out, PageReadStore store, ColumnDescriptor column) throws IOException
IOException
public static void dump(PrettyPrintWriter out, ColumnReadStoreImpl crstore, ColumnDescriptor column, long page, long total, long offset) throws IOException
IOException
public static BigInteger binaryToBigInteger(Binary value)
Copyright © 2015. All rights reserved.