blob: 70773c9a597e5283a69716941598ab3d67b8340f [file] [log] [blame]
<!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>DrillBuf (Drill : 1.20.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="DrillBuf (Drill : 1.20.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":9,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":9,"i43":10,"i44":10,"i45":10,"i46":9,"i47":10,"i48":10,"i49":10,"i50":9,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":9,"i72":9,"i73":9,"i74":9,"i75":9,"i76":9,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109":10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":10,"i122":10,"i123":10,"i124":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/DrillBuf.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>Prev&nbsp;Class</li>
<li><a href="../../../io/netty/buffer/DrillBuf.TransferResult.html" title="class in io.netty.buffer"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?io/netty/buffer/DrillBuf.html" target="_top">Frames</a></li>
<li><a href="DrillBuf.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><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&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">io.netty.buffer</div>
<h2 title="Class DrillBuf" class="title">Class DrillBuf</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://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>io.netty.buffer.ByteBuf</li>
<li>
<ul class="inheritance">
<li>io.netty.buffer.AbstractByteBuf</li>
<li>
<ul class="inheritance">
<li>io.netty.buffer.DrillBuf</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>io.netty.util.ReferenceCounted, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;io.netty.buffer.ByteBuf&gt;</dd>
</dl>
<hr>
<br>
<pre>public final class <span class="typeNameLabel">DrillBuf</span>
extends io.netty.buffer.AbstractByteBuf
implements <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></pre>
<div class="block">Drill data structure for accessing and manipulating data buffers. This class
is integrated with the Drill memory management layer for quota enforcement
and buffer sharing.</div>
</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">&nbsp;</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>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.TransferResult.html" title="class in io.netty.buffer">DrillBuf.TransferResult</a></span></code>
<div class="block">The outcome of a Transfer.</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">&nbsp;</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 int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#INT_NUM_BYTES">INT_NUM_BYTES</a></span></code>
<div class="block">Number of bytes in an int</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#LONG_NUM_BYTES">LONG_NUM_BYTES</a></span></code>
<div class="block">Number of bytes in a long</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#SHORT_NUM_BYTES">SHORT_NUM_BYTES</a></span></code>
<div class="block">Number of bytes in a short</div>
</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">&nbsp;</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="../../../io/netty/buffer/DrillBuf.html#DrillBuf-java.util.concurrent.atomic.AtomicInteger-org.apache.drill.exec.memory.AllocationManager.BufferLedger-io.netty.buffer.UnsafeDirectLittleEndian-org.apache.drill.exec.ops.BufferManager-io.netty.buffer.ByteBufAllocator-int-int-boolean-">DrillBuf</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicInteger.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicInteger</a>&nbsp;refCnt,
<a href="../../../org/apache/drill/exec/memory/AllocationManager.BufferLedger.html" title="class in org.apache.drill.exec.memory">AllocationManager.BufferLedger</a>&nbsp;ledger,
<a href="../../../io/netty/buffer/UnsafeDirectLittleEndian.html" title="class in io.netty.buffer">UnsafeDirectLittleEndian</a>&nbsp;byteBuf,
<a href="../../../org/apache/drill/exec/ops/BufferManager.html" title="interface in org.apache.drill.exec.ops">BufferManager</a>&nbsp;manager,
io.netty.buffer.ByteBufAllocator&nbsp;alloc,
int&nbsp;offset,
int&nbsp;length,
boolean&nbsp;isEmpty)</code>&nbsp;</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">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete 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>protected byte</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#Z:Z_getByte-int-">_getByte</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#Z:Z_getInt-int-">_getInt</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#Z:Z_getIntLE-int-">_getIntLE</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#Z:Z_getLong-int-">_getLong</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>protected long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#Z:Z_getLongLE-int-">_getLongLE</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#Z:Z_getShort-int-">_getShort</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>protected short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#Z:Z_getShortLE-int-">_getShortLE</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#Z:Z_getUnsignedMedium-int-">_getUnsignedMedium</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#Z:Z_getUnsignedMediumLE-int-">_getUnsignedMediumLE</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#Z:Z_setByte-int-int-">_setByte</a></span>(int&nbsp;index,
int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#Z:Z_setInt-int-int-">_setInt</a></span>(int&nbsp;index,
int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#Z:Z_setIntLE-int-int-">_setIntLE</a></span>(int&nbsp;index,
int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#Z:Z_setLong-int-long-">_setLong</a></span>(int&nbsp;index,
long&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#Z:Z_setLongLE-int-long-">_setLongLE</a></span>(int&nbsp;index,
long&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#Z:Z_setMedium-int-int-">_setMedium</a></span>(int&nbsp;index,
int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#Z:Z_setMediumLE-int-int-">_setMediumLE</a></span>(int&nbsp;index,
int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#Z:Z_setShort-int-int-">_setShort</a></span>(int&nbsp;index,
int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#Z:Z_setShortLE-int-int-">_setShortLE</a></span>(int&nbsp;index,
int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#addr--">addr</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBufAllocator</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#alloc--">alloc</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#array--">array</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#arrayOffset--">arrayOffset</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>static <a href="https://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="../../../io/netty/buffer/DrillBuf.html#bufferState-io.netty.buffer.ByteBuf-">bufferState</a></span>(io.netty.buffer.ByteBuf&nbsp;buf)</code>&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#capacity--">capacity</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="../../../io/netty/buffer/DrillBuf.html" title="class in io.netty.buffer">DrillBuf</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#capacity-int-">capacity</a></span>(int&nbsp;newCapacity)</code>&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#close--">close</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#copy--">copy</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#copy-int-int-">copy</a></span>(int&nbsp;index,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code><a href="../../../io/netty/buffer/DrillBuf.html" title="class in io.netty.buffer">DrillBuf</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#duplicate--">duplicate</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#equals-java.lang.Object-">equals</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</code>&nbsp;</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getActualMemoryConsumed--">getActualMemoryConsumed</a></span>()</code>
<div class="block">Return that is Accounted for by this buffer (and its potentially shared siblings within the context of the
associated allocator).</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>byte</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getByte-int-">getByte</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getBytes-int-byte:A-int-int-">getBytes</a></span>(int&nbsp;index,
byte[]&nbsp;dst,
int&nbsp;dstIndex,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getBytes-int-java.nio.ByteBuffer-">getBytes</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;dst)</code>&nbsp;</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getBytes-int-io.netty.buffer.ByteBuf-int-int-">getBytes</a></span>(int&nbsp;index,
io.netty.buffer.ByteBuf&nbsp;dst,
int&nbsp;dstIndex,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getBytes-int-java.nio.channels.FileChannel-long-int-">getBytes</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/channels/FileChannel.html?is-external=true" title="class or interface in java.nio.channels">FileChannel</a>&nbsp;out,
long&nbsp;position,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getBytes-int-java.nio.channels.GatheringByteChannel-int-">getBytes</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/channels/GatheringByteChannel.html?is-external=true" title="class or interface in java.nio.channels">GatheringByteChannel</a>&nbsp;out,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getBytes-int-java.io.OutputStream-int-">getBytes</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;out,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>char</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getChar-int-">getChar</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getDouble-int-">getDouble</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getFloat-int-">getFloat</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getId--">getId</a></span>()</code>
<div class="block">Get the integer id assigned to this DrillBuf for debugging purposes.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getInt-byte:A-int-">getInt</a></span>(byte[]&nbsp;data,
int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getInt-int-">getInt</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getIntLE-int-">getIntLE</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/drill/exec/memory/AllocationManager.BufferLedger.html" title="class in org.apache.drill.exec.memory">AllocationManager.BufferLedger</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getLedger--">getLedger</a></span>()</code>
<div class="block">Visible only for memory allocation calculations.</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getLong-byte:A-int-">getLong</a></span>(byte[]&nbsp;data,
int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getLong-int-">getLong</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getLongLE-int-">getLongLE</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getPossibleMemoryConsumed--">getPossibleMemoryConsumed</a></span>()</code>
<div class="block">Returns the possible memory consumed by this DrillBuf in the worse case scenario.</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>static short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getShort-byte:A-int-">getShort</a></span>(byte[]&nbsp;data,
int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getShort-int-">getShort</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getShortLE-int-">getShortLE</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getUnsignedInt-int-">getUnsignedInt</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getUnsignedMedium-int-">getUnsignedMedium</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getUnsignedMediumLE-int-">getUnsignedMediumLE</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#getUnsignedShort-int-">getUnsignedShort</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#hasArray--">hasArray</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#hasMemoryAddress--">hasMemoryAddress</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i60" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#internalNioBuffer-int-int-">internalNioBuffer</a></span>(int&nbsp;index,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#isDirect--">isDirect</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i62" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#memoryAddress--">memoryAddress</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i63" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#nioBuffer--">nioBuffer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i64" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#nioBuffer-int-int-">nioBuffer</a></span>(int&nbsp;index,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i65" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#nioBufferCount--">nioBufferCount</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i66" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#nioBuffers--">nioBuffers</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i67" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#nioBuffers-int-int-">nioBuffers</a></span>(int&nbsp;index,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i68" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteOrder.html?is-external=true" title="class or interface in java.nio">ByteOrder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#order--">order</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i69" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#order-java.nio.ByteOrder-">order</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteOrder.html?is-external=true" title="class or interface in java.nio">ByteOrder</a>&nbsp;endianness)</code>&nbsp;</td>
</tr>
<tr id="i70" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#print-java.lang.StringBuilder-int-org.apache.drill.exec.memory.BaseAllocator.Verbosity-">print</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb,
int&nbsp;indent,
<a href="../../../org/apache/drill/exec/memory/BaseAllocator.Verbosity.html" title="enum in org.apache.drill.exec.memory">BaseAllocator.Verbosity</a>&nbsp;verbosity)</code>&nbsp;</td>
</tr>
<tr id="i71" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#putInt-byte:A-int-byte:A-int-">putInt</a></span>(byte[]&nbsp;src,
int&nbsp;srcIndex,
byte[]&nbsp;dest,
int&nbsp;destIndex)</code>
<div class="block">Read an integer at position src+srcIndex and copy it to the dest+destIndex</div>
</td>
</tr>
<tr id="i72" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#putInt-byte:A-int-int-">putInt</a></span>(byte[]&nbsp;dest,
int&nbsp;destIndex,
int&nbsp;value)</code>
<div class="block">Copy an integer value to the dest+destIndex</div>
</td>
</tr>
<tr id="i73" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#putLong-byte:A-int-byte:A-int-">putLong</a></span>(byte[]&nbsp;src,
int&nbsp;srcIndex,
byte[]&nbsp;dest,
int&nbsp;destIndex)</code>
<div class="block">Read a long at position src+srcIndex and copy it to the dest+destIndex</div>
</td>
</tr>
<tr id="i74" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#putLong-byte:A-int-long-">putLong</a></span>(byte[]&nbsp;dest,
int&nbsp;destIndex,
long&nbsp;value)</code>
<div class="block">Copy a long value to the dest+destIndex</div>
</td>
</tr>
<tr id="i75" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#putShort-byte:A-int-byte:A-int-">putShort</a></span>(byte[]&nbsp;src,
int&nbsp;srcIndex,
byte[]&nbsp;dest,
int&nbsp;destIndex)</code>
<div class="block">Read a short at position src+srcIndex and copy it to the dest+destIndex</div>
</td>
</tr>
<tr id="i76" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#putShort-byte:A-int-short-">putShort</a></span>(byte[]&nbsp;dest,
int&nbsp;destIndex,
short&nbsp;value)</code>
<div class="block">Copy a short value to the dest+destIndex</div>
</td>
</tr>
<tr id="i77" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#readBytes-int-">readBytes</a></span>(int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i78" class="altColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#readSlice-int-">readSlice</a></span>(int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i79" class="rowColor">
<td class="colFirst"><code><a href="../../../io/netty/buffer/DrillBuf.html" title="class in io.netty.buffer">DrillBuf</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#reallocIfNeeded-int-">reallocIfNeeded</a></span>(int&nbsp;size)</code>&nbsp;</td>
</tr>
<tr id="i80" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#refCnt--">refCnt</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i81" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#release--">release</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i82" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#release-int-">release</a></span>(int&nbsp;decrement)</code>
<div class="block">Release the provided number of reference counts.</div>
</td>
</tr>
<tr id="i83" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#retain--">retain</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i84" class="altColor">
<td class="colFirst"><code><a href="../../../io/netty/buffer/DrillBuf.html" title="class in io.netty.buffer">DrillBuf</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#retain-org.apache.drill.exec.memory.BufferAllocator-">retain</a></span>(<a href="../../../org/apache/drill/exec/memory/BufferAllocator.html" title="interface in org.apache.drill.exec.memory">BufferAllocator</a>&nbsp;target)</code>
<div class="block">Create a new DrillBuf that is associated with an alternative allocator for
the purposes of memory ownership and accounting.</div>
</td>
</tr>
<tr id="i85" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#retain-int-">retain</a></span>(int&nbsp;increment)</code>&nbsp;</td>
</tr>
<tr id="i86" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setByte-int-byte-">setByte</a></span>(int&nbsp;index,
byte&nbsp;b)</code>&nbsp;</td>
</tr>
<tr id="i87" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setByte-int-int-">setByte</a></span>(int&nbsp;index,
int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i88" class="altColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setBytes-int-byte:A-int-int-">setBytes</a></span>(int&nbsp;index,
byte[]&nbsp;src,
int&nbsp;srcIndex,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i89" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setBytes-int-java.nio.ByteBuffer-">setBytes</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;src)</code>&nbsp;</td>
</tr>
<tr id="i90" class="altColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setBytes-int-java.nio.ByteBuffer-int-int-">setBytes</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;src,
int&nbsp;srcIndex,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i91" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setBytes-int-io.netty.buffer.ByteBuf-int-int-">setBytes</a></span>(int&nbsp;index,
io.netty.buffer.ByteBuf&nbsp;src,
int&nbsp;srcIndex,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i92" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setBytes-int-java.nio.channels.FileChannel-long-int-">setBytes</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/channels/FileChannel.html?is-external=true" title="class or interface in java.nio.channels">FileChannel</a>&nbsp;in,
long&nbsp;position,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i93" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setBytes-int-java.io.InputStream-int-">setBytes</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;in,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i94" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setBytes-int-java.nio.channels.ScatteringByteChannel-int-">setBytes</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/channels/ScatteringByteChannel.html?is-external=true" title="class or interface in java.nio.channels">ScatteringByteChannel</a>&nbsp;in,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i95" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setChar-int-int-">setChar</a></span>(int&nbsp;index,
int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i96" class="altColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setDouble-int-double-">setDouble</a></span>(int&nbsp;index,
double&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i97" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setFloat-int-float-">setFloat</a></span>(int&nbsp;index,
float&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i98" class="altColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setInt-int-int-">setInt</a></span>(int&nbsp;index,
int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i99" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setIntLE-int-int-">setIntLE</a></span>(int&nbsp;index,
int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i100" class="altColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setLong-int-long-">setLong</a></span>(int&nbsp;index,
long&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i101" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setLongLE-int-long-">setLongLE</a></span>(int&nbsp;index,
long&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i102" class="altColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setMedium-int-int-">setMedium</a></span>(int&nbsp;index,
int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i103" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setMediumLE-int-int-">setMediumLE</a></span>(int&nbsp;index,
int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i104" class="altColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setShort-int-int-">setShort</a></span>(int&nbsp;index,
int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i105" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#setShortLE-int-int-">setShortLE</a></span>(int&nbsp;index,
int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i106" class="altColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#slice--">slice</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i107" class="rowColor">
<td class="colFirst"><code><a href="../../../io/netty/buffer/DrillBuf.html" title="class in io.netty.buffer">DrillBuf</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#slice-int-int-">slice</a></span>(int&nbsp;index,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i108" class="altColor">
<td class="colFirst"><code><a href="https://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="../../../io/netty/buffer/DrillBuf.html#toHexString-int-int-">toHexString</a></span>(int&nbsp;start,
int&nbsp;length)</code>
<div class="block">Return the buffer's byte contents in the form of a hex dump.</div>
</td>
</tr>
<tr id="i109" class="rowColor">
<td class="colFirst"><code><a href="https://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="../../../io/netty/buffer/DrillBuf.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i110" class="altColor">
<td class="colFirst"><code><a href="https://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="../../../io/netty/buffer/DrillBuf.html#toString-java.nio.charset.Charset-">toString</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a>&nbsp;charset)</code>&nbsp;</td>
</tr>
<tr id="i111" class="rowColor">
<td class="colFirst"><code><a href="https://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="../../../io/netty/buffer/DrillBuf.html#toString-int-int-java.nio.charset.Charset-">toString</a></span>(int&nbsp;index,
int&nbsp;length,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a>&nbsp;charset)</code>&nbsp;</td>
</tr>
<tr id="i112" class="altColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#touch--">touch</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i113" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#touch-java.lang.Object-">touch</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;hint)</code>&nbsp;</td>
</tr>
<tr id="i114" class="altColor">
<td class="colFirst"><code><a href="https://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="../../../io/netty/buffer/DrillBuf.html#toVerboseString--">toVerboseString</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i115" class="rowColor">
<td class="colFirst"><code><a href="../../../io/netty/buffer/DrillBuf.TransferResult.html" title="class in io.netty.buffer">DrillBuf.TransferResult</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#transferOwnership-org.apache.drill.exec.memory.BufferAllocator-">transferOwnership</a></span>(<a href="../../../org/apache/drill/exec/memory/BufferAllocator.html" title="interface in org.apache.drill.exec.memory">BufferAllocator</a>&nbsp;target)</code>
<div class="block">Transfer the memory accounting ownership of this DrillBuf to another
allocator.</div>
</td>
</tr>
<tr id="i116" class="altColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#unsafeGetMemory-int-int-">unsafeGetMemory</a></span>(int&nbsp;srcOffset,
int&nbsp;length)</code>
<div class="block">Convenience method to read buffer bytes into a newly allocated byte
array.</div>
</td>
</tr>
<tr id="i117" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#unwrap--">unwrap</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i118" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#writeByteUnsafe-byte-">writeByteUnsafe</a></span>(byte&nbsp;b)</code>&nbsp;</td>
</tr>
<tr id="i119" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#writeChar-int-">writeChar</a></span>(int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i120" class="altColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#writeDouble-double-">writeDouble</a></span>(double&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i121" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#writeFloat-float-">writeFloat</a></span>(float&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i122" class="altColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#writeInt-int-">writeInt</a></span>(int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i123" class="rowColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#writeLong-long-">writeLong</a></span>(long&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i124" class="altColor">
<td class="colFirst"><code>io.netty.buffer.ByteBuf</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../io/netty/buffer/DrillBuf.html#writeShort-int-">writeShort</a></span>(int&nbsp;value)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.io.netty.buffer.AbstractByteBuf">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;io.netty.buffer.AbstractByteBuf</h3>
<code>adjustMarkers, asReadOnly, bytesBefore, bytesBefore, bytesBefore, checkDstIndex, checkDstIndex, checkIndex, checkIndex, checkNewCapacity, checkReadableBytes, checkSrcIndex, clear, compareTo, discardReadBytes, discardSomeReadBytes, ensureAccessible, ensureWritable, ensureWritable, forEachByte, forEachByte, forEachByteDesc, forEachByteDesc, getBoolean, getBytes, getBytes, getBytes, getCharSequence, getMedium, getMediumLE, getUnsignedByte, getUnsignedIntLE, getUnsignedShortLE, indexOf, isReadable, isReadable, isReadOnly, isWritable, isWritable, markReaderIndex, markWriterIndex, maxCapacity, maxCapacity, maxWritableBytes, newSwappedByteBuf, readableBytes, readBoolean, readByte, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readChar, readCharSequence, readDouble, readerIndex, readerIndex, readFloat, readInt, readIntLE, readLong, readLongLE, readMedium, readMediumLE, readRetainedSlice, readShort, readShortLE, readUnsignedByte, readUnsignedInt, readUnsignedIntLE, readUnsignedMedium, readUnsignedMediumLE, readUnsignedShort, readUnsignedShortLE, resetReaderIndex, resetWriterIndex, retainedDuplicate, retainedSlice, retainedSlice, setBoolean, setBytes, setBytes, setBytes, setCharSequence, setIndex, setZero, skipBytes, trimIndicesToCapacity, writableBytes, writeBoolean, writeByte, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeCharSequence, writeIntLE, writeLongLE, writeMedium, writeMediumLE, writerIndex, writerIndex, writeShortLE, writeZero</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.io.netty.buffer.ByteBuf">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;io.netty.buffer.ByteBuf</h3>
<code>getDoubleLE, getFloatLE, isContiguous, maxFastWritableBytes, readDoubleLE, readFloatLE, setDoubleLE, setFloatLE, writeDoubleLE, writeFloatLE</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://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="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://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="https://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="https://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="https://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="https://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="https://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="https://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="LONG_NUM_BYTES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LONG_NUM_BYTES</h4>
<pre>public static final&nbsp;int LONG_NUM_BYTES</pre>
<div class="block">Number of bytes in a long</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#io.netty.buffer.DrillBuf.LONG_NUM_BYTES">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="INT_NUM_BYTES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INT_NUM_BYTES</h4>
<pre>public static final&nbsp;int INT_NUM_BYTES</pre>
<div class="block">Number of bytes in an int</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#io.netty.buffer.DrillBuf.INT_NUM_BYTES">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="SHORT_NUM_BYTES">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SHORT_NUM_BYTES</h4>
<pre>public static final&nbsp;int SHORT_NUM_BYTES</pre>
<div class="block">Number of bytes in a short</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#io.netty.buffer.DrillBuf.SHORT_NUM_BYTES">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="DrillBuf-java.util.concurrent.atomic.AtomicInteger-org.apache.drill.exec.memory.AllocationManager.BufferLedger-io.netty.buffer.UnsafeDirectLittleEndian-org.apache.drill.exec.ops.BufferManager-io.netty.buffer.ByteBufAllocator-int-int-boolean-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DrillBuf</h4>
<pre>public&nbsp;DrillBuf(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicInteger.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicInteger</a>&nbsp;refCnt,
<a href="../../../org/apache/drill/exec/memory/AllocationManager.BufferLedger.html" title="class in org.apache.drill.exec.memory">AllocationManager.BufferLedger</a>&nbsp;ledger,
<a href="../../../io/netty/buffer/UnsafeDirectLittleEndian.html" title="class in io.netty.buffer">UnsafeDirectLittleEndian</a>&nbsp;byteBuf,
<a href="../../../org/apache/drill/exec/ops/BufferManager.html" title="interface in org.apache.drill.exec.ops">BufferManager</a>&nbsp;manager,
io.netty.buffer.ByteBufAllocator&nbsp;alloc,
int&nbsp;offset,
int&nbsp;length,
boolean&nbsp;isEmpty)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="reallocIfNeeded-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reallocIfNeeded</h4>
<pre>public&nbsp;<a href="../../../io/netty/buffer/DrillBuf.html" title="class in io.netty.buffer">DrillBuf</a>&nbsp;reallocIfNeeded(int&nbsp;size)</pre>
</li>
</ul>
<a name="refCnt--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>refCnt</h4>
<pre>public&nbsp;int&nbsp;refCnt()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>refCnt</code>&nbsp;in interface&nbsp;<code>io.netty.util.ReferenceCounted</code></dd>
</dl>
</li>
</ul>
<a name="addr--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addr</h4>
<pre>public&nbsp;long&nbsp;addr()</pre>
</li>
</ul>
<a name="retain-org.apache.drill.exec.memory.BufferAllocator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>retain</h4>
<pre>public&nbsp;<a href="../../../io/netty/buffer/DrillBuf.html" title="class in io.netty.buffer">DrillBuf</a>&nbsp;retain(<a href="../../../org/apache/drill/exec/memory/BufferAllocator.html" title="interface in org.apache.drill.exec.memory">BufferAllocator</a>&nbsp;target)</pre>
<div class="block">Create a new DrillBuf that is associated with an alternative allocator for
the purposes of memory ownership and accounting. This has no impact on the
reference counting for the current DrillBuf except in the situation where
the passed in Allocator is the same as the current buffer.
This operation has no impact on the reference count of this DrillBuf. The
newly created DrillBuf with either have a reference count of 1 (in the case
that this is the first time this memory is being associated with the new
allocator) or the current value of the reference count + 1 for the other
AllocationManager/BufferLedger combination in the case that the provided
allocator already had an association to this underlying memory.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>target</code> - The target allocator to create an association with.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A new DrillBuf which shares the same underlying memory as this
DrillBuf.</dd>
</dl>
</li>
</ul>
<a name="transferOwnership-org.apache.drill.exec.memory.BufferAllocator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>transferOwnership</h4>
<pre>public&nbsp;<a href="../../../io/netty/buffer/DrillBuf.TransferResult.html" title="class in io.netty.buffer">DrillBuf.TransferResult</a>&nbsp;transferOwnership(<a href="../../../org/apache/drill/exec/memory/BufferAllocator.html" title="interface in org.apache.drill.exec.memory">BufferAllocator</a>&nbsp;target)</pre>
<div class="block">Transfer the memory accounting ownership of this DrillBuf to another
allocator. This will generate a new DrillBuf that carries an association
with the underlying memory of this DrillBuf. If this DrillBuf is connected
to the owning BufferLedger of this memory, that memory ownership/accounting
will be transferred to the target allocator. If this DrillBuf does not
currently own the memory underlying it (and is only associated with it),
this does not transfer any ownership to the newly created DrillBuf.
<p>
This operation has no impact on the reference count of this DrillBuf. The
newly created DrillBuf with either have a reference count of 1 (in the case
that this is the first time this memory is being associated with the new
allocator) or the current value of the reference count for the other
AllocationManager/BufferLedger combination in the case that the provided
allocator already had an association to this underlying memory.
<p>
Transfers will always succeed, even if that puts the other allocator into
an overlimit situation. This is possible due to the fact that the original
owning allocator may have allocated this memory out of a local reservation
whereas the target allocator may need to allocate new memory from a parent
or RootAllocator. This operation is done in a mostly-lockless but
consistent manner. As such, the overlimit==true situation could occur
slightly prematurely to an actual overlimit==true condition. This is simply
conservative behavior which means we may return overlimit slightly sooner
than is necessary.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>target</code> - The allocator to transfer ownership to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A new transfer result with the impact of the transfer (whether it
was overlimit) as well as the newly created DrillBuf.</dd>
</dl>
</li>
</ul>
<a name="getLedger--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLedger</h4>
<pre>public&nbsp;<a href="../../../org/apache/drill/exec/memory/AllocationManager.BufferLedger.html" title="class in org.apache.drill.exec.memory">AllocationManager.BufferLedger</a>&nbsp;getLedger()</pre>
<div class="block">Visible only for memory allocation calculations.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The <a href="../../../org/apache/drill/exec/memory/AllocationManager.BufferLedger.html" title="class in org.apache.drill.exec.memory"><code>AllocationManager.BufferLedger</code></a> associated with this <a href="../../../io/netty/buffer/DrillBuf.html" title="class in io.netty.buffer"><code>DrillBuf</code></a>.</dd>
</dl>
</li>
</ul>
<a name="release--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>release</h4>
<pre>public&nbsp;boolean&nbsp;release()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>release</code>&nbsp;in interface&nbsp;<code>io.netty.util.ReferenceCounted</code></dd>
</dl>
</li>
</ul>
<a name="release-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>release</h4>
<pre>public&nbsp;boolean&nbsp;release(int&nbsp;decrement)</pre>
<div class="block">Release the provided number of reference counts.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>release</code>&nbsp;in interface&nbsp;<code>io.netty.util.ReferenceCounted</code></dd>
</dl>
</li>
</ul>
<a name="capacity--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>capacity</h4>
<pre>public&nbsp;int&nbsp;capacity()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>capacity</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="capacity-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>capacity</h4>
<pre>public&nbsp;<a href="../../../io/netty/buffer/DrillBuf.html" title="class in io.netty.buffer">DrillBuf</a>&nbsp;capacity(int&nbsp;newCapacity)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>capacity</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="alloc--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>alloc</h4>
<pre>public&nbsp;io.netty.buffer.ByteBufAllocator&nbsp;alloc()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>alloc</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="order--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>order</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteOrder.html?is-external=true" title="class or interface in java.nio">ByteOrder</a>&nbsp;order()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>order</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="order-java.nio.ByteOrder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>order</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;order(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteOrder.html?is-external=true" title="class or interface in java.nio">ByteOrder</a>&nbsp;endianness)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>order</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="unwrap--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unwrap</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;unwrap()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>unwrap</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="isDirect--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isDirect</h4>
<pre>public&nbsp;boolean&nbsp;isDirect()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>isDirect</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="readBytes-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readBytes</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;readBytes(int&nbsp;length)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>readBytes</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="readSlice-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readSlice</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;readSlice(int&nbsp;length)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>readSlice</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="copy--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copy</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;copy()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>copy</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="copy-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copy</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;copy(int&nbsp;index,
int&nbsp;length)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>copy</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="slice--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>slice</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;slice()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>slice</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="bufferState-io.netty.buffer.ByteBuf-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>bufferState</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;bufferState(io.netty.buffer.ByteBuf&nbsp;buf)</pre>
</li>
</ul>
<a name="slice-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>slice</h4>
<pre>public&nbsp;<a href="../../../io/netty/buffer/DrillBuf.html" title="class in io.netty.buffer">DrillBuf</a>&nbsp;slice(int&nbsp;index,
int&nbsp;length)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>slice</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="duplicate--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>duplicate</h4>
<pre>public&nbsp;<a href="../../../io/netty/buffer/DrillBuf.html" title="class in io.netty.buffer">DrillBuf</a>&nbsp;duplicate()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>duplicate</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="nioBufferCount--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nioBufferCount</h4>
<pre>public&nbsp;int&nbsp;nioBufferCount()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>nioBufferCount</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="nioBuffer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nioBuffer</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;nioBuffer()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>nioBuffer</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="nioBuffer-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nioBuffer</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;nioBuffer(int&nbsp;index,
int&nbsp;length)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>nioBuffer</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="internalNioBuffer-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>internalNioBuffer</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;internalNioBuffer(int&nbsp;index,
int&nbsp;length)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>internalNioBuffer</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="nioBuffers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nioBuffers</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>[]&nbsp;nioBuffers()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>nioBuffers</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="nioBuffers-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nioBuffers</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>[]&nbsp;nioBuffers(int&nbsp;index,
int&nbsp;length)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>nioBuffers</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="hasArray--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasArray</h4>
<pre>public&nbsp;boolean&nbsp;hasArray()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>hasArray</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="array--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>array</h4>
<pre>public&nbsp;byte[]&nbsp;array()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>array</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="arrayOffset--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>arrayOffset</h4>
<pre>public&nbsp;int&nbsp;arrayOffset()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>arrayOffset</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="hasMemoryAddress--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasMemoryAddress</h4>
<pre>public&nbsp;boolean&nbsp;hasMemoryAddress()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>hasMemoryAddress</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="memoryAddress--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>memoryAddress</h4>
<pre>public&nbsp;long&nbsp;memoryAddress()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>memoryAddress</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="toString-java.nio.charset.Charset-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a>&nbsp;charset)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="toString-int-int-java.nio.charset.Charset-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString(int&nbsp;index,
int&nbsp;length,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a>&nbsp;charset)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="retain-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>retain</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;retain(int&nbsp;increment)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>retain</code>&nbsp;in interface&nbsp;<code>io.netty.util.ReferenceCounted</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>retain</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="retain--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>retain</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;retain()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>retain</code>&nbsp;in interface&nbsp;<code>io.netty.util.ReferenceCounted</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>retain</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="touch--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>touch</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;touch()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>touch</code>&nbsp;in interface&nbsp;<code>io.netty.util.ReferenceCounted</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>touch</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="touch-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>touch</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;touch(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;hint)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>touch</code>&nbsp;in interface&nbsp;<code>io.netty.util.ReferenceCounted</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>touch</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="getLong-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLong</h4>
<pre>public&nbsp;long&nbsp;getLong(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getLong</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="getLongLE-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLongLE</h4>
<pre>public&nbsp;long&nbsp;getLongLE(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getLongLE</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="getFloat-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFloat</h4>
<pre>public&nbsp;float&nbsp;getFloat(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getFloat</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="getDouble-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDouble</h4>
<pre>public&nbsp;double&nbsp;getDouble(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getDouble</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="getChar-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChar</h4>
<pre>public&nbsp;char&nbsp;getChar(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getChar</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="getUnsignedInt-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnsignedInt</h4>
<pre>public&nbsp;long&nbsp;getUnsignedInt(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getUnsignedInt</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="getInt-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInt</h4>
<pre>public&nbsp;int&nbsp;getInt(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getInt</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="getIntLE-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIntLE</h4>
<pre>public&nbsp;int&nbsp;getIntLE(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getIntLE</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="getUnsignedShort-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnsignedShort</h4>
<pre>public&nbsp;int&nbsp;getUnsignedShort(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getUnsignedShort</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="getShort-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShort</h4>
<pre>public&nbsp;short&nbsp;getShort(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getShort</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="getShortLE-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShortLE</h4>
<pre>public&nbsp;short&nbsp;getShortLE(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getShortLE</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="getUnsignedMedium-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnsignedMedium</h4>
<pre>public&nbsp;int&nbsp;getUnsignedMedium(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getUnsignedMedium</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="getUnsignedMediumLE-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnsignedMediumLE</h4>
<pre>public&nbsp;int&nbsp;getUnsignedMediumLE(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getUnsignedMediumLE</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="setShort-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShort</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;setShort(int&nbsp;index,
int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setShort</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="setShortLE-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShortLE</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;setShortLE(int&nbsp;index,
int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setShortLE</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="setMedium-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMedium</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;setMedium(int&nbsp;index,
int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setMedium</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="setMediumLE-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMediumLE</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;setMediumLE(int&nbsp;index,
int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setMediumLE</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="setInt-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInt</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;setInt(int&nbsp;index,
int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setInt</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="setIntLE-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIntLE</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;setIntLE(int&nbsp;index,
int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setIntLE</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="setLong-int-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLong</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;setLong(int&nbsp;index,
long&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setLong</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="setLongLE-int-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLongLE</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;setLongLE(int&nbsp;index,
long&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setLongLE</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="setChar-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setChar</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;setChar(int&nbsp;index,
int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setChar</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="setFloat-int-float-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFloat</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;setFloat(int&nbsp;index,
float&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setFloat</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="setDouble-int-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDouble</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;setDouble(int&nbsp;index,
double&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setDouble</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="writeShort-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeShort</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;writeShort(int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>writeShort</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="writeInt-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeInt</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;writeInt(int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>writeInt</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="writeLong-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeLong</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;writeLong(long&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>writeLong</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="writeChar-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeChar</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;writeChar(int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>writeChar</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="writeFloat-float-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeFloat</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;writeFloat(float&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>writeFloat</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="writeDouble-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeDouble</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;writeDouble(double&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>writeDouble</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="getBytes-int-byte:A-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytes</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;getBytes(int&nbsp;index,
byte[]&nbsp;dst,
int&nbsp;dstIndex,
int&nbsp;length)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getBytes</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="getBytes-int-java.nio.ByteBuffer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytes</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;getBytes(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;dst)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getBytes</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="setByte-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setByte</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;setByte(int&nbsp;index,
int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setByte</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="setByte-int-byte-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setByte</h4>
<pre>public&nbsp;void&nbsp;setByte(int&nbsp;index,
byte&nbsp;b)</pre>
</li>
</ul>
<a name="writeByteUnsafe-byte-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeByteUnsafe</h4>
<pre>public&nbsp;void&nbsp;writeByteUnsafe(byte&nbsp;b)</pre>
</li>
</ul>
<a name="Z:Z_getByte-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_getByte</h4>
<pre>protected&nbsp;byte&nbsp;_getByte(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>_getByte</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="Z:Z_getShort-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_getShort</h4>
<pre>protected&nbsp;short&nbsp;_getShort(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>_getShort</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="Z:Z_getShortLE-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_getShortLE</h4>
<pre>protected&nbsp;short&nbsp;_getShortLE(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>_getShortLE</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="Z:Z_getInt-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_getInt</h4>
<pre>protected&nbsp;int&nbsp;_getInt(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>_getInt</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="Z:Z_getIntLE-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_getIntLE</h4>
<pre>protected&nbsp;int&nbsp;_getIntLE(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>_getIntLE</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="Z:Z_getLong-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_getLong</h4>
<pre>protected&nbsp;long&nbsp;_getLong(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>_getLong</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="Z:Z_getLongLE-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_getLongLE</h4>
<pre>protected&nbsp;long&nbsp;_getLongLE(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>_getLongLE</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="Z:Z_setByte-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_setByte</h4>
<pre>protected&nbsp;void&nbsp;_setByte(int&nbsp;index,
int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>_setByte</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="Z:Z_setShort-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_setShort</h4>
<pre>protected&nbsp;void&nbsp;_setShort(int&nbsp;index,
int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>_setShort</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="Z:Z_setShortLE-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_setShortLE</h4>
<pre>protected&nbsp;void&nbsp;_setShortLE(int&nbsp;index,
int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>_setShortLE</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="Z:Z_setMedium-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_setMedium</h4>
<pre>protected&nbsp;void&nbsp;_setMedium(int&nbsp;index,
int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>_setMedium</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="Z:Z_setMediumLE-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_setMediumLE</h4>
<pre>protected&nbsp;void&nbsp;_setMediumLE(int&nbsp;index,
int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>_setMediumLE</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="Z:Z_setInt-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_setInt</h4>
<pre>protected&nbsp;void&nbsp;_setInt(int&nbsp;index,
int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>_setInt</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="Z:Z_setIntLE-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_setIntLE</h4>
<pre>protected&nbsp;void&nbsp;_setIntLE(int&nbsp;index,
int&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>_setIntLE</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="Z:Z_setLong-int-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_setLong</h4>
<pre>protected&nbsp;void&nbsp;_setLong(int&nbsp;index,
long&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>_setLong</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="Z:Z_setLongLE-int-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_setLongLE</h4>
<pre>protected&nbsp;void&nbsp;_setLongLE(int&nbsp;index,
long&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>_setLongLE</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="getBytes-int-io.netty.buffer.ByteBuf-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytes</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;getBytes(int&nbsp;index,
io.netty.buffer.ByteBuf&nbsp;dst,
int&nbsp;dstIndex,
int&nbsp;length)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getBytes</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="getBytes-int-java.io.OutputStream-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytes</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;getBytes(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;out,
int&nbsp;length)
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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getBytes</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></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="getBytes-int-java.nio.channels.FileChannel-long-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytes</h4>
<pre>public&nbsp;int&nbsp;getBytes(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/channels/FileChannel.html?is-external=true" title="class or interface in java.nio.channels">FileChannel</a>&nbsp;out,
long&nbsp;position,
int&nbsp;length)
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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getBytes</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></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="Z:Z_getUnsignedMedium-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_getUnsignedMedium</h4>
<pre>protected&nbsp;int&nbsp;_getUnsignedMedium(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>_getUnsignedMedium</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="Z:Z_getUnsignedMediumLE-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_getUnsignedMediumLE</h4>
<pre>protected&nbsp;int&nbsp;_getUnsignedMediumLE(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>_getUnsignedMediumLE</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="getBytes-int-java.nio.channels.GatheringByteChannel-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytes</h4>
<pre>public&nbsp;int&nbsp;getBytes(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/channels/GatheringByteChannel.html?is-external=true" title="class or interface in java.nio.channels">GatheringByteChannel</a>&nbsp;out,
int&nbsp;length)
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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getBytes</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></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="setBytes-int-io.netty.buffer.ByteBuf-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBytes</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;setBytes(int&nbsp;index,
io.netty.buffer.ByteBuf&nbsp;src,
int&nbsp;srcIndex,
int&nbsp;length)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>setBytes</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="setBytes-int-java.nio.ByteBuffer-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBytes</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;setBytes(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;src,
int&nbsp;srcIndex,
int&nbsp;length)</pre>
</li>
</ul>
<a name="setBytes-int-byte:A-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBytes</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;setBytes(int&nbsp;index,
byte[]&nbsp;src,
int&nbsp;srcIndex,
int&nbsp;length)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>setBytes</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="setBytes-int-java.nio.ByteBuffer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBytes</h4>
<pre>public&nbsp;io.netty.buffer.ByteBuf&nbsp;setBytes(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;src)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>setBytes</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="setBytes-int-java.io.InputStream-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBytes</h4>
<pre>public&nbsp;int&nbsp;setBytes(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;in,
int&nbsp;length)
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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>setBytes</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></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="setBytes-int-java.nio.channels.ScatteringByteChannel-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBytes</h4>
<pre>public&nbsp;int&nbsp;setBytes(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/channels/ScatteringByteChannel.html?is-external=true" title="class or interface in java.nio.channels">ScatteringByteChannel</a>&nbsp;in,
int&nbsp;length)
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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>setBytes</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></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="setBytes-int-java.nio.channels.FileChannel-long-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBytes</h4>
<pre>public&nbsp;int&nbsp;setBytes(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/channels/FileChannel.html?is-external=true" title="class or interface in java.nio.channels">FileChannel</a>&nbsp;in,
long&nbsp;position,
int&nbsp;length)
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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>setBytes</code>&nbsp;in class&nbsp;<code>io.netty.buffer.ByteBuf</code></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="getByte-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getByte</h4>
<pre>public&nbsp;byte&nbsp;getByte(int&nbsp;index)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getByte</code>&nbsp;in class&nbsp;<code>io.netty.buffer.AbstractByteBuf</code></dd>
</dl>
</li>
</ul>
<a name="close--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>public&nbsp;void&nbsp;close()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true#close--" title="class or interface in java.lang">close</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd>
</dl>
</li>
</ul>
<a name="getPossibleMemoryConsumed--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPossibleMemoryConsumed</h4>
<pre>public&nbsp;int&nbsp;getPossibleMemoryConsumed()</pre>
<div class="block">Returns the possible memory consumed by this DrillBuf in the worse case scenario. (not shared, connected to larger
underlying buffer of allocated memory)</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Size in bytes.</dd>
</dl>
</li>
</ul>
<a name="getActualMemoryConsumed--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getActualMemoryConsumed</h4>
<pre>public&nbsp;int&nbsp;getActualMemoryConsumed()</pre>
<div class="block">Return that is Accounted for by this buffer (and its potentially shared siblings within the context of the
associated allocator).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Size in bytes.</dd>
</dl>
</li>
</ul>
<a name="toHexString-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toHexString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toHexString(int&nbsp;start,
int&nbsp;length)</pre>
<div class="block">Return the buffer's byte contents in the form of a hex dump.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>start</code> - the starting byte index</dd>
<dd><code>length</code> - how many bytes to log</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A hex dump in a String.</dd>
</dl>
</li>
</ul>
<a name="getId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getId</h4>
<pre>public&nbsp;long&nbsp;getId()</pre>
<div class="block">Get the integer id assigned to this DrillBuf for debugging purposes.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>integer id</dd>
</dl>
</li>
</ul>
<a name="toVerboseString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toVerboseString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toVerboseString()</pre>
</li>
</ul>
<a name="print-java.lang.StringBuilder-int-org.apache.drill.exec.memory.BaseAllocator.Verbosity-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>print</h4>
<pre>public&nbsp;void&nbsp;print(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb,
int&nbsp;indent,
<a href="../../../org/apache/drill/exec/memory/BaseAllocator.Verbosity.html" title="enum in org.apache.drill.exec.memory">BaseAllocator.Verbosity</a>&nbsp;verbosity)</pre>
</li>
</ul>
<a name="unsafeGetMemory-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unsafeGetMemory</h4>
<pre>public&nbsp;byte[]&nbsp;unsafeGetMemory(int&nbsp;srcOffset,
int&nbsp;length)</pre>
<div class="block">Convenience method to read buffer bytes into a newly allocated byte
array.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>srcOffset</code> - the offset into this buffer of the data to read</dd>
<dd><code>length</code> - number of bytes to read</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>byte array with the requested bytes</dd>
</dl>
</li>
</ul>
<a name="getShort-byte:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShort</h4>
<pre>public static&nbsp;short&nbsp;getShort(byte[]&nbsp;data,
int&nbsp;index)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>data</code> - source byte array</dd>
<dd><code>index</code> - index within the byte array</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>short value starting at data+index</dd>
</dl>
</li>
</ul>
<a name="getInt-byte:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInt</h4>
<pre>public static&nbsp;int&nbsp;getInt(byte[]&nbsp;data,
int&nbsp;index)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>data</code> - source byte array</dd>
<dd><code>index</code> - index within the byte array</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>integer value starting at data+index</dd>
</dl>
</li>
</ul>
<a name="getLong-byte:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLong</h4>
<pre>public static&nbsp;long&nbsp;getLong(byte[]&nbsp;data,
int&nbsp;index)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>data</code> - data source byte array</dd>
<dd><code>index</code> - index within the byte array</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>long value read at data_index</dd>
</dl>
</li>
</ul>
<a name="putShort-byte:A-int-byte:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putShort</h4>
<pre>public static&nbsp;void&nbsp;putShort(byte[]&nbsp;src,
int&nbsp;srcIndex,
byte[]&nbsp;dest,
int&nbsp;destIndex)</pre>
<div class="block">Read a short at position src+srcIndex and copy it to the dest+destIndex</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>src</code> - source byte array</dd>
<dd><code>srcIndex</code> - source index</dd>
<dd><code>dest</code> - destination byte array</dd>
<dd><code>destIndex</code> - destination index</dd>
</dl>
</li>
</ul>
<a name="putInt-byte:A-int-byte:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putInt</h4>
<pre>public static&nbsp;void&nbsp;putInt(byte[]&nbsp;src,
int&nbsp;srcIndex,
byte[]&nbsp;dest,
int&nbsp;destIndex)</pre>
<div class="block">Read an integer at position src+srcIndex and copy it to the dest+destIndex</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>src</code> - source byte array</dd>
<dd><code>srcIndex</code> - source index</dd>
<dd><code>dest</code> - destination byte array</dd>
<dd><code>destIndex</code> - destination index</dd>
</dl>
</li>
</ul>
<a name="putLong-byte:A-int-byte:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putLong</h4>
<pre>public static&nbsp;void&nbsp;putLong(byte[]&nbsp;src,
int&nbsp;srcIndex,
byte[]&nbsp;dest,
int&nbsp;destIndex)</pre>
<div class="block">Read a long at position src+srcIndex and copy it to the dest+destIndex</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>src</code> - source byte array</dd>
<dd><code>srcIndex</code> - source index</dd>
<dd><code>dest</code> - destination byte array</dd>
<dd><code>destIndex</code> - destination index</dd>
</dl>
</li>
</ul>
<a name="putShort-byte:A-int-short-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putShort</h4>
<pre>public static&nbsp;void&nbsp;putShort(byte[]&nbsp;dest,
int&nbsp;destIndex,
short&nbsp;value)</pre>
<div class="block">Copy a short value to the dest+destIndex</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dest</code> - destination byte array</dd>
<dd><code>destIndex</code> - destination index</dd>
<dd><code>value</code> - a short value</dd>
</dl>
</li>
</ul>
<a name="putInt-byte:A-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putInt</h4>
<pre>public static&nbsp;void&nbsp;putInt(byte[]&nbsp;dest,
int&nbsp;destIndex,
int&nbsp;value)</pre>
<div class="block">Copy an integer value to the dest+destIndex</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dest</code> - destination byte array</dd>
<dd><code>destIndex</code> - destination index</dd>
<dd><code>value</code> - an int value</dd>
</dl>
</li>
</ul>
<a name="putLong-byte:A-int-long-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>putLong</h4>
<pre>public static&nbsp;void&nbsp;putLong(byte[]&nbsp;dest,
int&nbsp;destIndex,
long&nbsp;value)</pre>
<div class="block">Copy a long value to the dest+destIndex</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dest</code> - destination byte array</dd>
<dd><code>destIndex</code> - destination index</dd>
<dd><code>value</code> - a long value</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/DrillBuf.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>Prev&nbsp;Class</li>
<li><a href="../../../io/netty/buffer/DrillBuf.TransferResult.html" title="class in io.netty.buffer"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?io/netty/buffer/DrillBuf.html" target="_top">Frames</a></li>
<li><a href="DrillBuf.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><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&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; 2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>