Repository: orc
Updated Branches:
  refs/heads/asf-site 6839c4d69 -> c63412b1b


http://git-wip-us.apache.org/repos/asf/orc/blob/c63412b1/docs/tools.html
----------------------------------------------------------------------
diff --git a/docs/tools.html b/docs/tools.html
deleted file mode 100644
index 0fd742b..0000000
--- a/docs/tools.html
+++ /dev/null
@@ -1,2177 +0,0 @@
-<!DOCTYPE HTML>
-<html lang="en-US">
-<head>
-  <meta charset="UTF-8">
-  <title>Tools</title>
-  <meta name="viewport" content="width=device-width,initial-scale=1">
-  <meta name="generator" content="Jekyll v2.4.0">
-  <link rel="stylesheet" 
href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
-  <link rel="stylesheet" href="/css/screen.css">
-  <link rel="icon" type="image/x-icon" href="/favicon.ico">
-  <!--[if lt IE 9]>
-  <script src="/js/html5shiv.min.js"></script>
-  <script src="/js/respond.min.js"></script>
-  <![endif]-->
-</head>
-
-
-<body class="wrap">
-  <header role="banner">
-  <nav class="mobile-nav show-on-mobiles">
-    <ul>
-  <li class="">
-    <a href="/">Home</a>
-  </li>
-  <li class="current">
-    <a href="/docs/"><span class="show-on-mobiles">Docs</span>
-                     <span class="hide-on-mobiles">Documentation</span></a>
-  </li>
-  <li class="">
-    <a href="/talks/">Talks</a>
-  </li>
-  <li class="">
-    <a href="/news/">News</a>
-  </li>
-  <li class="">
-    <a href="/help/">Help</a>
-  </li>
-  <li class="">
-    <a href="/develop/">Develop</a>
-  </li>
-</ul>
-
-  </nav>
-  <div class="grid">
-    <div class="unit one-third center-on-mobiles">
-      <h1>
-        <a href="/">
-          <span class="sr-only">Apache ORC</span>
-          <img src="/img/logo.png" width="249" height="101" alt="ORC Logo">
-        </a>
-      </h1>
-    </div>
-    <nav class="main-nav unit two-thirds hide-on-mobiles">
-      <ul>
-  <li class="">
-    <a href="/">Home</a>
-  </li>
-  <li class="current">
-    <a href="/docs/"><span class="show-on-mobiles">Docs</span>
-                     <span class="hide-on-mobiles">Documentation</span></a>
-  </li>
-  <li class="">
-    <a href="/talks/">Talks</a>
-  </li>
-  <li class="">
-    <a href="/news/">News</a>
-  </li>
-  <li class="">
-    <a href="/help/">Help</a>
-  </li>
-  <li class="">
-    <a href="/develop/">Develop</a>
-  </li>
-</ul>
-
-    </nav>
-  </div>
-</header>
-
-
-    <section class="docs">
-    <div class="grid">
-
-      <div class="docs-nav-mobile unit whole show-on-mobiles">
-  <select onchange="if (this.value) window.location.href=this.value">
-    <option value="">Navigate the docs…</option>
-    
-    <optgroup label="Overview">
-      
-
-
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <option value="/docs/index.html">Background</option>
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-
-  
-
-  
-    
-  
-    
-      <option value="/docs/adopters.html">ORC Adopters</option>
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <option value="/docs/types.html">Types</option>
-    
-  
-
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <option value="/docs/indexes.html">Indexes</option>
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-
-  
-
-  
-    
-      <option value="/docs/acid.html">ACID support</option>
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-
-
-    </optgroup>
-    
-    <optgroup label="Installing">
-      
-
-
-  
-
-  
-    
-  
-    
-  
-    
-      <option value="/docs/building.html">Building ORC</option>
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <option value="/docs/releases.html">Releases</option>
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-
-
-    </optgroup>
-    
-    <optgroup label="Using in Hive">
-      
-
-
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <option value="/docs/hive-ddl.html">Hive DDL</option>
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <option value="/docs/hive-config.html">Hive Configuration</option>
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-
-
-    </optgroup>
-    
-    <optgroup label="Using in MapReduce">
-      
-
-
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <option value="/docs/mapred.html">Using in MapRed</option>
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <option value="/docs/mapreduce.html">Using in MapReduce</option>
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-
-
-    </optgroup>
-    
-    <optgroup label="Using ORC Core">
-      
-
-
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <option value="/docs/core-java.html">Using Core Java</option>
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-
-
-    </optgroup>
-    
-    <optgroup label="Tools">
-      
-
-
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <option value="/docs/tools.html">Tools</option>
-    
-  
-    
-  
-
-
-    </optgroup>
-    
-    <optgroup label="Format Specification">
-      
-
-
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <option value="/docs/spec-intro.html">Introduction</option>
-    
-  
-    
-  
-    
-  
-    
-  
-
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <option value="/docs/file-tail.html">File Tail</option>
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-      <option value="/docs/compression.html">Compression</option>
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <option value="/docs/run-length.html">Run Length Encoding</option>
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <option value="/docs/stripes.html">Stripes</option>
-    
-  
-    
-  
-    
-  
-
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <option value="/docs/encodings.html">Column Encodings</option>
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <option value="/docs/spec-index.html">Indexes</option>
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-
-
-    </optgroup>
-    
-  </select>
-</div>
-
-
-      <div class="unit four-fifths">
-        <article>
-          <h1>Tools</h1>
-          <h2 id="orc-contents">orc-contents</h2>
-
-<p>Displays the contents of the ORC file as a JSON document. With the
-<code>columns</code> argument only the selected columns are printed.</p>
-
-<pre><code class="language-shell">% orc-contents  [--columns=1,2,...] 
&lt;filename&gt;
-</code></pre>
-
-<p>If you run it on the example file TestOrcFile.test1.orc, you’ll see 
(without
-the line breaks within each record):</p>
-
-<pre><code class="language-shell">% orc-contents examples/TestOrcFile.test1.orc
-{"boolean1": false, "byte1": 1, "short1": 1024, "int1": 65536, \\
- "long1": 9223372036854775807, "float1": 1, "double1": -15, \\
- "bytes1": [0, 1, 2, 3, 4], "string1": "hi", "middle": \\
-    {"list": [{"int1": 1, "string1": "bye"}, \\
-              {"int1": 2, "string1": "sigh"}]}, \\
- "list": [{"int1": 3, "string1": "good"}, \\
-          {"int1": 4, "string1": "bad"}], \\
- "map": []}
-{"boolean1": true, "byte1": 100, "short1": 2048, "int1": 65536,
- "long1": 9223372036854775807, "float1": 2, "double1": -5, \\
- "bytes1": [], "string1": "bye", \\
- "middle": {"list": [{"int1": 1, "string1": "bye"}, \\
-                     {"int1": 2, "string1": "sigh"}]}, \\
- "list": [{"int1": 100000000, "string1": "cat"}, \\
-          {"int1": -100000, "string1": "in"}, \\
-          {"int1": 1234, "string1": "hat"}], \\
- "map": [{"key": "chani", "value": {"int1": 5, "string1": "chani"}}, \\
-         {"key": "mauddib", \\
-          "value": {"int1": 1, "string1": "mauddib"}}]}
-</code></pre>
-
-<h2 id="orc-metadata">orc-metadata</h2>
-
-<p>Displays the metadata of the ORC file as a JSON document. With the
-<code>verbose</code> option additional information about the layout of the file
-is also printed.</p>
-
-<p>For diagnosing problems, it is useful to use the ‘–raw’ option that
-prints the protocol buffers from the ORC file directly rather than
-interpreting them.</p>
-
-<pre><code class="language-shell">% orc-metadata [-v] [--raw] &lt;filename&gt;
-</code></pre>
-
-<p>If you run it on the example file TestOrcFile.test1.orc, you’ll see:</p>
-
-<pre><code class="language-shell">% orc-metadata examples/TestOrcFile.test1.orc
-{ "name": "../examples/TestOrcFile.test1.orc",
-  "type": "struct&lt;boolean1:boolean,byte1:tinyint,short1:smallint,
-int1:int,long1:bigint,float1:float,double1:double,bytes1:binary,
-string1:string,middle:struct&lt;list:array&lt;struct&lt;int1:int,string1:
-string&gt;&gt;&gt;,list:array&lt;struct&lt;int1:int,string1:string&gt;&gt;,map:map&lt;
-string,struct&lt;int1:int,string1:string&gt;&gt;&gt;",
-  "rows": 2,
-  "stripe count": 1,
-  "format": "0.12", "writer version": "HIVE-8732",
-  "compression": "zlib", "compression block": 10000,
-  "file length": 1711,
-  "content": 1015, "stripe stats": 250, "footer": 421, "postscript": 24,
-  "row index stride": 10000,
-  "user metadata": {
-  },
-  "stripes": [
-    { "stripe": 0, "rows": 2,
-      "offset": 3, "length": 1012,
-      "index": 570, "data": 243, "footer": 199
-    }
-  ]
-}
-</code></pre>
-
-<h2 id="java-orc-tools">Java ORC Tools</h2>
-
-<p>In addition to the C++ tools above, there is an ORC tools jar that
-packages several useful utilities and the necessary Java dependencies
-(including Hadoop) into a single package. The Java ORC tool jar
-supports both the local file system and HDFS.</p>
-
-<p>The subcommands for the tools are:</p>
-
-<ul>
-  <li>meta - print the metadata of an ORC file</li>
-  <li>data - print the data of an ORC file</li>
-  <li>scan (since ORC 1.3) - scan the data for benchmarking</li>
-  <li>convert (since ORC 1.4) - convert JSON files to ORC</li>
-  <li>json-schema (since ORC 1.4) - determine the schema of JSON documents</li>
-</ul>
-
-<p>The command line looks like:</p>
-
-<pre><code class="language-shell">% java -jar orc-tools-X.Y.Z-uber.jar 
&lt;sub-command&gt; &lt;args&gt;
-</code></pre>
-
-<h3 id="java-meta">Java Meta</h3>
-
-<p>The meta command prints the metadata about the given ORC file and is
-equivalent to the Hive ORC File Dump command.</p>
-
-<dl>
-  <dt>-j</dt>
-  <dd>format the output in JSON</dd>
-  <dt>-p</dt>
-  <dd>pretty print the output</dd>
-  <dt>-t</dt>
-  <dd>print the timezone of the writer</dd>
-  <dt>–rowindex</dt>
-  <dd>print the row indexes for the comma separated list of column ids</dd>
-  <dt>–recover</dt>
-  <dd>skip over corrupted values in the ORC file</dd>
-  <dt>–skip-dump</dt>
-  <dd>skip dumping the metadata</dd>
-  <dt>–backup-path</dt>
-  <dd>when used with –recover specifies the path where the recovered file is 
written</dd>
-</dl>
-
-<p>An example of the output is given below:</p>
-
-<pre><code class="language-shell">% java -jar orc-tools-X.Y.Z-uber.jar meta 
examples/TestOrcFile.test1.orc
-Processing data file examples/TestOrcFile.test1.orc [length: 1711]
-Structure for examples/TestOrcFile.test1.orc
-File Version: 0.12 with HIVE_8732
-Rows: 2
-Compression: ZLIB
-Compression size: 10000
-Type: struct&lt;boolean1:boolean,byte1:tinyint,short1:smallint,int1:int,
-long1:bigint,float1:float,double1:double,bytes1:binary,string1:string,
-middle:struct&lt;list:array&lt;struct&lt;int1:int,string1:string&gt;&gt;&gt;,list:array&lt;
-struct&lt;int1:int,string1:string&gt;&gt;,map:map&lt;string,struct&lt;int1:int,string1:
-string&gt;&gt;&gt;
-
-Stripe Statistics:
-  Stripe 1:
-    Column 0: count: 2 hasNull: false
-    Column 1: count: 2 hasNull: false true: 1
-    Column 2: count: 2 hasNull: false min: 1 max: 100 sum: 101
-    Column 3: count: 2 hasNull: false min: 1024 max: 2048 sum: 3072
-    Column 4: count: 2 hasNull: false min: 65536 max: 65536 sum: 131072
-    Column 5: count: 2 hasNull: false min: 9223372036854775807 max: 
9223372036854775807
-    Column 6: count: 2 hasNull: false min: 1.0 max: 2.0 sum: 3.0
-    Column 7: count: 2 hasNull: false min: -15.0 max: -5.0 sum: -20.0
-    Column 8: count: 2 hasNull: false sum: 5
-    Column 9: count: 2 hasNull: false min: bye max: hi sum: 5
-    Column 10: count: 2 hasNull: false
-    Column 11: count: 2 hasNull: false
-    Column 12: count: 4 hasNull: false
-    Column 13: count: 4 hasNull: false min: 1 max: 2 sum: 6
-    Column 14: count: 4 hasNull: false min: bye max: sigh sum: 14
-    Column 15: count: 2 hasNull: false
-    Column 16: count: 5 hasNull: false
-    Column 17: count: 5 hasNull: false min: -100000 max: 100000000 sum: 
99901241
-    Column 18: count: 5 hasNull: false min: bad max: in sum: 15
-    Column 19: count: 2 hasNull: false
-    Column 20: count: 2 hasNull: false min: chani max: mauddib sum: 12
-    Column 21: count: 2 hasNull: false
-    Column 22: count: 2 hasNull: false min: 1 max: 5 sum: 6
-    Column 23: count: 2 hasNull: false min: chani max: mauddib sum: 12
-
-File Statistics:
-  Column 0: count: 2 hasNull: false
-  Column 1: count: 2 hasNull: false true: 1
-  Column 2: count: 2 hasNull: false min: 1 max: 100 sum: 101
-  Column 3: count: 2 hasNull: false min: 1024 max: 2048 sum: 3072
-  Column 4: count: 2 hasNull: false min: 65536 max: 65536 sum: 131072
-  Column 5: count: 2 hasNull: false min: 9223372036854775807 max: 
9223372036854775807
-  Column 6: count: 2 hasNull: false min: 1.0 max: 2.0 sum: 3.0
-  Column 7: count: 2 hasNull: false min: -15.0 max: -5.0 sum: -20.0
-  Column 8: count: 2 hasNull: false sum: 5
-  Column 9: count: 2 hasNull: false min: bye max: hi sum: 5
-  Column 10: count: 2 hasNull: false
-  Column 11: count: 2 hasNull: false
-  Column 12: count: 4 hasNull: false
-  Column 13: count: 4 hasNull: false min: 1 max: 2 sum: 6
-  Column 14: count: 4 hasNull: false min: bye max: sigh sum: 14
-  Column 15: count: 2 hasNull: false
-  Column 16: count: 5 hasNull: false
-  Column 17: count: 5 hasNull: false min: -100000 max: 100000000 sum: 99901241
-  Column 18: count: 5 hasNull: false min: bad max: in sum: 15
-  Column 19: count: 2 hasNull: false
-  Column 20: count: 2 hasNull: false min: chani max: mauddib sum: 12
-  Column 21: count: 2 hasNull: false
-  Column 22: count: 2 hasNull: false min: 1 max: 5 sum: 6
-  Column 23: count: 2 hasNull: false min: chani max: mauddib sum: 12
-
-Stripes:
-  Stripe: offset: 3 data: 243 rows: 2 tail: 199 index: 570
-    Stream: column 0 section ROW_INDEX start: 3 length 11
-    Stream: column 1 section ROW_INDEX start: 14 length 22
-    Stream: column 2 section ROW_INDEX start: 36 length 26
-    Stream: column 3 section ROW_INDEX start: 62 length 27
-    Stream: column 4 section ROW_INDEX start: 89 length 30
-    Stream: column 5 section ROW_INDEX start: 119 length 28
-    Stream: column 6 section ROW_INDEX start: 147 length 34
-    Stream: column 7 section ROW_INDEX start: 181 length 34
-    Stream: column 8 section ROW_INDEX start: 215 length 21
-    Stream: column 9 section ROW_INDEX start: 236 length 30
-    Stream: column 10 section ROW_INDEX start: 266 length 11
-    Stream: column 11 section ROW_INDEX start: 277 length 16
-    Stream: column 12 section ROW_INDEX start: 293 length 11
-    Stream: column 13 section ROW_INDEX start: 304 length 24
-    Stream: column 14 section ROW_INDEX start: 328 length 31
-    Stream: column 15 section ROW_INDEX start: 359 length 16
-    Stream: column 16 section ROW_INDEX start: 375 length 11
-    Stream: column 17 section ROW_INDEX start: 386 length 32
-    Stream: column 18 section ROW_INDEX start: 418 length 30
-    Stream: column 19 section ROW_INDEX start: 448 length 16
-    Stream: column 20 section ROW_INDEX start: 464 length 37
-    Stream: column 21 section ROW_INDEX start: 501 length 11
-    Stream: column 22 section ROW_INDEX start: 512 length 24
-    Stream: column 23 section ROW_INDEX start: 536 length 37
-    Stream: column 1 section DATA start: 573 length 5
-    Stream: column 2 section DATA start: 578 length 6
-    Stream: column 3 section DATA start: 584 length 9
-    Stream: column 4 section DATA start: 593 length 11
-    Stream: column 5 section DATA start: 604 length 12
-    Stream: column 6 section DATA start: 616 length 11
-    Stream: column 7 section DATA start: 627 length 15
-    Stream: column 8 section DATA start: 642 length 8
-    Stream: column 8 section LENGTH start: 650 length 6
-    Stream: column 9 section DATA start: 656 length 8
-    Stream: column 9 section LENGTH start: 664 length 6
-    Stream: column 11 section LENGTH start: 670 length 6
-    Stream: column 13 section DATA start: 676 length 7
-    Stream: column 14 section DATA start: 683 length 6
-    Stream: column 14 section LENGTH start: 689 length 6
-    Stream: column 14 section DICTIONARY_DATA start: 695 length 10
-    Stream: column 15 section LENGTH start: 705 length 6
-    Stream: column 17 section DATA start: 711 length 25
-    Stream: column 18 section DATA start: 736 length 18
-    Stream: column 18 section LENGTH start: 754 length 8
-    Stream: column 19 section LENGTH start: 762 length 6
-    Stream: column 20 section DATA start: 768 length 15
-    Stream: column 20 section LENGTH start: 783 length 6
-    Stream: column 22 section DATA start: 789 length 6
-    Stream: column 23 section DATA start: 795 length 15
-    Stream: column 23 section LENGTH start: 810 length 6
-    Encoding column 0: DIRECT
-    Encoding column 1: DIRECT
-    Encoding column 2: DIRECT
-    Encoding column 3: DIRECT_V2
-    Encoding column 4: DIRECT_V2
-    Encoding column 5: DIRECT_V2
-    Encoding column 6: DIRECT
-    Encoding column 7: DIRECT
-    Encoding column 8: DIRECT_V2
-    Encoding column 9: DIRECT_V2
-    Encoding column 10: DIRECT
-    Encoding column 11: DIRECT_V2
-    Encoding column 12: DIRECT
-    Encoding column 13: DIRECT_V2
-    Encoding column 14: DICTIONARY_V2[2]
-    Encoding column 15: DIRECT_V2
-    Encoding column 16: DIRECT
-    Encoding column 17: DIRECT_V2
-    Encoding column 18: DIRECT_V2
-    Encoding column 19: DIRECT_V2
-    Encoding column 20: DIRECT_V2
-    Encoding column 21: DIRECT
-    Encoding column 22: DIRECT_V2
-    Encoding column 23: DIRECT_V2
-
-File length: 1711 bytes
-Padding length: 0 bytes
-Padding ratio: 0%
-______________________________________________________________________
-</code></pre>
-
-<h3 id="java-data">Java Data</h3>
-
-<p>The data command prints the data in an ORC file as a JSON document. Each
-record is printed as a JSON object on a line. Each record is annotated with
-the fieldnames and a JSON representation that depends on the field’s 
type.</p>
-
-<h3 id="java-scan">Java Scan</h3>
-
-<p>The scan command reads the contents of the file without printing anything. 
It
-is primarily intendend for benchmarking the Java reader without including the
-cost of printing the data out.</p>
-
-<h3 id="java-convert">Java Convert</h3>
-
-<p>The convert command reads several JSON files and converts them into a
-single ORC file.</p>
-
-<dl>
-  <dt>-o <filename></filename></dt>
-  <dd>Sets the output ORC filename, which defaults to output.orc</dd>
-  <dt>-s <schema></schema></dt>
-  <dd>Sets the schema for the ORC file. By default, the schema is 
automatically discovered.</dd>
-  <dt>-h</dt>
-  <dd>Print help</dd>
-</dl>
-
-<p>The automatic JSON schema discovery is equivalent to the json-schema tool
-below.</p>
-
-<h3 id="java-json-schema">Java JSON Schema</h3>
-
-<p>The JSON Schema discovery tool processes a set of JSON documents and
-produces a schema that encompasses all of the records in all of the
-documents. It works by computing the enclosing type and promoting it
-to include all of the observed values.</p>
-
-<dl>
-  <dt>-f</dt>
-  <dd>Print the schema as a list of flat types for each subfield</dd>
-  <dt>-t</dt>
-  <dd>Print the schema as a Hive table declaration</dd>
-  <dt>-h</dt>
-  <dd>Print help</dd>
-</dl>
-
-          
-
-
-
-
-
-  
-  
-
-  
-  
-
-  
-  
-
-  
-  
-
-  
-  
-
-  
-  
-
-  
-  
-
-  
-  
-
-  
-  
-
-  
-  
-
-  
-  
-
-  
-  
-
-  
-  
-    <div class="section-nav">
-      <div class="left align-right">
-          
-            
-            
-            <a href="/docs/core-java.html" class="prev">Back</a>
-          
-      </div>
-      <div class="right align-left">
-          
-            
-            
-            <a href="/docs/spec-intro.html" class="next">Next</a>
-          
-      </div>
-    </div>
-    <div class="clear"></div>
-    
-
-        </article>
-      </div>
-
-      <div class="unit one-fifth hide-on-mobiles">
-  <aside>
-    
-    <h4>Overview</h4>
-    
-
-<ul>
-
-  
-
-  
-    
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <li class=""><a href="/docs/index.html">Background</a></li>
-      
-
-
-  
-
-  
-    
-  
-
-  
-    
-  
-    
-      <li class=""><a href="/docs/adopters.html">ORC Adopters</a></li>
-      
-
-
-  
-
-  
-    
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <li class=""><a href="/docs/types.html">Types</a></li>
-      
-
-
-  
-
-  
-    
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <li class=""><a href="/docs/indexes.html">Indexes</a></li>
-      
-
-
-  
-
-  
-    
-  
-
-  
-    
-      <li class=""><a href="/docs/acid.html">ACID support</a></li>
-      
-
-
-</ul>
-
-    
-    <h4>Installing</h4>
-    
-
-<ul>
-
-  
-
-  
-    
-  
-
-  
-    
-  
-    
-  
-    
-      <li class=""><a href="/docs/building.html">Building ORC</a></li>
-      
-
-
-  
-
-  
-    
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <li class=""><a href="/docs/releases.html">Releases</a></li>
-      
-
-
-</ul>
-
-    
-    <h4>Using in Hive</h4>
-    
-
-<ul>
-
-  
-
-  
-    
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <li class=""><a href="/docs/hive-ddl.html">Hive DDL</a></li>
-      
-
-
-  
-
-  
-    
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <li class=""><a href="/docs/hive-config.html">Hive Configuration</a></li>
-      
-
-
-</ul>
-
-    
-    <h4>Using in MapReduce</h4>
-    
-
-<ul>
-
-  
-
-  
-    
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <li class=""><a href="/docs/mapred.html">Using in MapRed</a></li>
-      
-
-
-  
-
-  
-    
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <li class=""><a href="/docs/mapreduce.html">Using in MapReduce</a></li>
-      
-
-
-</ul>
-
-    
-    <h4>Using ORC Core</h4>
-    
-
-<ul>
-
-  
-
-  
-    
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <li class=""><a href="/docs/core-java.html">Using Core Java</a></li>
-      
-
-
-</ul>
-
-    
-    <h4>Tools</h4>
-    
-
-<ul>
-
-  
-
-  
-    
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <li class="current"><a href="/docs/tools.html">Tools</a></li>
-      
-
-
-</ul>
-
-    
-    <h4>Format Specification</h4>
-    
-
-<ul>
-
-  
-
-  
-    
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <li class=""><a href="/docs/spec-intro.html">Introduction</a></li>
-      
-
-
-  
-
-  
-    
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <li class=""><a href="/docs/file-tail.html">File Tail</a></li>
-      
-
-
-  
-
-  
-    
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-      <li class=""><a href="/docs/compression.html">Compression</a></li>
-      
-
-
-  
-
-  
-    
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <li class=""><a href="/docs/run-length.html">Run Length Encoding</a></li>
-      
-
-
-  
-
-  
-    
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <li class=""><a href="/docs/stripes.html">Stripes</a></li>
-      
-
-
-  
-
-  
-    
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <li class=""><a href="/docs/encodings.html">Column Encodings</a></li>
-      
-
-
-  
-
-  
-    
-  
-
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-  
-    
-      <li class=""><a href="/docs/spec-index.html">Indexes</a></li>
-      
-
-
-</ul>
-
-    
-  </aside>
-</div>
-
-
-      <div class="clear"></div>
-
-    </div>
-  </section>
-
-
-  <footer role="contentinfo">
-  <p>The contents of this website are &copy;&nbsp;2018
-     <a href="https://www.apache.org/";>Apache Software Foundation</a>
-     under the terms of the <a
-      href="https://www.apache.org/licenses/LICENSE-2.0.html";>
-      Apache&nbsp;License&nbsp;v2</a>. Apache ORC and its logo are trademarks
-      of the Apache Software Foundation.</p>
-</footer>
-
-  <script>
-  var anchorForId = function (id) {
-    var anchor = document.createElement("a");
-    anchor.className = "header-link";
-    anchor.href      = "#" + id;
-    anchor.innerHTML = "<span class=\"sr-only\">Permalink</span><i class=\"fa 
fa-link\"></i>";
-    anchor.title = "Permalink";
-    return anchor;
-  };
-
-  var linkifyAnchors = function (level, containingElement) {
-    var headers = containingElement.getElementsByTagName("h" + level);
-    for (var h = 0; h < headers.length; h++) {
-      var header = headers[h];
-
-      if (typeof header.id !== "undefined" && header.id !== "") {
-        header.appendChild(anchorForId(header.id));
-      }
-    }
-  };
-
-  document.onreadystatechange = function () {
-    if (this.readyState === "complete") {
-      var contentBlock = document.getElementsByClassName("docs")[0] || 
document.getElementsByClassName("news")[0];
-      if (!contentBlock) {
-        return;
-      }
-      for (var level = 1; level <= 6; level++) {
-        linkifyAnchors(level, contentBlock);
-      }
-    }
-  };
-</script>
-
-
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/orc/blob/c63412b1/docs/types.html
----------------------------------------------------------------------
diff --git a/docs/types.html b/docs/types.html
index f46f1e6..dda60a4 100644
--- a/docs/types.html
+++ b/docs/types.html
@@ -111,6 +111,10 @@
     
   
     
+  
+    
+  
+    
       <option value="/docs/index.html">Background</option>
     
   
@@ -180,6 +184,10 @@
   
     
   
+    
+  
+    
+  
 
   
 
@@ -223,6 +231,10 @@
     
   
     
+  
+    
+  
+    
       <option value="/docs/types.html">Types</option>
     
   
@@ -251,6 +263,10 @@
     
   
     
+  
+    
+  
+    
       <option value="/docs/indexes.html">Indexes</option>
     
   
@@ -318,6 +334,10 @@
   
     
   
+    
+  
+    
+  
 
 
     </optgroup>
@@ -371,6 +391,10 @@
   
     
   
+    
+  
+    
+  
 
   
 
@@ -402,10 +426,14 @@
     
   
     
-      <option value="/docs/releases.html">Releases</option>
+  
+    
+  
     
   
     
+      <option value="/docs/releases.html">Releases</option>
+    
   
     
   
@@ -445,6 +473,10 @@
     
   
     
+  
+    
+  
+    
       <option value="/docs/hive-ddl.html">Hive DDL</option>
     
   
@@ -489,6 +521,10 @@
     
   
     
+  
+    
+  
+    
       <option value="/docs/hive-config.html">Hive Configuration</option>
     
   
@@ -550,10 +586,14 @@
     
   
     
-      <option value="/docs/mapred.html">Using in MapRed</option>
+  
+    
+  
     
   
     
+      <option value="/docs/mapred.html">Using in MapRed</option>
+    
   
     
   
@@ -598,12 +638,16 @@
     
   
     
-      <option value="/docs/mapreduce.html">Using in MapReduce</option>
+  
     
   
     
   
     
+      <option value="/docs/mapreduce.html">Using in MapReduce</option>
+    
+  
+    
   
     
   
@@ -635,6 +679,8 @@
     
   
     
+  
+    
       <option value="/docs/core-java.html">Using Core Java</option>
     
   
@@ -668,6 +714,58 @@
   
     
   
+    
+  
+
+  
+
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+      <option value="/docs/core-cpp.html">Using Core C++</option>
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
 
 
     </optgroup>
@@ -692,6 +790,58 @@
     
   
     
+      <option value="/docs/cpp-tools.html">C++ Tools</option>
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+
+  
+
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
   
     
   
@@ -704,6 +854,8 @@
     
   
     
+      <option value="/docs/java-tools.html">Java Tools</option>
+    
   
     
   
@@ -716,7 +868,7 @@
     
   
     
-      <option value="/docs/tools.html">Tools</option>
+  
     
   
     
@@ -765,12 +917,16 @@
     
   
     
-      <option value="/docs/spec-intro.html">Introduction</option>
+  
     
   
     
   
     
+      <option value="/docs/spec-intro.html">Introduction</option>
+    
+  
+    
   
     
   
@@ -791,6 +947,10 @@
     
   
     
+  
+    
+  
+    
       <option value="/docs/file-tail.html">File Tail</option>
     
   
@@ -866,6 +1026,10 @@
   
     
   
+    
+  
+    
+  
 
   
 
@@ -899,12 +1063,16 @@
     
   
     
-      <option value="/docs/run-length.html">Run Length Encoding</option>
+  
     
   
     
   
     
+      <option value="/docs/run-length.html">Run Length Encoding</option>
+    
+  
+    
   
     
   
@@ -951,12 +1119,16 @@
     
   
     
-      <option value="/docs/stripes.html">Stripes</option>
+  
     
   
     
   
     
+      <option value="/docs/stripes.html">Stripes</option>
+    
+  
+    
   
 
   
@@ -973,6 +1145,10 @@
     
   
     
+  
+    
+  
+    
       <option value="/docs/encodings.html">Column Encodings</option>
     
   
@@ -1039,10 +1215,14 @@
     
   
     
-      <option value="/docs/spec-index.html">Indexes</option>
+  
+    
+  
     
   
     
+      <option value="/docs/spec-index.html">Indexes</option>
+    
   
     
   
@@ -1209,6 +1389,10 @@ file would form the given tree.</p>
     
   
     
+  
+    
+  
+    
       <li class=""><a href="/docs/index.html">Background</a></li>
       
 
@@ -1273,6 +1457,10 @@ file would form the given tree.</p>
     
   
     
+  
+    
+  
+    
       <li class="current"><a href="/docs/types.html">Types</a></li>
       
 
@@ -1305,6 +1493,10 @@ file would form the given tree.</p>
     
   
     
+  
+    
+  
+    
       <li class=""><a href="/docs/indexes.html">Indexes</a></li>
       
 
@@ -1379,6 +1571,12 @@ file would form the given tree.</p>
     
   
     
+  
+    
+  
+    
+  
+    
       <li class=""><a href="/docs/releases.html">Releases</a></li>
       
 
@@ -1415,6 +1613,10 @@ file would form the given tree.</p>
     
   
     
+  
+    
+  
+    
       <li class=""><a href="/docs/hive-ddl.html">Hive DDL</a></li>
       
 
@@ -1441,6 +1643,10 @@ file would form the given tree.</p>
     
   
     
+  
+    
+  
+    
       <li class=""><a href="/docs/hive-config.html">Hive Configuration</a></li>
       
 
@@ -1483,6 +1689,12 @@ file would form the given tree.</p>
     
   
     
+  
+    
+  
+    
+  
+    
       <li class=""><a href="/docs/mapred.html">Using in MapRed</a></li>
       
 
@@ -1519,6 +1731,12 @@ file would form the given tree.</p>
     
   
     
+  
+    
+  
+    
+  
+    
       <li class=""><a href="/docs/mapreduce.html">Using in MapReduce</a></li>
       
 
@@ -1547,10 +1765,32 @@ file would form the given tree.</p>
     
   
     
+  
+    
       <li class=""><a href="/docs/core-java.html">Using Core Java</a></li>
       
 
 
+  
+
+  
+    
+  
+
+  
+    
+  
+    
+  
+    
+  
+    
+  
+    
+      <li class=""><a href="/docs/core-cpp.html">Using Core C++</a></li>
+      
+
+
 </ul>
 
     
@@ -1579,6 +1819,20 @@ file would form the given tree.</p>
     
   
     
+      <li class=""><a href="/docs/cpp-tools.html">C++ Tools</a></li>
+      
+
+
+  
+
+  
+    
+  
+
+  
+    
+  
+    
   
     
   
@@ -1603,7 +1857,7 @@ file would form the given tree.</p>
     
   
     
