| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_252) on Sun Apr 26 20:47:05 PDT 2020 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>TypeDescription (ORC Core 1.6.3 API)</title> |
| <meta name="date" content="2020-04-26"> |
| <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="TypeDescription (ORC Core 1.6.3 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":10,"i19":10,"i20":10,"i21":10,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":9,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/TypeDescription.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../index-all.html">Index</a></li> |
| <li><a href="../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../org/apache/orc/TimestampColumnStatistics.html" title="interface in org.apache.orc"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../org/apache/orc/TypeDescription.Category.html" title="enum in org.apache.orc"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../index.html?org/apache/orc/TypeDescription.html" target="_top">Frames</a></li> |
| <li><a href="TypeDescription.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.orc</div> |
| <h2 title="Class TypeDescription" class="title">Class TypeDescription</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.orc.TypeDescription</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a>></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">TypeDescription</span> |
| extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a>>, <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a></pre> |
| <div class="block">This is the description of the types in an ORC file.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../serialized-form.html#org.apache.orc.TypeDescription">Serialized Form</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Class and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.Category.html" title="enum in org.apache.orc">TypeDescription.Category</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.RowBatchVersion.html" title="enum in org.apache.orc">TypeDescription.RowBatchVersion</a></span></code> |
| <div class="block">Specify the version of the VectorizedRowBatch that the user desires.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#ENCRYPT_ATTRIBUTE">ENCRYPT_ATTRIBUTE</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#MASK_ATTRIBUTE">MASK_ATTRIBUTE</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#MAX_DECIMAL64">MAX_DECIMAL64</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#MAX_DECIMAL64_PRECISION">MAX_DECIMAL64_PRECISION</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#MIN_DECIMAL64">MIN_DECIMAL64</a></span></code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#TypeDescription-org.apache.orc.TypeDescription.Category-">TypeDescription</a></span>(<a href="../../../org/apache/orc/TypeDescription.Category.html" title="enum in org.apache.orc">TypeDescription.Category</a> category)</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#addChild-org.apache.orc.TypeDescription-">addChild</a></span>(<a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> child)</code> |
| <div class="block">Add a child to a type.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#addField-java.lang.String-org.apache.orc.TypeDescription-">addField</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> field, |
| <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> fieldType)</code> |
| <div class="block">Add a field to a struct type as it is built.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#addUnionChild-org.apache.orc.TypeDescription-">addUnionChild</a></span>(<a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> child)</code> |
| <div class="block">Add a child to a union type.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#annotateEncryption-java.lang.String-java.lang.String-">annotateEncryption</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> encryption, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> masks)</code> |
| <div class="block">Annotate a schema with the encryption keys and masks.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#clone--">clone</a></span>()</code> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#compareTo-org.apache.orc.TypeDescription-">compareTo</a></span>(<a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> other)</code> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createBinary--">createBinary</a></span>()</code> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createBoolean--">createBoolean</a></span>()</code> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createByte--">createByte</a></span>()</code> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createChar--">createChar</a></span>()</code> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createDate--">createDate</a></span>()</code> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createDecimal--">createDecimal</a></span>()</code> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createDouble--">createDouble</a></span>()</code> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createFloat--">createFloat</a></span>()</code> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createInt--">createInt</a></span>()</code> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createList-org.apache.orc.TypeDescription-">createList</a></span>(<a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> childType)</code> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createLong--">createLong</a></span>()</code> </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createMap-org.apache.orc.TypeDescription-org.apache.orc.TypeDescription-">createMap</a></span>(<a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> keyType, |
| <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> valueType)</code> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code><a href="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatch.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.exec.vector">VectorizedRowBatch</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createRowBatch--">createRowBatch</a></span>()</code> |
| <div class="block">Create a VectorizedRowBatch with the original ColumnVector types</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code><a href="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatch.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.exec.vector">VectorizedRowBatch</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createRowBatch-int-">createRowBatch</a></span>(int maxSize)</code> |
| <div class="block">Create a VectorizedRowBatch with the original ColumnVector types</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code><a href="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatch.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.exec.vector">VectorizedRowBatch</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createRowBatch-org.apache.orc.TypeDescription.RowBatchVersion-int-">createRowBatch</a></span>(<a href="../../../org/apache/orc/TypeDescription.RowBatchVersion.html" title="enum in org.apache.orc">TypeDescription.RowBatchVersion</a> version, |
| int size)</code> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code><a href="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatch.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.exec.vector">VectorizedRowBatch</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createRowBatchV2--">createRowBatchV2</a></span>()</code> |
| <div class="block">Create a VectorizedRowBatch that uses Decimal64ColumnVector for |
| short (p ≤ 18) decimals.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createShort--">createShort</a></span>()</code> </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createString--">createString</a></span>()</code> </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createStruct--">createStruct</a></span>()</code> </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createTimestamp--">createTimestamp</a></span>()</code> </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createTimestampInstant--">createTimestampInstant</a></span>()</code> </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createUnion--">createUnion</a></span>()</code> </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#createVarchar--">createVarchar</a></span>()</code> </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> other)</code> </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#equals-java.lang.Object-boolean-">equals</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> other, |
| boolean checkAttributes)</code> |
| <div class="block">Determines whether the two object are equal.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#findSubtype-int-">findSubtype</a></span>(int goal)</code> |
| <div class="block">Locate a subtype by its id.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#findSubtype-java.lang.String-">findSubtype</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> columnName)</code> |
| <div class="block">Find a subtype of this schema by name.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#findSubtypes-java.lang.String-">findSubtypes</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> columnNameList)</code> |
| <div class="block">Find a list of subtypes from a string, including the empty list.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#fromString-java.lang.String-">fromString</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> typeName)</code> |
| <div class="block">Parse TypeDescription from the Hive type names.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#getAttributeNames--">getAttributeNames</a></span>()</code> |
| <div class="block">Get the list of attribute names defined on this type.</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#getAttributeValue-java.lang.String-">getAttributeValue</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> attributeName)</code> |
| <div class="block">Get the value of a given attribute.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/orc/TypeDescription.Category.html" title="enum in org.apache.orc">TypeDescription.Category</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#getCategory--">getCategory</a></span>()</code> |
| <div class="block">Get the kind of this type.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#getChildren--">getChildren</a></span>()</code> |
| <div class="block">Get the subtypes of this type.</div> |
| </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#getFieldNames--">getFieldNames</a></span>()</code> |
| <div class="block">For struct types, get the list of field names.</div> |
| </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#getId--">getId</a></span>()</code> |
| <div class="block">Get the id for this type.</div> |
| </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#getMaximumId--">getMaximumId</a></span>()</code> |
| <div class="block">Get the maximum id assigned to this type or its children.</div> |
| </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#getMaxLength--">getMaxLength</a></span>()</code> |
| <div class="block">Get the maximum length of the type.</div> |
| </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#getPrecision--">getPrecision</a></span>()</code> |
| <div class="block">Get the precision of the decimal type.</div> |
| </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#getScale--">getScale</a></span>()</code> |
| <div class="block">Get the scale of the decimal type.</div> |
| </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#hashCode--">hashCode</a></span>()</code> </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#printToBuffer-java.lang.StringBuilder-">printToBuffer</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> buffer)</code> </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#removeAttribute-java.lang.String-">removeAttribute</a></span>(@NotNull <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</code> |
| <div class="block">Remove attribute on this type, if it is set.</div> |
| </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#setAttribute-java.lang.String-java.lang.String-">setAttribute</a></span>(@NotNull <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| @NotNull <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</code> |
| <div class="block">Set an attribute on this type.</div> |
| </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#toJson--">toJson</a></span>()</code> </td> |
| </tr> |
| <tr id="i50" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#toString--">toString</a></span>()</code> </td> |
| </tr> |
| <tr id="i51" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#withMaxLength-int-">withMaxLength</a></span>(int maxLength)</code> |
| <div class="block">Set the maximum length for char and varchar types.</div> |
| </td> |
| </tr> |
| <tr id="i52" class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#withPrecision-int-">withPrecision</a></span>(int precision)</code> |
| <div class="block">For decimal types, set the precision.</div> |
| </td> |
| </tr> |
| <tr id="i53" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/orc/TypeDescription.html#withScale-int-">withScale</a></span>(int scale)</code> |
| <div class="block">For decimal types, set the scale.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="MAX_DECIMAL64_PRECISION"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MAX_DECIMAL64_PRECISION</h4> |
| <pre>public static final int MAX_DECIMAL64_PRECISION</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../constant-values.html#org.apache.orc.TypeDescription.MAX_DECIMAL64_PRECISION">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="MAX_DECIMAL64"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MAX_DECIMAL64</h4> |
| <pre>public static final long MAX_DECIMAL64</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../constant-values.html#org.apache.orc.TypeDescription.MAX_DECIMAL64">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="MIN_DECIMAL64"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MIN_DECIMAL64</h4> |
| <pre>public static final long MIN_DECIMAL64</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../constant-values.html#org.apache.orc.TypeDescription.MIN_DECIMAL64">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="ENCRYPT_ATTRIBUTE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ENCRYPT_ATTRIBUTE</h4> |
| <pre>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ENCRYPT_ATTRIBUTE</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../constant-values.html#org.apache.orc.TypeDescription.ENCRYPT_ATTRIBUTE">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="MASK_ATTRIBUTE"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>MASK_ATTRIBUTE</h4> |
| <pre>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> MASK_ATTRIBUTE</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../constant-values.html#org.apache.orc.TypeDescription.MASK_ATTRIBUTE">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="TypeDescription-org.apache.orc.TypeDescription.Category-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>TypeDescription</h4> |
| <pre>public TypeDescription(<a href="../../../org/apache/orc/TypeDescription.Category.html" title="enum in org.apache.orc">TypeDescription.Category</a> category)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="compareTo-org.apache.orc.TypeDescription-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compareTo</h4> |
| <pre>public int compareTo(<a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> other)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true#compareTo-T-" title="class or interface in java.lang">compareTo</a></code> in interface <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createBoolean--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createBoolean</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> createBoolean()</pre> |
| </li> |
| </ul> |
| <a name="createByte--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createByte</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> createByte()</pre> |
| </li> |
| </ul> |
| <a name="createShort--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createShort</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> createShort()</pre> |
| </li> |
| </ul> |
| <a name="createInt--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createInt</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> createInt()</pre> |
| </li> |
| </ul> |
| <a name="createLong--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createLong</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> createLong()</pre> |
| </li> |
| </ul> |
| <a name="createFloat--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFloat</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> createFloat()</pre> |
| </li> |
| </ul> |
| <a name="createDouble--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createDouble</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> createDouble()</pre> |
| </li> |
| </ul> |
| <a name="createString--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createString</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> createString()</pre> |
| </li> |
| </ul> |
| <a name="createDate--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createDate</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> createDate()</pre> |
| </li> |
| </ul> |
| <a name="createTimestamp--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTimestamp</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> createTimestamp()</pre> |
| </li> |
| </ul> |
| <a name="createTimestampInstant--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTimestampInstant</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> createTimestampInstant()</pre> |
| </li> |
| </ul> |
| <a name="createBinary--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createBinary</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> createBinary()</pre> |
| </li> |
| </ul> |
| <a name="createDecimal--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createDecimal</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> createDecimal()</pre> |
| </li> |
| </ul> |
| <a name="fromString-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fromString</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> fromString(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> typeName)</pre> |
| <div class="block">Parse TypeDescription from the Hive type names. This is the inverse |
| of TypeDescription.toString()</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>typeName</code> - the name of the type</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new TypeDescription or null if typeName was null</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the string is badly formed</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="withPrecision-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withPrecision</h4> |
| <pre>public <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> withPrecision(int precision)</pre> |
| <div class="block">For decimal types, set the precision.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>precision</code> - the new precision</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="withScale-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withScale</h4> |
| <pre>public <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> withScale(int scale)</pre> |
| <div class="block">For decimal types, set the scale.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>scale</code> - the new scale</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setAttribute-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAttribute</h4> |
| <pre>public <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> setAttribute(@NotNull |
| @NotNull <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| @NotNull |
| @NotNull <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</pre> |
| <div class="block">Set an attribute on this type.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the attribute name</dd> |
| <dd><code>value</code> - the attribute value or null to clear the value</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this for method chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeAttribute-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAttribute</h4> |
| <pre>public <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> removeAttribute(@NotNull |
| @NotNull <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> |
| <div class="block">Remove attribute on this type, if it is set.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the attribute name</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this for method chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createVarchar--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createVarchar</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> createVarchar()</pre> |
| </li> |
| </ul> |
| <a name="createChar--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createChar</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> createChar()</pre> |
| </li> |
| </ul> |
| <a name="withMaxLength-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withMaxLength</h4> |
| <pre>public <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> withMaxLength(int maxLength)</pre> |
| <div class="block">Set the maximum length for char and varchar types.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>maxLength</code> - the maximum value</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createList-org.apache.orc.TypeDescription-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createList</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> createList(<a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> childType)</pre> |
| </li> |
| </ul> |
| <a name="createMap-org.apache.orc.TypeDescription-org.apache.orc.TypeDescription-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createMap</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> createMap(<a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> keyType, |
| <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> valueType)</pre> |
| </li> |
| </ul> |
| <a name="createUnion--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createUnion</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> createUnion()</pre> |
| </li> |
| </ul> |
| <a name="createStruct--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createStruct</h4> |
| <pre>public static <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> createStruct()</pre> |
| </li> |
| </ul> |
| <a name="addUnionChild-org.apache.orc.TypeDescription-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addUnionChild</h4> |
| <pre>public <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> addUnionChild(<a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> child)</pre> |
| <div class="block">Add a child to a union type.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>child</code> - a new child type to add</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the union type.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addField-java.lang.String-org.apache.orc.TypeDescription-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addField</h4> |
| <pre>public <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> addField(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> field, |
| <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> fieldType)</pre> |
| <div class="block">Add a field to a struct type as it is built.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>field</code> - the field name</dd> |
| <dd><code>fieldType</code> - the type of the field</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the struct type</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getId--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getId</h4> |
| <pre>public int getId()</pre> |
| <div class="block">Get the id for this type. |
| The first call will cause all of the the ids in tree to be assigned, so |
| it should not be called before the type is completely built.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the sequential id</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="clone--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clone</h4> |
| <pre>public <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> clone()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="hashCode--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hashCode</h4> |
| <pre>public int hashCode()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="equals-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>equals</h4> |
| <pre>public boolean equals(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> other)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="equals-java.lang.Object-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>equals</h4> |
| <pre>public boolean equals(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> other, |
| boolean checkAttributes)</pre> |
| <div class="block">Determines whether the two object are equal. |
| This function can either compare or ignore the type attributes as |
| desired.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>other</code> - the reference object with which to compare.</dd> |
| <dd><code>checkAttributes</code> - should the type attributes be considered?</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if this object is the same as the other |
| argument; <code>false</code> otherwise.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMaximumId--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMaximumId</h4> |
| <pre>public int getMaximumId()</pre> |
| <div class="block">Get the maximum id assigned to this type or its children. |
| The first call will cause all of the the ids in tree to be assigned, so |
| it should not be called before the type is completely built.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the maximum id assigned under this type</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createRowBatch-org.apache.orc.TypeDescription.RowBatchVersion-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createRowBatch</h4> |
| <pre>public <a href="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatch.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.exec.vector">VectorizedRowBatch</a> createRowBatch(<a href="../../../org/apache/orc/TypeDescription.RowBatchVersion.html" title="enum in org.apache.orc">TypeDescription.RowBatchVersion</a> version, |
| int size)</pre> |
| </li> |
| </ul> |
| <a name="createRowBatchV2--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createRowBatchV2</h4> |
| <pre>public <a href="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatch.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.exec.vector">VectorizedRowBatch</a> createRowBatchV2()</pre> |
| <div class="block">Create a VectorizedRowBatch that uses Decimal64ColumnVector for |
| short (p ≤ 18) decimals.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new VectorizedRowBatch</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createRowBatch-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createRowBatch</h4> |
| <pre>public <a href="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatch.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.exec.vector">VectorizedRowBatch</a> createRowBatch(int maxSize)</pre> |
| <div class="block">Create a VectorizedRowBatch with the original ColumnVector types</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>maxSize</code> - the maximum size of the batch</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new VectorizedRowBatch</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createRowBatch--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createRowBatch</h4> |
| <pre>public <a href="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatch.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.exec.vector">VectorizedRowBatch</a> createRowBatch()</pre> |
| <div class="block">Create a VectorizedRowBatch with the original ColumnVector types</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new VectorizedRowBatch</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCategory--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCategory</h4> |
| <pre>public <a href="../../../org/apache/orc/TypeDescription.Category.html" title="enum in org.apache.orc">TypeDescription.Category</a> getCategory()</pre> |
| <div class="block">Get the kind of this type.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>get the category for this type.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMaxLength--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMaxLength</h4> |
| <pre>public int getMaxLength()</pre> |
| <div class="block">Get the maximum length of the type. Only used for char and varchar types.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the maximum length of the string type</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPrecision--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPrecision</h4> |
| <pre>public int getPrecision()</pre> |
| <div class="block">Get the precision of the decimal type.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the number of digits for the precision.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getScale--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getScale</h4> |
| <pre>public int getScale()</pre> |
| <div class="block">Get the scale of the decimal type.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the number of digits for the scale.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFieldNames--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFieldNames</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> getFieldNames()</pre> |
| <div class="block">For struct types, get the list of field names.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the list of field names.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAttributeNames--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAttributeNames</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> getAttributeNames()</pre> |
| <div class="block">Get the list of attribute names defined on this type.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a list of sorted attribute names</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAttributeValue-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAttributeValue</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getAttributeValue(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> attributeName)</pre> |
| <div class="block">Get the value of a given attribute.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>attributeName</code> - the name of the attribute</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value of the attribute or null if it isn't set</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getChildren--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getChildren</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a>> getChildren()</pre> |
| <div class="block">Get the subtypes of this type.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the list of children types</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addChild-org.apache.orc.TypeDescription-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addChild</h4> |
| <pre>public void addChild(<a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> child)</pre> |
| <div class="block">Add a child to a type.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>child</code> - the child to add</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="printToBuffer-java.lang.StringBuilder-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>printToBuffer</h4> |
| <pre>public void printToBuffer(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> buffer)</pre> |
| </li> |
| </ul> |
| <a name="toString--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toJson--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toJson</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toJson()</pre> |
| </li> |
| </ul> |
| <a name="findSubtype-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findSubtype</h4> |
| <pre>public <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> findSubtype(int goal)</pre> |
| <div class="block">Locate a subtype by its id.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>goal</code> - the column id to look for</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the subtype</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="findSubtype-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findSubtype</h4> |
| <pre>public <a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> findSubtype(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> columnName)</pre> |
| <div class="block">Find a subtype of this schema by name. |
| If the name is a simple integer, it will be used as a column number. |
| Otherwise, this routine will recursively search for the name. |
| <ul> |
| <li>Struct fields are selected by name.</li> |
| <li>List children are selected by "_elem".</li> |
| <li>Map children are selected by "_key" or "_value".</li> |
| <li>Union children are selected by number starting at 0.</li> |
| </ul> |
| Names are separated by '.'.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>columnName</code> - the name to search for</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the subtype</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="findSubtypes-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findSubtypes</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a>> findSubtypes(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> columnNameList)</pre> |
| <div class="block">Find a list of subtypes from a string, including the empty list. |
| |
| Each column name is separated by ','.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>columnNameList</code> - the list of column names</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the list of subtypes that correspond to the column names</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="annotateEncryption-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>annotateEncryption</h4> |
| <pre>public void annotateEncryption(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> encryption, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> masks)</pre> |
| <div class="block">Annotate a schema with the encryption keys and masks.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>encryption</code> - the encryption keys and the fields</dd> |
| <dd><code>masks</code> - the encryption masks and the fields</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/TypeDescription.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../index-all.html">Index</a></li> |
| <li><a href="../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../org/apache/orc/TimestampColumnStatistics.html" title="interface in org.apache.orc"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../org/apache/orc/TypeDescription.Category.html" title="enum in org.apache.orc"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../index.html?org/apache/orc/TypeDescription.html" target="_top">Frames</a></li> |
| <li><a href="TypeDescription.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2013–2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |