| <!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 Class</li> |
| <li><a href="../../../io/netty/buffer/DrillBuf.TransferResult.html" title="class in io.netty.buffer"><span class="typeNameLink">Next 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 Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">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><io.netty.buffer.ByteBuf></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"> </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 </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"> </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"> </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> refCnt, |
| <a href="../../../org/apache/drill/exec/memory/AllocationManager.BufferLedger.html" title="class in org.apache.drill.exec.memory">AllocationManager.BufferLedger</a> ledger, |
| <a href="../../../io/netty/buffer/UnsafeDirectLittleEndian.html" title="class in io.netty.buffer">UnsafeDirectLittleEndian</a> byteBuf, |
| <a href="../../../org/apache/drill/exec/ops/BufferManager.html" title="interface in org.apache.drill.exec.ops">BufferManager</a> manager, |
| io.netty.buffer.ByteBufAllocator alloc, |
| int offset, |
| int length, |
| boolean isEmpty)</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>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 index)</code> </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 index)</code> </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 index)</code> </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 index)</code> </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 index)</code> </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 index)</code> </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 index)</code> </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 index)</code> </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 index)</code> </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 index, |
| int value)</code> </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 index, |
| int value)</code> </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 index, |
| int value)</code> </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 index, |
| long value)</code> </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 index, |
| long value)</code> </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 index, |
| int value)</code> </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 index, |
| int value)</code> </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 index, |
| int value)</code> </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 index, |
| int value)</code> </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> </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> </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> </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> </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 buf)</code> </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> </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 newCapacity)</code> </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> </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> </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 index, |
| int length)</code> </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> </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> obj)</code> </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 index)</code> </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 index, |
| byte[] dst, |
| int dstIndex, |
| int length)</code> </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 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> dst)</code> </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 index, |
| io.netty.buffer.ByteBuf dst, |
| int dstIndex, |
| int length)</code> </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 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> out, |
| long position, |
| int length)</code> </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 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> out, |
| int length)</code> </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 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> out, |
| int length)</code> </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 index)</code> </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 index)</code> </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 index)</code> </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[] data, |
| int index)</code> </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 index)</code> </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 index)</code> </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[] data, |
| int index)</code> </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 index)</code> </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 index)</code> </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[] data, |
| int index)</code> </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 index)</code> </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 index)</code> </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 index)</code> </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 index)</code> </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 index)</code> </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 index)</code> </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> </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> </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> </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 index, |
| int length)</code> </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> </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> </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> </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 index, |
| int length)</code> </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> </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> </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 index, |
| int length)</code> </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> </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> endianness)</code> </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> sb, |
| int indent, |
| <a href="../../../org/apache/drill/exec/memory/BaseAllocator.Verbosity.html" title="enum in org.apache.drill.exec.memory">BaseAllocator.Verbosity</a> verbosity)</code> </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[] src, |
| int srcIndex, |
| byte[] dest, |
| int 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[] dest, |
| int destIndex, |
| int 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[] src, |
| int srcIndex, |
| byte[] dest, |
| int 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[] dest, |
| int destIndex, |
| long 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[] src, |
| int srcIndex, |
| byte[] dest, |
| int 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[] dest, |
| int destIndex, |
| short 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 length)</code> </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 length)</code> </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 size)</code> </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> </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> </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 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> </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> 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 increment)</code> </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 index, |
| byte b)</code> </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 index, |
| int value)</code> </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 index, |
| byte[] src, |
| int srcIndex, |
| int length)</code> </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 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> src)</code> </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 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> src, |
| int srcIndex, |
| int length)</code> </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 index, |
| io.netty.buffer.ByteBuf src, |
| int srcIndex, |
| int length)</code> </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 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> in, |
| long position, |
| int length)</code> </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 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> in, |
| int length)</code> </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 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> in, |
| int length)</code> </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 index, |
| int value)</code> </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 index, |
| double value)</code> </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 index, |
| float value)</code> </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 index, |
| int value)</code> </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 index, |
| int value)</code> </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 index, |
| long value)</code> </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 index, |
| long value)</code> </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 index, |
| int value)</code> </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 index, |
| int value)</code> </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 index, |
| int value)</code> </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 index, |
| int value)</code> </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> </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 index, |
| int length)</code> </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 start, |
| int 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> </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> charset)</code> </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 index, |
| int 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> charset)</code> </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> </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> hint)</code> </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> </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> 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 srcOffset, |
| int 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> </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 b)</code> </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 value)</code> </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 value)</code> </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 value)</code> </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 value)</code> </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 value)</code> </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 value)</code> </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 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 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 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 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 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 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 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> refCnt, |
| <a href="../../../org/apache/drill/exec/memory/AllocationManager.BufferLedger.html" title="class in org.apache.drill.exec.memory">AllocationManager.BufferLedger</a> ledger, |
| <a href="../../../io/netty/buffer/UnsafeDirectLittleEndian.html" title="class in io.netty.buffer">UnsafeDirectLittleEndian</a> byteBuf, |
| <a href="../../../org/apache/drill/exec/ops/BufferManager.html" title="interface in org.apache.drill.exec.ops">BufferManager</a> manager, |
| io.netty.buffer.ByteBufAllocator alloc, |
| int offset, |
| int length, |
| boolean 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 <a href="../../../io/netty/buffer/DrillBuf.html" title="class in io.netty.buffer">DrillBuf</a> reallocIfNeeded(int size)</pre> |
| </li> |
| </ul> |
| <a name="refCnt--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>refCnt</h4> |
| <pre>public int refCnt()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>refCnt</code> in interface <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 long 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 <a href="../../../io/netty/buffer/DrillBuf.html" title="class in io.netty.buffer">DrillBuf</a> retain(<a href="../../../org/apache/drill/exec/memory/BufferAllocator.html" title="interface in org.apache.drill.exec.memory">BufferAllocator</a> 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 <a href="../../../io/netty/buffer/DrillBuf.TransferResult.html" title="class in io.netty.buffer">DrillBuf.TransferResult</a> transferOwnership(<a href="../../../org/apache/drill/exec/memory/BufferAllocator.html" title="interface in org.apache.drill.exec.memory">BufferAllocator</a> 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 <a href="../../../org/apache/drill/exec/memory/AllocationManager.BufferLedger.html" title="class in org.apache.drill.exec.memory">AllocationManager.BufferLedger</a> 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 boolean release()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>release</code> in interface <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 boolean release(int 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> in interface <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 int capacity()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>capacity</code> in class <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 <a href="../../../io/netty/buffer/DrillBuf.html" title="class in io.netty.buffer">DrillBuf</a> capacity(int newCapacity)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>capacity</code> in class <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 io.netty.buffer.ByteBufAllocator alloc()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>alloc</code> in class <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 <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> order()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>order</code> in class <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 io.netty.buffer.ByteBuf 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> endianness)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>order</code> in class <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 io.netty.buffer.ByteBuf unwrap()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>unwrap</code> in class <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 boolean isDirect()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>isDirect</code> in class <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 io.netty.buffer.ByteBuf readBytes(int length)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>readBytes</code> in class <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 io.netty.buffer.ByteBuf readSlice(int length)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>readSlice</code> in class <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 io.netty.buffer.ByteBuf copy()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>copy</code> in class <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 io.netty.buffer.ByteBuf copy(int index, |
| int length)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>copy</code> in class <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 io.netty.buffer.ByteBuf slice()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>slice</code> in class <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 <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> bufferState(io.netty.buffer.ByteBuf buf)</pre> |
| </li> |
| </ul> |
| <a name="slice-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>slice</h4> |
| <pre>public <a href="../../../io/netty/buffer/DrillBuf.html" title="class in io.netty.buffer">DrillBuf</a> slice(int index, |
| int length)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>slice</code> in class <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 <a href="../../../io/netty/buffer/DrillBuf.html" title="class in io.netty.buffer">DrillBuf</a> duplicate()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>duplicate</code> in class <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 int nioBufferCount()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>nioBufferCount</code> in class <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 <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> nioBuffer()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>nioBuffer</code> in class <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 <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> nioBuffer(int index, |
| int length)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>nioBuffer</code> in class <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 <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> internalNioBuffer(int index, |
| int length)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>internalNioBuffer</code> in class <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 <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>[] nioBuffers()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>nioBuffers</code> in class <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 <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>[] nioBuffers(int index, |
| int length)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>nioBuffers</code> in class <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 boolean hasArray()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>hasArray</code> in class <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 byte[] array()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>array</code> in class <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 int arrayOffset()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>arrayOffset</code> in class <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 boolean hasMemoryAddress()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>hasMemoryAddress</code> in class <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 long memoryAddress()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>memoryAddress</code> in class <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 <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> toString()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>toString</code> in class <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 <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> 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> charset)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>toString</code> in class <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 <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> toString(int index, |
| int 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> charset)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>toString</code> in class <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 int hashCode()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>hashCode</code> in class <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 boolean 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> obj)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>equals</code> in class <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 io.netty.buffer.ByteBuf retain(int increment)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>retain</code> in interface <code>io.netty.util.ReferenceCounted</code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>retain</code> in class <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 io.netty.buffer.ByteBuf retain()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>retain</code> in interface <code>io.netty.util.ReferenceCounted</code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>retain</code> in class <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 io.netty.buffer.ByteBuf touch()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>touch</code> in interface <code>io.netty.util.ReferenceCounted</code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>touch</code> in class <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 io.netty.buffer.ByteBuf 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> hint)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>touch</code> in interface <code>io.netty.util.ReferenceCounted</code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>touch</code> in class <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 long getLong(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getLong</code> in class <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 long getLongLE(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getLongLE</code> in class <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 float getFloat(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getFloat</code> in class <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 double getDouble(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getDouble</code> in class <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 char getChar(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getChar</code> in class <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 long getUnsignedInt(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getUnsignedInt</code> in class <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 int getInt(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getInt</code> in class <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 int getIntLE(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getIntLE</code> in class <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 int getUnsignedShort(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getUnsignedShort</code> in class <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 short getShort(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getShort</code> in class <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 short getShortLE(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getShortLE</code> in class <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 int getUnsignedMedium(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getUnsignedMedium</code> in class <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 int getUnsignedMediumLE(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getUnsignedMediumLE</code> in class <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 io.netty.buffer.ByteBuf setShort(int index, |
| int value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setShort</code> in class <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 io.netty.buffer.ByteBuf setShortLE(int index, |
| int value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setShortLE</code> in class <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 io.netty.buffer.ByteBuf setMedium(int index, |
| int value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setMedium</code> in class <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 io.netty.buffer.ByteBuf setMediumLE(int index, |
| int value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setMediumLE</code> in class <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 io.netty.buffer.ByteBuf setInt(int index, |
| int value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setInt</code> in class <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 io.netty.buffer.ByteBuf setIntLE(int index, |
| int value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setIntLE</code> in class <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 io.netty.buffer.ByteBuf setLong(int index, |
| long value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setLong</code> in class <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 io.netty.buffer.ByteBuf setLongLE(int index, |
| long value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setLongLE</code> in class <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 io.netty.buffer.ByteBuf setChar(int index, |
| int value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setChar</code> in class <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 io.netty.buffer.ByteBuf setFloat(int index, |
| float value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setFloat</code> in class <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 io.netty.buffer.ByteBuf setDouble(int index, |
| double value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setDouble</code> in class <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 io.netty.buffer.ByteBuf writeShort(int value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>writeShort</code> in class <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 io.netty.buffer.ByteBuf writeInt(int value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>writeInt</code> in class <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 io.netty.buffer.ByteBuf writeLong(long value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>writeLong</code> in class <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 io.netty.buffer.ByteBuf writeChar(int value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>writeChar</code> in class <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 io.netty.buffer.ByteBuf writeFloat(float value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>writeFloat</code> in class <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 io.netty.buffer.ByteBuf writeDouble(double value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>writeDouble</code> in class <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 io.netty.buffer.ByteBuf getBytes(int index, |
| byte[] dst, |
| int dstIndex, |
| int length)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>getBytes</code> in class <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 io.netty.buffer.ByteBuf getBytes(int 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> dst)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>getBytes</code> in class <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 io.netty.buffer.ByteBuf setByte(int index, |
| int value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setByte</code> in class <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 void setByte(int index, |
| byte b)</pre> |
| </li> |
| </ul> |
| <a name="writeByteUnsafe-byte-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeByteUnsafe</h4> |
| <pre>public void writeByteUnsafe(byte b)</pre> |
| </li> |
| </ul> |
| <a name="Z:Z_getByte-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>_getByte</h4> |
| <pre>protected byte _getByte(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>_getByte</code> in class <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 short _getShort(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>_getShort</code> in class <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 short _getShortLE(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>_getShortLE</code> in class <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 int _getInt(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>_getInt</code> in class <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 int _getIntLE(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>_getIntLE</code> in class <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 long _getLong(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>_getLong</code> in class <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 long _getLongLE(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>_getLongLE</code> in class <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 void _setByte(int index, |
| int value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>_setByte</code> in class <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 void _setShort(int index, |
| int value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>_setShort</code> in class <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 void _setShortLE(int index, |
| int value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>_setShortLE</code> in class <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 void _setMedium(int index, |
| int value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>_setMedium</code> in class <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 void _setMediumLE(int index, |
| int value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>_setMediumLE</code> in class <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 void _setInt(int index, |
| int value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>_setInt</code> in class <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 void _setIntLE(int index, |
| int value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>_setIntLE</code> in class <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 void _setLong(int index, |
| long value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>_setLong</code> in class <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 void _setLongLE(int index, |
| long value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>_setLongLE</code> in class <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 io.netty.buffer.ByteBuf getBytes(int index, |
| io.netty.buffer.ByteBuf dst, |
| int dstIndex, |
| int length)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>getBytes</code> in class <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 io.netty.buffer.ByteBuf getBytes(int 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> out, |
| int 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> in class <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 int getBytes(int 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> out, |
| long position, |
| int 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> in class <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 int _getUnsignedMedium(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>_getUnsignedMedium</code> in class <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 int _getUnsignedMediumLE(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>_getUnsignedMediumLE</code> in class <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 int getBytes(int 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> out, |
| int 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> in class <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 io.netty.buffer.ByteBuf setBytes(int index, |
| io.netty.buffer.ByteBuf src, |
| int srcIndex, |
| int length)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>setBytes</code> in class <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 io.netty.buffer.ByteBuf setBytes(int 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> src, |
| int srcIndex, |
| int length)</pre> |
| </li> |
| </ul> |
| <a name="setBytes-int-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBytes</h4> |
| <pre>public io.netty.buffer.ByteBuf setBytes(int index, |
| byte[] src, |
| int srcIndex, |
| int length)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>setBytes</code> in class <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 io.netty.buffer.ByteBuf setBytes(int 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> src)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>setBytes</code> in class <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 int setBytes(int 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> in, |
| int 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> in class <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 int setBytes(int 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> in, |
| int 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> in class <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 int setBytes(int 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> in, |
| long position, |
| int 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> in class <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 byte getByte(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getByte</code> in class <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 void 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> in interface <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 int 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 int 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 <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> toHexString(int start, |
| int 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 long 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 <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> 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 void 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> sb, |
| int indent, |
| <a href="../../../org/apache/drill/exec/memory/BaseAllocator.Verbosity.html" title="enum in org.apache.drill.exec.memory">BaseAllocator.Verbosity</a> verbosity)</pre> |
| </li> |
| </ul> |
| <a name="unsafeGetMemory-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>unsafeGetMemory</h4> |
| <pre>public byte[] unsafeGetMemory(int srcOffset, |
| int 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 short getShort(byte[] data, |
| int 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 int getInt(byte[] data, |
| int 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 long getLong(byte[] data, |
| int 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 void putShort(byte[] src, |
| int srcIndex, |
| byte[] dest, |
| int 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 void putInt(byte[] src, |
| int srcIndex, |
| byte[] dest, |
| int 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 void putLong(byte[] src, |
| int srcIndex, |
| byte[] dest, |
| int 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 void putShort(byte[] dest, |
| int destIndex, |
| short 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 void putInt(byte[] dest, |
| int destIndex, |
| int 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 void putLong(byte[] dest, |
| int destIndex, |
| long 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 Class</li> |
| <li><a href="../../../io/netty/buffer/DrillBuf.TransferResult.html" title="class in io.netty.buffer"><span class="typeNameLink">Next 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 Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |