<!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 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>WriterContext (ORC Core 1.9.0 API)</title>
<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="WriterContext (ORC Core 1.9.0 API)";
        }
    }
    catch(err) {
    }
//-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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/WriterContext.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/impl/writer/VarcharTreeWriter.html" title="class in org.apache.orc.impl.writer"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/orc/impl/writer/WriterEncryptionKey.html" title="class in org.apache.orc.impl.writer"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/orc/impl/writer/WriterContext.html" target="_top">Frames</a></li>
<li><a href="WriterContext.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</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.impl.writer</div>
<h2 title="Interface WriterContext" class="title">Interface WriterContext</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public interface <span class="typeNameLabel">WriterContext</span></pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== 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">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</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>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#buildIndex--">buildIndex</a></span>()</code>
<div class="block">Should be building the row index.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/orc/impl/OutStream.html" title="class in org.apache.orc.impl">OutStream</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#createStream-org.apache.orc.impl.StreamName-">createStream</a></span>(<a href="../../../../../org/apache/orc/impl/StreamName.html" title="class in org.apache.orc.impl">StreamName</a>&nbsp;name)</code>
<div class="block">Create a stream to store part of a column.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>boolean[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#getBloomFilterColumns--">getBloomFilterColumns</a></span>()</code>
<div class="block">Get the bloom filter columns</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#getBloomFilterFPP--">getBloomFilterFPP</a></span>()</code>
<div class="block">Get bloom filter false positive percentage.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/orc/OrcFile.BloomFilterVersion.html" title="enum in org.apache.orc">OrcFile.BloomFilterVersion</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#getBloomFilterVersion--">getBloomFilterVersion</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="https://hadoop.apache.org/docs/r2.7.3/api/org/apache/hadoop/conf/Configuration.html?is-external=true" title="class or interface in org.apache.hadoop.conf">Configuration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#getConfiguration--">getConfiguration</a></span>()</code>
<div class="block">Get the writer's configuration.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#getDictionaryKeySizeThreshold-int-">getDictionaryKeySizeThreshold</a></span>(int&nbsp;columnId)</code>
<div class="block">Get the dictionary key size threshold.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/orc/OrcFile.EncodingStrategy.html" title="enum in org.apache.orc">OrcFile.EncodingStrategy</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#getEncodingStrategy--">getEncodingStrategy</a></span>()</code>
<div class="block">Get the encoding strategy to use.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/orc/impl/writer/WriterEncryptionVariant.html" title="class in org.apache.orc.impl.writer">WriterEncryptionVariant</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#getEncryption-int-">getEncryption</a></span>(int&nbsp;columnId)</code>
<div class="block">Get the encryption for the given column.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/orc/PhysicalWriter.html" title="interface in org.apache.orc">PhysicalWriter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#getPhysicalWriter--">getPhysicalWriter</a></span>()</code>
<div class="block">Get the PhysicalWriter.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#getProlepticGregorian--">getProlepticGregorian</a></span>()</code>
<div class="block">Should we write the data using the proleptic Gregorian calendar?</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#getRowIndexStride--">getRowIndexStride</a></span>()</code>
<div class="block">Get the stride rate of the row index.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/orc/DataMask.html" title="interface in org.apache.orc">DataMask</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#getUnencryptedMask-int-">getUnencryptedMask</a></span>(int&nbsp;columnId)</code>
<div class="block">Get the mask for the unencrypted variant.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#getUseUTCTimestamp--">getUseUTCTimestamp</a></span>()</code>
<div class="block">Should the writer use UTC as the timezone?</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/orc/OrcFile.Version.html" title="enum in org.apache.orc">OrcFile.Version</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#getVersion--">getVersion</a></span>()</code>
<div class="block">Get the version of the file to write.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#isCompressed--">isCompressed</a></span>()</code>
<div class="block">Is the ORC file compressed?</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#setEncoding-int-org.apache.orc.impl.writer.WriterEncryptionVariant-org.apache.orc.OrcProto.ColumnEncoding-">setEncoding</a></span>(int&nbsp;column,
           <a href="../../../../../org/apache/orc/impl/writer/WriterEncryptionVariant.html" title="class in org.apache.orc.impl.writer">WriterEncryptionVariant</a>&nbsp;variant,
           <a href="https://orc.apache.org/api/orc-core/org/apache/orc/OrcProto.ColumnEncoding.html?is-external=true" title="class or interface in org.apache.orc">OrcProto.ColumnEncoding</a>&nbsp;encoding)</code>
<div class="block">Set the encoding for the current stripe.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#writeBloomFilter-org.apache.orc.impl.StreamName-org.apache.orc.OrcProto.BloomFilterIndex.Builder-">writeBloomFilter</a></span>(<a href="../../../../../org/apache/orc/impl/StreamName.html" title="class in org.apache.orc.impl">StreamName</a>&nbsp;name,
                <a href="https://orc.apache.org/api/orc-core/org/apache/orc/OrcProto.BloomFilterIndex.Builder.html?is-external=true" title="class or interface in org.apache.orc">OrcProto.BloomFilterIndex.Builder</a>&nbsp;bloom)</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#writeIndex-org.apache.orc.impl.StreamName-org.apache.orc.OrcProto.RowIndex.Builder-">writeIndex</a></span>(<a href="../../../../../org/apache/orc/impl/StreamName.html" title="class in org.apache.orc.impl">StreamName</a>&nbsp;name,
          <a href="https://orc.apache.org/api/orc-core/org/apache/orc/OrcProto.RowIndex.Builder.html?is-external=true" title="class or interface in org.apache.orc">OrcProto.RowIndex.Builder</a>&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/orc/impl/writer/WriterContext.html#writeStatistics-org.apache.orc.impl.StreamName-org.apache.orc.OrcProto.ColumnStatistics.Builder-">writeStatistics</a></span>(<a href="../../../../../org/apache/orc/impl/StreamName.html" title="class in org.apache.orc.impl">StreamName</a>&nbsp;name,
               <a href="https://orc.apache.org/api/orc-core/org/apache/orc/OrcProto.ColumnStatistics.Builder.html?is-external=true" title="class or interface in org.apache.orc">OrcProto.ColumnStatistics.Builder</a>&nbsp;stats)</code>
<div class="block">Set the column statistics for the stripe or file.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="createStream-org.apache.orc.impl.StreamName-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createStream</h4>
<pre><a href="../../../../../org/apache/orc/impl/OutStream.html" title="class in org.apache.orc.impl">OutStream</a>&nbsp;createStream(<a href="../../../../../org/apache/orc/impl/StreamName.html" title="class in org.apache.orc.impl">StreamName</a>&nbsp;name)
                throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Create a stream to store part of a column.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the stream</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The output outStream that the section needs to be written to.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="getRowIndexStride--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRowIndexStride</h4>
<pre>int&nbsp;getRowIndexStride()</pre>
<div class="block">Get the stride rate of the row index.</div>
</li>
</ul>
<a name="buildIndex--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>buildIndex</h4>
<pre>boolean&nbsp;buildIndex()</pre>
<div class="block">Should be building the row index.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if we are building the index</dd>
</dl>
</li>
</ul>
<a name="isCompressed--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCompressed</h4>
<pre>boolean&nbsp;isCompressed()</pre>
<div class="block">Is the ORC file compressed?</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>are the streams compressed</dd>
</dl>
</li>
</ul>
<a name="getEncodingStrategy--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEncodingStrategy</h4>
<pre><a href="../../../../../org/apache/orc/OrcFile.EncodingStrategy.html" title="enum in org.apache.orc">OrcFile.EncodingStrategy</a>&nbsp;getEncodingStrategy()</pre>
<div class="block">Get the encoding strategy to use.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>encoding strategy</dd>
</dl>
</li>
</ul>
<a name="getBloomFilterColumns--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBloomFilterColumns</h4>
<pre>boolean[]&nbsp;getBloomFilterColumns()</pre>
<div class="block">Get the bloom filter columns</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>bloom filter columns</dd>
</dl>
</li>
</ul>
<a name="getBloomFilterFPP--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBloomFilterFPP</h4>
<pre>double&nbsp;getBloomFilterFPP()</pre>
<div class="block">Get bloom filter false positive percentage.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>fpp</dd>
</dl>
</li>
</ul>
<a name="getConfiguration--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConfiguration</h4>
<pre><a href="https://hadoop.apache.org/docs/r2.7.3/api/org/apache/hadoop/conf/Configuration.html?is-external=true" title="class or interface in org.apache.hadoop.conf">Configuration</a>&nbsp;getConfiguration()</pre>
<div class="block">Get the writer's configuration.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>configuration</dd>
</dl>
</li>
</ul>
<a name="getVersion--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVersion</h4>
<pre><a href="../../../../../org/apache/orc/OrcFile.Version.html" title="enum in org.apache.orc">OrcFile.Version</a>&nbsp;getVersion()</pre>
<div class="block">Get the version of the file to write.</div>
</li>
</ul>
<a name="getBloomFilterVersion--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBloomFilterVersion</h4>
<pre><a href="../../../../../org/apache/orc/OrcFile.BloomFilterVersion.html" title="enum in org.apache.orc">OrcFile.BloomFilterVersion</a>&nbsp;getBloomFilterVersion()</pre>
</li>
</ul>
<a name="writeIndex-org.apache.orc.impl.StreamName-org.apache.orc.OrcProto.RowIndex.Builder-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeIndex</h4>
<pre>void&nbsp;writeIndex(<a href="../../../../../org/apache/orc/impl/StreamName.html" title="class in org.apache.orc.impl">StreamName</a>&nbsp;name,
                <a href="https://orc.apache.org/api/orc-core/org/apache/orc/OrcProto.RowIndex.Builder.html?is-external=true" title="class or interface in org.apache.orc">OrcProto.RowIndex.Builder</a>&nbsp;index)
         throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="writeBloomFilter-org.apache.orc.impl.StreamName-org.apache.orc.OrcProto.BloomFilterIndex.Builder-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeBloomFilter</h4>
<pre>void&nbsp;writeBloomFilter(<a href="../../../../../org/apache/orc/impl/StreamName.html" title="class in org.apache.orc.impl">StreamName</a>&nbsp;name,
                      <a href="https://orc.apache.org/api/orc-core/org/apache/orc/OrcProto.BloomFilterIndex.Builder.html?is-external=true" title="class or interface in org.apache.orc">OrcProto.BloomFilterIndex.Builder</a>&nbsp;bloom)
               throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="getUnencryptedMask-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnencryptedMask</h4>
<pre><a href="../../../../../org/apache/orc/DataMask.html" title="interface in org.apache.orc">DataMask</a>&nbsp;getUnencryptedMask(int&nbsp;columnId)</pre>
<div class="block">Get the mask for the unencrypted variant.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>columnId</code> - the column id</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the mask to apply to the unencrypted data or null if there is none</dd>
</dl>
</li>
</ul>
<a name="getEncryption-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEncryption</h4>
<pre><a href="../../../../../org/apache/orc/impl/writer/WriterEncryptionVariant.html" title="class in org.apache.orc.impl.writer">WriterEncryptionVariant</a>&nbsp;getEncryption(int&nbsp;columnId)</pre>
<div class="block">Get the encryption for the given column.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>columnId</code> - the root column id</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the column encryption or null if it isn't encrypted</dd>
</dl>
</li>
</ul>
<a name="getPhysicalWriter--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPhysicalWriter</h4>
<pre><a href="../../../../../org/apache/orc/PhysicalWriter.html" title="interface in org.apache.orc">PhysicalWriter</a>&nbsp;getPhysicalWriter()</pre>
<div class="block">Get the PhysicalWriter.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the file's physical writer.</dd>
</dl>
</li>
</ul>
<a name="setEncoding-int-org.apache.orc.impl.writer.WriterEncryptionVariant-org.apache.orc.OrcProto.ColumnEncoding-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEncoding</h4>
<pre>void&nbsp;setEncoding(int&nbsp;column,
                 <a href="../../../../../org/apache/orc/impl/writer/WriterEncryptionVariant.html" title="class in org.apache.orc.impl.writer">WriterEncryptionVariant</a>&nbsp;variant,
                 <a href="https://orc.apache.org/api/orc-core/org/apache/orc/OrcProto.ColumnEncoding.html?is-external=true" title="class or interface in org.apache.orc">OrcProto.ColumnEncoding</a>&nbsp;encoding)</pre>
<div class="block">Set the encoding for the current stripe.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>column</code> - the column identifier</dd>
<dd><code>variant</code> - the encryption variant</dd>
<dd><code>encoding</code> - the encoding for this stripe</dd>
</dl>
</li>
</ul>
<a name="writeStatistics-org.apache.orc.impl.StreamName-org.apache.orc.OrcProto.ColumnStatistics.Builder-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeStatistics</h4>
<pre>void&nbsp;writeStatistics(<a href="../../../../../org/apache/orc/impl/StreamName.html" title="class in org.apache.orc.impl">StreamName</a>&nbsp;name,
                     <a href="https://orc.apache.org/api/orc-core/org/apache/orc/OrcProto.ColumnStatistics.Builder.html?is-external=true" title="class or interface in org.apache.orc">OrcProto.ColumnStatistics.Builder</a>&nbsp;stats)
              throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Set the column statistics for the stripe or file.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the statistics stream</dd>
<dd><code>stats</code> - the statistics for this column in this stripe</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="getUseUTCTimestamp--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUseUTCTimestamp</h4>
<pre>boolean&nbsp;getUseUTCTimestamp()</pre>
<div class="block">Should the writer use UTC as the timezone?</div>
</li>
</ul>
<a name="getDictionaryKeySizeThreshold-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDictionaryKeySizeThreshold</h4>
<pre>double&nbsp;getDictionaryKeySizeThreshold(int&nbsp;columnId)</pre>
<div class="block">Get the dictionary key size threshold.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>columnId</code> - the column id</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the minimum ratio for using a dictionary</dd>
</dl>
</li>
</ul>
<a name="getProlepticGregorian--">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getProlepticGregorian</h4>
<pre>boolean&nbsp;getProlepticGregorian()</pre>
<div class="block">Should we write the data using the proleptic Gregorian calendar?</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if we should use the proleptic Gregorian calendar</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/WriterContext.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/impl/writer/VarcharTreeWriter.html" title="class in org.apache.orc.impl.writer"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/orc/impl/writer/WriterEncryptionKey.html" title="class in org.apache.orc.impl.writer"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/orc/impl/writer/WriterContext.html" target="_top">Frames</a></li>
<li><a href="WriterContext.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</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 &#169; 2013&#x2013;2023 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>