-      <li class=""><a href="/docs/tools.html">Tools</a></li>
+      <li class=""><a href="/docs/java-tools.html">Java Tools</a></li>
       
 
 
@@ -1655,6 +1909,12 @@ file would form the given tree.</p>
     
   
     
+  
+    
+  
+    
+  
+    
       <li class=""><a href="/docs/spec-intro.html">Introduction</a></li>
       
 
@@ -1679,6 +1939,10 @@ file would form the given tree.</p>
     
   
     
+  
+    
+  
+    
       <li class=""><a href="/docs/file-tail.html">File Tail</a></li>
       
 
@@ -1737,6 +2001,12 @@ file would form the given tree.</p>
     
   
     
+  
+    
+  
+    
+  
+    
       <li class=""><a href="/docs/run-length.html">Run Length Encoding</a></li>
       
 
@@ -1783,6 +2053,12 @@ file would form the given tree.</p>
     
   
     
+  
+    
+  
+    
+  
+    
       <li class=""><a href="/docs/stripes.html">Stripes</a></li>
       
 
@@ -1805,6 +2081,10 @@ file would form the given tree.</p>
     
   
     
+  
+    
+  
+    
       <li class=""><a href="/docs/encodings.html">Column Encodings</a></li>
       
 
@@ -1847,6 +2127,12 @@ file would form the given tree.</p>
     
   
     
+  
+    
+  
+    
+  
+    
       <li class=""><a href="/docs/spec-index.html">Indexes</a></li>
       
 

Reply via email to