<!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_102) on Wed Oct 19 15:34:02 PDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.apache.hadoop.hive.common.io.encoded.MemoryBuffer (Hive Storage API 2.1.1-pre-orc API)</title>
<meta name="date" content="2016-10-19">
<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="Uses of Interface org.apache.hadoop.hive.common.io.encoded.MemoryBuffer (Hive Storage API 2.1.1-pre-orc API)";
        }
    }
    catch(err) {
    }
//-->
</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><a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/MemoryBuffer.html" title="interface in org.apache.hadoop.hive.common.io.encoded">Class</a></li>
<li class="navBarCell1Rev">Use</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>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../../index.html?org/apache/hadoop/hive/common/io/encoded/class-use/MemoryBuffer.html" target="_top">Frames</a></li>
<li><a href="MemoryBuffer.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>
<a name="skip.navbar.top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Interface org.apache.hadoop.hive.common.io.encoded.MemoryBuffer" class="title">Uses of Interface<br>org.apache.hadoop.hive.common.io.encoded.MemoryBuffer</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/MemoryBuffer.html" title="interface in org.apache.hadoop.hive.common.io.encoded">MemoryBuffer</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.hadoop.hive.common.io">org.apache.hadoop.hive.common.io</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.hadoop.hive.common.io.encoded">org.apache.hadoop.hive.common.io.encoded</a></td>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.apache.hadoop.hive.common.io">
<!--   -->
</a>
<h3>Uses of <a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/MemoryBuffer.html" title="interface in org.apache.hadoop.hive.common.io.encoded">MemoryBuffer</a> in <a href="../../../../../../../../org/apache/hadoop/hive/common/io/package-summary.html">org.apache.hadoop.hive.common.io</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../../../org/apache/hadoop/hive/common/io/package-summary.html">org.apache.hadoop.hive.common.io</a> that return <a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/MemoryBuffer.html" title="interface in org.apache.hadoop.hive.common.io.encoded">MemoryBuffer</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/MemoryBuffer.html" title="interface in org.apache.hadoop.hive.common.io.encoded">MemoryBuffer</a></code></td>
<td class="colLast"><span class="typeNameLabel">Allocator.</span><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/hadoop/hive/common/io/Allocator.html#createUnallocated--">createUnallocated</a></span>()</code>
<div class="block">Creates an unallocated memory buffer object.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../../../org/apache/hadoop/hive/common/io/package-summary.html">org.apache.hadoop.hive.common.io</a> with parameters of type <a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/MemoryBuffer.html" title="interface in org.apache.hadoop.hive.common.io.encoded">MemoryBuffer</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Allocator.</span><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/hadoop/hive/common/io/Allocator.html#allocateMultiple-org.apache.hadoop.hive.common.io.encoded.MemoryBuffer:A-int-">allocateMultiple</a></span>(<a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/MemoryBuffer.html" title="interface in org.apache.hadoop.hive.common.io.encoded">MemoryBuffer</a>[]&nbsp;dest,
                int&nbsp;size)</code>
<div class="block">Allocates multiple buffers of a given size.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../../org/apache/hadoop/hive/common/io/DiskRangeList.html" title="class in org.apache.hadoop.hive.common.io">DiskRangeList</a></code></td>
<td class="colLast"><span class="typeNameLabel">DataCache.DiskRangeListFactory.</span><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/hadoop/hive/common/io/DataCache.DiskRangeListFactory.html#createCacheChunk-org.apache.hadoop.hive.common.io.encoded.MemoryBuffer-long-long-">createCacheChunk</a></span>(<a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/MemoryBuffer.html" title="interface in org.apache.hadoop.hive.common.io.encoded">MemoryBuffer</a>&nbsp;buffer,
                long&nbsp;startOffset,
                long&nbsp;endOffset)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Allocator.</span><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/hadoop/hive/common/io/Allocator.html#deallocate-org.apache.hadoop.hive.common.io.encoded.MemoryBuffer-">deallocate</a></span>(<a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/MemoryBuffer.html" title="interface in org.apache.hadoop.hive.common.io.encoded">MemoryBuffer</a>&nbsp;buffer)</code>
<div class="block">Deallocates a memory buffer.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long[]</code></td>
<td class="colLast"><span class="typeNameLabel">DataCache.</span><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/hadoop/hive/common/io/DataCache.html#putFileData-java.lang.Object-org.apache.hadoop.hive.common.io.DiskRange:A-org.apache.hadoop.hive.common.io.encoded.MemoryBuffer:A-long-">putFileData</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;fileKey,
           <a href="../../../../../../../../org/apache/hadoop/hive/common/io/DiskRange.html" title="class in org.apache.hadoop.hive.common.io">DiskRange</a>[]&nbsp;ranges,
           <a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/MemoryBuffer.html" title="interface in org.apache.hadoop.hive.common.io.encoded">MemoryBuffer</a>[]&nbsp;data,
           long&nbsp;baseOffset)</code>
<div class="block">Puts file data into cache, or gets older data in case of collisions.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">DataCache.</span><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/hadoop/hive/common/io/DataCache.html#releaseBuffer-org.apache.hadoop.hive.common.io.encoded.MemoryBuffer-">releaseBuffer</a></span>(<a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/MemoryBuffer.html" title="interface in org.apache.hadoop.hive.common.io.encoded">MemoryBuffer</a>&nbsp;buffer)</code>
<div class="block">Releases the buffer returned by getFileData/provided to putFileData back to cache.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">DataCache.</span><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/hadoop/hive/common/io/DataCache.html#reuseBuffer-org.apache.hadoop.hive.common.io.encoded.MemoryBuffer-">reuseBuffer</a></span>(<a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/MemoryBuffer.html" title="interface in org.apache.hadoop.hive.common.io.encoded">MemoryBuffer</a>&nbsp;buffer)</code>
<div class="block">Notifies the cache that the buffer returned from getFileData/provided to putFileData will
 be used by another consumer and therefore released multiple times (one more time per call).</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.hadoop.hive.common.io.encoded">
<!--   -->
</a>
<h3>Uses of <a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/MemoryBuffer.html" title="interface in org.apache.hadoop.hive.common.io.encoded">MemoryBuffer</a> in <a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/package-summary.html">org.apache.hadoop.hive.common.io.encoded</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/package-summary.html">org.apache.hadoop.hive.common.io.encoded</a> that return types with arguments of type <a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/MemoryBuffer.html" title="interface in org.apache.hadoop.hive.common.io.encoded">MemoryBuffer</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/MemoryBuffer.html" title="interface in org.apache.hadoop.hive.common.io.encoded">MemoryBuffer</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">EncodedColumnBatch.ColumnStreamData.</span><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/EncodedColumnBatch.ColumnStreamData.html#getCacheBuffers--">getCacheBuffers</a></span>()</code>&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Method parameters in <a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/package-summary.html">org.apache.hadoop.hive.common.io.encoded</a> with type arguments of type <a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/MemoryBuffer.html" title="interface in org.apache.hadoop.hive.common.io.encoded">MemoryBuffer</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">EncodedColumnBatch.ColumnStreamData.</span><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/EncodedColumnBatch.ColumnStreamData.html#setCacheBuffers-java.util.List-">setCacheBuffers</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/MemoryBuffer.html" title="interface in org.apache.hadoop.hive.common.io.encoded">MemoryBuffer</a>&gt;&nbsp;cacheBuffers)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= 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><a href="../../../../../../../../org/apache/hadoop/hive/common/io/encoded/MemoryBuffer.html" title="interface in org.apache.hadoop.hive.common.io.encoded">Class</a></li>
<li class="navBarCell1Rev">Use</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>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../../index.html?org/apache/hadoop/hive/common/io/encoded/class-use/MemoryBuffer.html" target="_top">Frames</a></li>
<li><a href="MemoryBuffer.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>
<a name="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>
