public class DumpCat extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DumpCat.BatchNumValidator
Used to ensure the param "batch" is a non-negative number.
|
| Constructor and Description |
|---|
DumpCat() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doBatch(FileInputStream input,
int targetBatchNum,
boolean showHeader)
Batch mode:
$drill-dumpcat --file=local:///tmp/drilltrace/[queryid]_[tag]_[majorid]_[minor]_[operator] --batch=123 --include-headers=true
Records: 1/1
Average Record Size: 8 bytes
Total Data Size: 8 bytes
Schema Information
name: col1, minor_type: int4, data_mode: nullable
name: col2, minor_type: int4, data_mode: non-nullable
|
protected void |
doQuery(FileInputStream input)
Querymode:
$drill-dumpcat --file=local:///tmp/drilltrace/[queryid]_[tag]_[majorid]_[minor]_[operator]
Batches: 135
Records: 53,214/53,214 // the first one is the selected records.
|
static void |
main(String[] args) |
protected void doQuery(FileInputStream input) throws Exception
Exceptionprotected void doBatch(FileInputStream input, int targetBatchNum, boolean showHeader) throws Exception
targetBatchNum - ExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.