blob: e5d0fb509e9d5eeccc2e50d1864882d470b19885 [file] [log] [blame]
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Uses of Class org.apache.hadoop.hbase.nio.ByteBuff (Apache HBase 4.0.0-alpha-1-SNAPSHOT API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="use: package: org.apache.hadoop.hbase.nio, class: ByteBuff">
<meta name="generator" content="javadoc/ClassUseWriter">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-use-page">
<script type="text/javascript">var pathtoroot = "../../../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../../../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">Class</a></li>
<li class="nav-bar-cell1-rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html#use">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<div class="header">
<h1 title="Uses of Class org.apache.hadoop.hbase.nio.ByteBuff" class="title">Uses of Class<br>org.apache.hadoop.hbase.nio.ByteBuff</h1>
</div>
<div class="caption"><span>Packages that use <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Package</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><a href="#org.apache.hadoop.hbase.codec">org.apache.hadoop.hbase.codec</a></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><a href="#org.apache.hadoop.hbase.io">org.apache.hadoop.hbase.io</a></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><a href="#org.apache.hadoop.hbase.io.encoding">org.apache.hadoop.hbase.io.encoding</a></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><a href="#org.apache.hadoop.hbase.io.hfile">org.apache.hadoop.hbase.io.hfile</a></div>
<div class="col-last odd-row-color">
<div class="block">Provides implementations of <a href="../../io/hfile/HFile.html" title="class in org.apache.hadoop.hbase.io.hfile"><code>HFile</code></a> and HFile
<a href="../../io/hfile/BlockCache.html" title="interface in org.apache.hadoop.hbase.io.hfile"><code>BlockCache</code></a>.</div>
</div>
<div class="col-first even-row-color"><a href="#org.apache.hadoop.hbase.io.hfile.bucket">org.apache.hadoop.hbase.io.hfile.bucket</a></div>
<div class="col-last even-row-color">
<div class="block">Provides <a href="../../io/hfile/bucket/BucketCache.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket"><code>BucketCache</code></a>, an implementation of
<a href="../../io/hfile/BlockCache.html" title="interface in org.apache.hadoop.hbase.io.hfile"><code>BlockCache</code></a>.</div>
</div>
<div class="col-first odd-row-color"><a href="#org.apache.hadoop.hbase.io.util">org.apache.hadoop.hbase.io.util</a></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><a href="#org.apache.hadoop.hbase.ipc">org.apache.hadoop.hbase.ipc</a></div>
<div class="col-last even-row-color">
<div class="block">Tools to help define network clients and servers.</div>
</div>
<div class="col-first odd-row-color"><a href="#org.apache.hadoop.hbase.nio">org.apache.hadoop.hbase.nio</a></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><a href="#org.apache.hadoop.hbase.regionserver.wal">org.apache.hadoop.hbase.regionserver.wal</a></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><a href="#org.apache.hadoop.hbase.util">org.apache.hadoop.hbase.util</a></div>
<div class="col-last odd-row-color">&nbsp;</div>
</div>
<section class="class-uses">
<ul class="block-list">
<li>
<section class="detail" id="org.apache.hadoop.hbase.codec">
<h2>Uses of <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a> in <a href="../../codec/package-summary.html">org.apache.hadoop.hbase.codec</a></h2>
<div class="caption"><span>Fields in <a href="../../codec/package-summary.html">org.apache.hadoop.hbase.codec</a> declared as <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Field</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>protected final <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">KeyValueCodec.ByteBuffKeyValueDecoder.</span><code><a href="../../codec/KeyValueCodec.ByteBuffKeyValueDecoder.html#buf" class="member-name-link">buf</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
<div class="caption"><span>Methods in <a href="../../codec/package-summary.html">org.apache.hadoop.hbase.codec</a> with parameters of type <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code><a href="../../codec/Codec.Decoder.html" title="interface in org.apache.hadoop.hbase.codec">Codec.Decoder</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">CellCodec.</span><code><a href="../../codec/CellCodec.html#getDecoder(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">getDecoder</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code><a href="../../codec/Codec.Decoder.html" title="interface in org.apache.hadoop.hbase.codec">Codec.Decoder</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">CellCodecWithTags.</span><code><a href="../../codec/CellCodecWithTags.html#getDecoder(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">getDecoder</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code><a href="../../codec/Codec.Decoder.html" title="interface in org.apache.hadoop.hbase.codec">Codec.Decoder</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Codec.</span><code><a href="../../codec/Codec.html#getDecoder(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">getDecoder</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code><a href="../../codec/Codec.Decoder.html" title="interface in org.apache.hadoop.hbase.codec">Codec.Decoder</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">KeyValueCodec.</span><code><a href="../../codec/KeyValueCodec.html#getDecoder(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">getDecoder</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code><a href="../../codec/Codec.Decoder.html" title="interface in org.apache.hadoop.hbase.codec">Codec.Decoder</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">KeyValueCodecWithTags.</span><code><a href="../../codec/KeyValueCodecWithTags.html#getDecoder(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">getDecoder</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code><a href="../../codec/Codec.Decoder.html" title="interface in org.apache.hadoop.hbase.codec">Codec.Decoder</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">MessageCodec.</span><code><a href="../../codec/MessageCodec.html#getDecoder(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">getDecoder</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
</div>
<div class="caption"><span>Constructors in <a href="../../codec/package-summary.html">org.apache.hadoop.hbase.codec</a> with parameters of type <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier</div>
<div class="table-header col-second">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../../codec/KeyValueCodec.ByteBuffKeyValueDecoder.html#%3Cinit%3E(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">ByteBuffKeyValueDecoder</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../../codec/KeyValueCodecWithTags.ByteBuffKeyValueDecoder.html#%3Cinit%3E(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">ByteBuffKeyValueDecoder</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.apache.hadoop.hbase.io">
<h2>Uses of <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a> in <a href="../../io/package-summary.html">org.apache.hadoop.hbase.io</a></h2>
<div class="caption"><span>Fields in <a href="../../io/package-summary.html">org.apache.hadoop.hbase.io</a> declared as <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Field</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>private <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBuffInputStream.</span><code><a href="../../io/ByteBuffInputStream.html#buf" class="member-name-link">buf</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
<div class="caption"><span>Methods in <a href="../../io/package-summary.html">org.apache.hadoop.hbase.io</a> that return <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code><a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBuffAllocator.</span><code><a href="../../io/ByteBuffAllocator.html#allocate(int)" class="member-name-link">allocate</a><wbr>(int&nbsp;size)</code></div>
<div class="col-last even-row-color">
<div class="block">Allocate size bytes from the ByteBufAllocator, Note to call the <a href="../ByteBuff.html#release()"><code>release()</code></a> if
no need any more, otherwise the memory leak happen in NIO ByteBuffer pool.</div>
</div>
</div>
<div class="caption"><span>Methods in <a href="../../io/package-summary.html">org.apache.hadoop.hbase.io</a> with parameters of type <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>void</code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteArrayOutputStream.</span><code><a href="../../io/ByteArrayOutputStream.html#toByteBuff(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">toByteBuff</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buff)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>int</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">TagCompressionContext.</span><code><a href="../../io/TagCompressionContext.html#uncompressTags(org.apache.hadoop.hbase.nio.ByteBuff,byte%5B%5D,int,int)" class="member-name-link">uncompressTags</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;src,
byte[]&nbsp;dest,
int&nbsp;offset,
int&nbsp;length)</code></div>
<div class="col-last odd-row-color">
<div class="block">Uncompress tags from the input ByteBuffer and writes to the destination array.</div>
</div>
</div>
<div class="caption"><span>Constructors in <a href="../../io/package-summary.html">org.apache.hadoop.hbase.io</a> with parameters of type <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier</div>
<div class="table-header col-second">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../../io/ByteBuffInputStream.html#%3Cinit%3E(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">ByteBuffInputStream</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.apache.hadoop.hbase.io.encoding">
<h2>Uses of <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a> in <a href="../../io/encoding/package-summary.html">org.apache.hadoop.hbase.io.encoding</a></h2>
<div class="caption"><span>Fields in <a href="../../io/encoding/package-summary.html">org.apache.hadoop.hbase.io.encoding</a> declared as <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Field</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>protected <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">BufferedDataBlockEncoder.BufferedEncodedSeeker.</span><code><a href="../../io/encoding/BufferedDataBlockEncoder.BufferedEncodedSeeker.html#currentBuffer" class="member-name-link">currentBuffer</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>protected <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BufferedDataBlockEncoder.SeekerState.</span><code><a href="../../io/encoding/BufferedDataBlockEncoder.SeekerState.html#currentBuffer" class="member-name-link">currentBuffer</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>private <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">RowIndexSeekerV1.</span><code><a href="../../io/encoding/RowIndexSeekerV1.html#currentBuffer" class="member-name-link">currentBuffer</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>protected <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">RowIndexSeekerV1.SeekerState.</span><code><a href="../../io/encoding/RowIndexSeekerV1.SeekerState.html#currentBuffer" class="member-name-link">currentBuffer</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>private <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">RowIndexSeekerV1.</span><code><a href="../../io/encoding/RowIndexSeekerV1.html#rowOffsets" class="member-name-link">rowOffsets</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
<div class="caption"><span>Methods in <a href="../../io/encoding/package-summary.html">org.apache.hadoop.hbase.io.encoding</a> with parameters of type <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code><a href="../../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">CopyKeyDataBlockEncoder.</span><code><a href="../../io/encoding/CopyKeyDataBlockEncoder.html#getFirstKeyCellInBlock(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">getFirstKeyCellInBlock</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;block)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code><a href="../../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">DataBlockEncoder.</span><code><a href="../../io/encoding/DataBlockEncoder.html#getFirstKeyCellInBlock(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">getFirstKeyCellInBlock</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;block)</code></div>
<div class="col-last odd-row-color">
<div class="block">Return first key in block as a cell.</div>
</div>
<div class="col-first even-row-color"><code><a href="../../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">DiffKeyDeltaEncoder.</span><code><a href="../../io/encoding/DiffKeyDeltaEncoder.html#getFirstKeyCellInBlock(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">getFirstKeyCellInBlock</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;block)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code><a href="../../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">FastDiffDeltaEncoder.</span><code><a href="../../io/encoding/FastDiffDeltaEncoder.html#getFirstKeyCellInBlock(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">getFirstKeyCellInBlock</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;block)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code><a href="../../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PrefixKeyDeltaEncoder.</span><code><a href="../../io/encoding/PrefixKeyDeltaEncoder.html#getFirstKeyCellInBlock(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">getFirstKeyCellInBlock</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;block)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code><a href="../../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">RowIndexCodecV1.</span><code><a href="../../io/encoding/RowIndexCodecV1.html#getFirstKeyCellInBlock(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">getFirstKeyCellInBlock</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;block)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>void</code></div>
<div class="col-second even-row-color"><span class="type-name-label">HFileBlockDecodingContext.</span><code><a href="../../io/encoding/HFileBlockDecodingContext.html#prepareDecoding(int,int,org.apache.hadoop.hbase.nio.ByteBuff,org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">prepareDecoding</a><wbr>(int&nbsp;onDiskSizeWithoutHeader,
int&nbsp;uncompressedSizeWithoutHeader,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;blockBufferWithoutHeader,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;onDiskBlock)</code></div>
<div class="col-last even-row-color">
<div class="block">Perform all actions that need to be done before the encoder's real decoding process.</div>
</div>
<div class="col-first odd-row-color"><code>void</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">HFileBlockDefaultDecodingContext.</span><code><a href="../../io/encoding/HFileBlockDefaultDecodingContext.html#prepareDecoding(int,int,org.apache.hadoop.hbase.nio.ByteBuff,org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">prepareDecoding</a><wbr>(int&nbsp;onDiskSizeWithoutHeader,
int&nbsp;uncompressedSizeWithoutHeader,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;blockBufferWithoutHeader,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;onDiskBlock)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>void</code></div>
<div class="col-second even-row-color"><span class="type-name-label">BufferedDataBlockEncoder.BufferedEncodedSeeker.</span><code><a href="../../io/encoding/BufferedDataBlockEncoder.BufferedEncodedSeeker.html#setCurrentBuffer(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">setCurrentBuffer</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buffer)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>void</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">DataBlockEncoder.EncodedSeeker.</span><code><a href="../../io/encoding/DataBlockEncoder.EncodedSeeker.html#setCurrentBuffer(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">setCurrentBuffer</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buffer)</code></div>
<div class="col-last odd-row-color">
<div class="block">Set on which buffer there will be done seeking.</div>
</div>
<div class="col-first even-row-color"><code>void</code></div>
<div class="col-second even-row-color"><span class="type-name-label">RowIndexSeekerV1.</span><code><a href="../../io/encoding/RowIndexSeekerV1.html#setCurrentBuffer(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">setCurrentBuffer</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buffer)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.apache.hadoop.hbase.io.hfile">
<h2>Uses of <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a> in <a href="../../io/hfile/package-summary.html">org.apache.hadoop.hbase.io.hfile</a></h2>
<div class="caption"><span>Fields in <a href="../../io/hfile/package-summary.html">org.apache.hadoop.hbase.io.hfile</a> declared as <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Field</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>private <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">HFileReaderImpl.HFileScannerImpl.</span><code><a href="../../io/hfile/HFileReaderImpl.HFileScannerImpl.html#blockBuffer" class="member-name-link">blockBuffer</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>(package private) final <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">HFileBlock.PrefetchedHeader.</span><code><a href="../../io/hfile/HFileBlock.PrefetchedHeader.html#buf" class="member-name-link">buf</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>private <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">HFileBlockBuilder.</span><code><a href="../../io/hfile/HFileBlockBuilder.html#buf" class="member-name-link">buf</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>private <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">HFileBlock.</span><code><a href="../../io/hfile/HFileBlock.html#bufWithoutChecksum" class="member-name-link">bufWithoutChecksum</a></code></div>
<div class="col-last odd-row-color">
<div class="block">The in-memory representation of the hfile block.</div>
</div>
</div>
<div class="caption"><span>Methods in <a href="../../io/hfile/package-summary.html">org.apache.hadoop.hbase.io.hfile</a> that return <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>private <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">HFileBlock.FSReaderImpl.</span><code><a href="../../io/hfile/HFileBlock.FSReaderImpl.html#allocate(int,boolean)" class="member-name-link">allocate</a><wbr>(int&nbsp;size,
boolean&nbsp;intoHeap)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>private <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">HFileBlock.</span><code><a href="../../io/hfile/HFileBlock.html#allocateBufferForUnpacking()" class="member-name-link">allocateBufferForUnpacking</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Always allocates a new buffer of the correct size.</div>
</div>
<div class="col-first even-row-color"><code>private <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">HFileBlock.Writer.</span><code><a href="../../io/hfile/HFileBlock.Writer.html#cloneOnDiskBufferWithHeader()" class="member-name-link">cloneOnDiskBufferWithHeader</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Clones the header followed by the on-disk (compressed/encoded/encrypted) data.</div>
</div>
<div class="col-first odd-row-color"><code>(package private) <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">HFileBlock.Writer.</span><code><a href="../../io/hfile/HFileBlock.Writer.html#cloneUncompressedBufferWithHeader()" class="member-name-link">cloneUncompressedBufferWithHeader</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Clones the header followed by the uncompressed data, even if using compression.</div>
</div>
<div class="col-first even-row-color"><code><a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">HFileBlock.</span><code><a href="../../io/hfile/HFileBlock.html#getBufferReadOnly()" class="member-name-link">getBufferReadOnly</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Returns a read-only duplicate of the buffer this block stores internally ready to be read.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">HFileBlock.</span><code><a href="../../io/hfile/HFileBlock.html#getBufferWithoutHeader()" class="member-name-link">getBufferWithoutHeader</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns a buffer that does not include the header and checksum.</div>
</div>
<div class="col-first even-row-color"><code>private <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">HFileBlock.FSReaderImpl.</span><code><a href="../../io/hfile/HFileBlock.FSReaderImpl.html#getCachedHeader(long)" class="member-name-link">getCachedHeader</a><wbr>(long&nbsp;offset)</code></div>
<div class="col-last even-row-color">
<div class="block">Check atomic reference cache for this block's header.</div>
</div>
<div class="col-first odd-row-color"><code>private <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">HFileReaderImpl.EncodedScanner.</span><code><a href="../../io/hfile/HFileReaderImpl.EncodedScanner.html#getEncodedBuffer(org.apache.hadoop.hbase.io.hfile.HFileBlock)" class="member-name-link">getEncodedBuffer</a><wbr>(<a href="../../io/hfile/HFileBlock.html" title="class in org.apache.hadoop.hbase.io.hfile">HFileBlock</a>&nbsp;newBlock)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
</div>
<div class="caption"><span>Methods in <a href="../../io/hfile/package-summary.html">org.apache.hadoop.hbase.io.hfile</a> with parameters of type <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>(package private) static int</code></div>
<div class="col-second even-row-color"><span class="type-name-label">HFileBlockIndex.BlockIndexReader.</span><code><a href="../../io/hfile/HFileBlockIndex.BlockIndexReader.html#binarySearchNonRootIndex(org.apache.hadoop.hbase.Cell,org.apache.hadoop.hbase.nio.ByteBuff,org.apache.hadoop.hbase.CellComparator)" class="member-name-link">binarySearchNonRootIndex</a><wbr>(<a href="../../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;key,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;nonRootIndex,
<a href="../../CellComparator.html" title="interface in org.apache.hadoop.hbase">CellComparator</a>&nbsp;comparator)</code></div>
<div class="col-last even-row-color">
<div class="block">Performs a binary search over a non-root level index block.</div>
</div>
<div class="col-first odd-row-color"><code>private void</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">HFileBlock.FSReaderImpl.</span><code><a href="../../io/hfile/HFileBlock.FSReaderImpl.html#cacheNextBlockHeader(long,org.apache.hadoop.hbase.nio.ByteBuff,int,int)" class="member-name-link">cacheNextBlockHeader</a><wbr>(long&nbsp;offset,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;onDiskBlock,
int&nbsp;onDiskSizeWithHeader,
int&nbsp;headerLength)</code></div>
<div class="col-last odd-row-color">
<div class="block">Save away the next blocks header in atomic reference.</div>
</div>
<div class="col-first even-row-color"><code>boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">CompoundBloomFilter.</span><code><a href="../../io/hfile/CompoundBloomFilter.html#contains(byte%5B%5D,int,int,org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">contains</a><wbr>(byte[]&nbsp;key,
int&nbsp;keyOffset,
int&nbsp;keyLength,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;bloom)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>boolean</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">CompoundBloomFilter.</span><code><a href="../../io/hfile/CompoundBloomFilter.html#contains(org.apache.hadoop.hbase.Cell,org.apache.hadoop.hbase.nio.ByteBuff,org.apache.hadoop.hbase.regionserver.BloomType)" class="member-name-link">contains</a><wbr>(<a href="../../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;keyCell,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;bloom,
<a href="../../regionserver/BloomType.html" title="enum class in org.apache.hadoop.hbase.regionserver">BloomType</a>&nbsp;type)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>private boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">CompoundBloomFilter.</span><code><a href="../../io/hfile/CompoundBloomFilter.html#containsInternal(byte%5B%5D,int,int,org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">containsInternal</a><wbr>(byte[]&nbsp;key,
int&nbsp;keyOffset,
int&nbsp;keyLength,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;bloom)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>private boolean</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">CompoundBloomFilter.</span><code><a href="../../io/hfile/CompoundBloomFilter.html#containsInternal(org.apache.hadoop.hbase.Cell,org.apache.hadoop.hbase.nio.ByteBuff,org.apache.hadoop.hbase.regionserver.BloomType)" class="member-name-link">containsInternal</a><wbr>(<a href="../../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;keyCell,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;bloom,
<a href="../../regionserver/BloomType.html" title="enum class in org.apache.hadoop.hbase.regionserver">BloomType</a>&nbsp;type)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>private static <a href="../../io/hfile/HFileBlockBuilder.html" title="class in org.apache.hadoop.hbase.io.hfile">HFileBlockBuilder</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">HFileBlock.</span><code><a href="../../io/hfile/HFileBlock.html#createBuilder(org.apache.hadoop.hbase.io.hfile.HFileBlock,org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">createBuilder</a><wbr>(<a href="../../io/hfile/HFileBlock.html" title="class in org.apache.hadoop.hbase.io.hfile">HFileBlock</a>&nbsp;blk,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;newBuff)</code></div>
<div class="col-last even-row-color">
<div class="block">Creates a new HFileBlockBuilder from the existing block and a new ByteBuff.</div>
</div>
<div class="col-first odd-row-color"><code>(package private) static <a href="../../io/hfile/HFileBlock.html" title="class in org.apache.hadoop.hbase.io.hfile">HFileBlock</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">HFileBlock.</span><code><a href="../../io/hfile/HFileBlock.html#createFromBuff(org.apache.hadoop.hbase.nio.ByteBuff,boolean,long,int,org.apache.hadoop.hbase.io.hfile.HFileContext,org.apache.hadoop.hbase.io.ByteBuffAllocator)" class="member-name-link">createFromBuff</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf,
boolean&nbsp;usesHBaseChecksum,
long&nbsp;offset,
int&nbsp;nextBlockOnDiskSize,
<a href="../../io/hfile/HFileContext.html" title="class in org.apache.hadoop.hbase.io.hfile">HFileContext</a>&nbsp;fileContext,
<a href="../../io/ByteBuffAllocator.html" title="class in org.apache.hadoop.hbase.io">ByteBuffAllocator</a>&nbsp;allocator)</code></div>
<div class="col-last odd-row-color">
<div class="block">Creates a block from an existing buffer starting with a header.</div>
</div>
<div class="col-first even-row-color"><code><a href="../../io/hfile/CacheableDeserializer.html" title="type parameter in CacheableDeserializer">T</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">CacheableDeserializer.</span><code><a href="../../io/hfile/CacheableDeserializer.html#deserialize(org.apache.hadoop.hbase.nio.ByteBuff,org.apache.hadoop.hbase.io.ByteBuffAllocator)" class="member-name-link">deserialize</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;b,
<a href="../../io/ByteBuffAllocator.html" title="class in org.apache.hadoop.hbase.io">ByteBuffAllocator</a>&nbsp;allocator)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code><a href="../../io/hfile/HFileBlock.html" title="class in org.apache.hadoop.hbase.io.hfile">HFileBlock</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">HFileBlock.BlockDeserializer.</span><code><a href="../../io/hfile/HFileBlock.BlockDeserializer.html#deserialize(org.apache.hadoop.hbase.nio.ByteBuff,org.apache.hadoop.hbase.io.ByteBuffAllocator)" class="member-name-link">deserialize</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf,
<a href="../../io/ByteBuffAllocator.html" title="class in org.apache.hadoop.hbase.io">ByteBuffAllocator</a>&nbsp;alloc)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>private int</code></div>
<div class="col-second even-row-color"><span class="type-name-label">HFileBlock.FSReaderImpl.</span><code><a href="../../io/hfile/HFileBlock.FSReaderImpl.html#getNextBlockOnDiskSize(org.apache.hadoop.hbase.nio.ByteBuff,int)" class="member-name-link">getNextBlockOnDiskSize</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;onDiskBlock,
int&nbsp;onDiskSizeWithHeader)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>(package private) static byte[]</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">HFileBlockIndex.BlockIndexReader.</span><code><a href="../../io/hfile/HFileBlockIndex.BlockIndexReader.html#getNonRootIndexedKey(org.apache.hadoop.hbase.nio.ByteBuff,int)" class="member-name-link">getNonRootIndexedKey</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;nonRootIndex,
int&nbsp;i)</code></div>
<div class="col-last odd-row-color">
<div class="block">The indexed key at the ith position in the nonRootIndex.</div>
</div>
<div class="col-first even-row-color"><code>private static int</code></div>
<div class="col-second even-row-color"><span class="type-name-label">HFileBlock.</span><code><a href="../../io/hfile/HFileBlock.html#getOnDiskSizeWithHeader(org.apache.hadoop.hbase.nio.ByteBuff,boolean)" class="member-name-link">getOnDiskSizeWithHeader</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;headerBuf,
boolean&nbsp;checksumSupport)</code></div>
<div class="col-last even-row-color">
<div class="block">Parse total on disk size including header and checksum.</div>
</div>
<div class="col-first odd-row-color"><code>(package private) static int</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">HFileBlockIndex.BlockIndexReader.</span><code><a href="../../io/hfile/HFileBlockIndex.BlockIndexReader.html#locateNonRootIndexEntry(org.apache.hadoop.hbase.nio.ByteBuff,org.apache.hadoop.hbase.Cell,org.apache.hadoop.hbase.CellComparator)" class="member-name-link">locateNonRootIndexEntry</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;nonRootBlock,
<a href="../../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;key,
<a href="../../CellComparator.html" title="interface in org.apache.hadoop.hbase">CellComparator</a>&nbsp;comparator)</code></div>
<div class="col-last odd-row-color">
<div class="block">Search for one key using the secondary index in a non-root block.</div>
</div>
<div class="col-first even-row-color"><code>private void</code></div>
<div class="col-second even-row-color"><span class="type-name-label">HFileBlock.Writer.</span><code><a href="../../io/hfile/HFileBlock.Writer.html#putHeader(org.apache.hadoop.hbase.nio.ByteBuff,int,int,int)" class="member-name-link">putHeader</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buff,
int&nbsp;onDiskSize,
int&nbsp;uncompressedSize,
int&nbsp;onDiskDataSize)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>static <a href="../../io/hfile/BlockType.html" title="enum class in org.apache.hadoop.hbase.io.hfile">BlockType</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BlockType.</span><code><a href="../../io/hfile/BlockType.html#read(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">read</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>protected boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">HFileBlock.FSReaderImpl.</span><code><a href="../../io/hfile/HFileBlock.FSReaderImpl.html#readAtOffset(org.apache.hadoop.fs.FSDataInputStream,org.apache.hadoop.hbase.nio.ByteBuff,int,boolean,long,boolean)" class="member-name-link">readAtOffset</a><wbr>(org.apache.hadoop.fs.FSDataInputStream&nbsp;istream,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;dest,
int&nbsp;size,
boolean&nbsp;peekIntoNextBlock,
long&nbsp;fileOffset,
boolean&nbsp;pread)</code></div>
<div class="col-last even-row-color">
<div class="block">Does a positional read or a seek and read into the given byte buffer.</div>
</div>
<div class="col-first odd-row-color"><code>private static <a href="../../io/hfile/HFileBlock.html" title="class in org.apache.hadoop.hbase.io.hfile">HFileBlock</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">HFileBlock.</span><code><a href="../../io/hfile/HFileBlock.html#shallowClone(org.apache.hadoop.hbase.io.hfile.HFileBlock,org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">shallowClone</a><wbr>(<a href="../../io/hfile/HFileBlock.html" title="class in org.apache.hadoop.hbase.io.hfile">HFileBlock</a>&nbsp;blk,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;newBuf)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>(package private) static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">HFileBlock.</span><code><a href="../../io/hfile/HFileBlock.html#toStringHeader(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">toStringHeader</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last even-row-color">
<div class="block">Convert the contents of the block header into a human readable string.</div>
</div>
<div class="col-first odd-row-color"><code>(package private) static boolean</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ChecksumUtil.</span><code><a href="../../io/hfile/ChecksumUtil.html#validateChecksum(org.apache.hadoop.hbase.nio.ByteBuff,java.lang.String,long,int)" class="member-name-link">validateChecksum</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;pathName,
long&nbsp;offset,
int&nbsp;hdrSize)</code></div>
<div class="col-last odd-row-color">
<div class="block">Validates that the data in the specified HFileBlock matches the checksum.</div>
</div>
<div class="col-first even-row-color"><code>private boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">HFileBlock.FSReaderImpl.</span><code><a href="../../io/hfile/HFileBlock.FSReaderImpl.html#validateChecksum(long,org.apache.hadoop.hbase.nio.ByteBuff,int)" class="member-name-link">validateChecksum</a><wbr>(long&nbsp;offset,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;data,
int&nbsp;hdrSize)</code></div>
<div class="col-last even-row-color">
<div class="block">Generates the checksum for the header as well as the data and then validates it.</div>
</div>
<div class="col-first odd-row-color"><code>private static boolean</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ChecksumUtil.</span><code><a href="../../io/hfile/ChecksumUtil.html#verifyChunkedSums(org.apache.hadoop.util.DataChecksum,org.apache.hadoop.hbase.nio.ByteBuff,org.apache.hadoop.hbase.nio.ByteBuff,java.lang.String)" class="member-name-link">verifyChunkedSums</a><wbr>(org.apache.hadoop.util.DataChecksum&nbsp;dataChecksum,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;data,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;checksums,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;pathName)</code></div>
<div class="col-last odd-row-color">
<div class="block">Like the hadoop's <code>DataChecksum.verifyChunkedSums(ByteBuffer, ByteBuffer, String, long)</code>,
this method will also verify checksum of each chunk in data.</div>
</div>
<div class="col-first even-row-color"><code><a href="../../io/hfile/HFileBlockBuilder.html" title="class in org.apache.hadoop.hbase.io.hfile">HFileBlockBuilder</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">HFileBlockBuilder.</span><code><a href="../../io/hfile/HFileBlockBuilder.html#withByteBuff(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">withByteBuff</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>void</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BlockType.</span><code><a href="../../io/hfile/BlockType.html#write(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">write</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
</div>
<div class="caption"><span>Constructors in <a href="../../io/hfile/package-summary.html">org.apache.hadoop.hbase.io.hfile</a> with parameters of type <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier</div>
<div class="table-header col-second">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>(package private)</code></div>
<div class="col-second even-row-color"><code><a href="../../io/hfile/ExclusiveMemHFileBlock.html#%3Cinit%3E(org.apache.hadoop.hbase.io.hfile.BlockType,int,int,long,org.apache.hadoop.hbase.nio.ByteBuff,boolean,long,int,int,org.apache.hadoop.hbase.io.hfile.HFileContext,org.apache.hadoop.hbase.io.ByteBuffAllocator)" class="member-name-link">ExclusiveMemHFileBlock</a><wbr>(<a href="../../io/hfile/BlockType.html" title="enum class in org.apache.hadoop.hbase.io.hfile">BlockType</a>&nbsp;blockType,
int&nbsp;onDiskSizeWithoutHeader,
int&nbsp;uncompressedSizeWithoutHeader,
long&nbsp;prevBlockOffset,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf,
boolean&nbsp;fillHeader,
long&nbsp;offset,
int&nbsp;nextBlockOnDiskSize,
int&nbsp;onDiskDataSizeWithHeader,
<a href="../../io/hfile/HFileContext.html" title="class in org.apache.hadoop.hbase.io.hfile">HFileContext</a>&nbsp;fileContext,
<a href="../../io/ByteBuffAllocator.html" title="class in org.apache.hadoop.hbase.io">ByteBuffAllocator</a>&nbsp;alloc)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../../io/hfile/HFileBlock.html#%3Cinit%3E(org.apache.hadoop.hbase.io.hfile.BlockType,int,int,long,org.apache.hadoop.hbase.nio.ByteBuff,boolean,long,int,int,org.apache.hadoop.hbase.io.hfile.HFileContext,org.apache.hadoop.hbase.io.ByteBuffAllocator)" class="member-name-link">HFileBlock</a><wbr>(<a href="../../io/hfile/BlockType.html" title="enum class in org.apache.hadoop.hbase.io.hfile">BlockType</a>&nbsp;blockType,
int&nbsp;onDiskSizeWithoutHeader,
int&nbsp;uncompressedSizeWithoutHeader,
long&nbsp;prevBlockOffset,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf,
boolean&nbsp;fillHeader,
long&nbsp;offset,
int&nbsp;nextBlockOnDiskSize,
int&nbsp;onDiskDataSizeWithHeader,
<a href="../../io/hfile/HFileContext.html" title="class in org.apache.hadoop.hbase.io.hfile">HFileContext</a>&nbsp;fileContext,
<a href="../../io/ByteBuffAllocator.html" title="class in org.apache.hadoop.hbase.io">ByteBuffAllocator</a>&nbsp;allocator)</code></div>
<div class="col-last odd-row-color">
<div class="block">Creates a new <a href="../../io/hfile/HFile.html" title="class in org.apache.hadoop.hbase.io.hfile"><code>HFile</code></a> block from the given fields.</div>
</div>
<div class="col-first even-row-color"><code>(package private)</code></div>
<div class="col-second even-row-color"><code><a href="../../io/hfile/SharedMemHFileBlock.html#%3Cinit%3E(org.apache.hadoop.hbase.io.hfile.BlockType,int,int,long,org.apache.hadoop.hbase.nio.ByteBuff,boolean,long,int,int,org.apache.hadoop.hbase.io.hfile.HFileContext,org.apache.hadoop.hbase.io.ByteBuffAllocator)" class="member-name-link">SharedMemHFileBlock</a><wbr>(<a href="../../io/hfile/BlockType.html" title="enum class in org.apache.hadoop.hbase.io.hfile">BlockType</a>&nbsp;blockType,
int&nbsp;onDiskSizeWithoutHeader,
int&nbsp;uncompressedSizeWithoutHeader,
long&nbsp;prevBlockOffset,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf,
boolean&nbsp;fillHeader,
long&nbsp;offset,
int&nbsp;nextBlockOnDiskSize,
int&nbsp;onDiskDataSizeWithHeader,
<a href="../../io/hfile/HFileContext.html" title="class in org.apache.hadoop.hbase.io.hfile">HFileContext</a>&nbsp;fileContext,
<a href="../../io/ByteBuffAllocator.html" title="class in org.apache.hadoop.hbase.io">ByteBuffAllocator</a>&nbsp;alloc)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.apache.hadoop.hbase.io.hfile.bucket">
<h2>Uses of <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a> in <a href="../../io/hfile/bucket/package-summary.html">org.apache.hadoop.hbase.io.hfile.bucket</a></h2>
<div class="caption"><span>Methods in <a href="../../io/hfile/bucket/package-summary.html">org.apache.hadoop.hbase.io.hfile.bucket</a> with parameters of type <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>int</code></div>
<div class="col-second even-row-color"><span class="type-name-label">FileIOEngine.FileAccessor.</span><code><a href="../../io/hfile/bucket/FileIOEngine.FileAccessor.html#access(java.nio.channels.FileChannel,org.apache.hadoop.hbase.nio.ByteBuff,long)" class="member-name-link">access</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/channels/FileChannel.html" title="class or interface in java.nio.channels" class="external-link">FileChannel</a>&nbsp;fileChannel,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buff,
long&nbsp;accessOffset)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>int</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">FileIOEngine.FileReadAccessor.</span><code><a href="../../io/hfile/bucket/FileIOEngine.FileReadAccessor.html#access(java.nio.channels.FileChannel,org.apache.hadoop.hbase.nio.ByteBuff,long)" class="member-name-link">access</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/channels/FileChannel.html" title="class or interface in java.nio.channels" class="external-link">FileChannel</a>&nbsp;fileChannel,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buff,
long&nbsp;accessOffset)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>int</code></div>
<div class="col-second even-row-color"><span class="type-name-label">FileIOEngine.FileWriteAccessor.</span><code><a href="../../io/hfile/bucket/FileIOEngine.FileWriteAccessor.html#access(java.nio.channels.FileChannel,org.apache.hadoop.hbase.nio.ByteBuff,long)" class="member-name-link">access</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/channels/FileChannel.html" title="class or interface in java.nio.channels" class="external-link">FileChannel</a>&nbsp;fileChannel,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buff,
long&nbsp;accessOffset)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>private void</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">FileIOEngine.</span><code><a href="../../io/hfile/bucket/FileIOEngine.html#accessFile(org.apache.hadoop.hbase.io.hfile.bucket.FileIOEngine.FileAccessor,org.apache.hadoop.hbase.nio.ByteBuff,long)" class="member-name-link">accessFile</a><wbr>(<a href="../../io/hfile/bucket/FileIOEngine.FileAccessor.html" title="interface in org.apache.hadoop.hbase.io.hfile.bucket">FileIOEngine.FileAccessor</a>&nbsp;accessor,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buff,
long&nbsp;globalOffset)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>(package private) <a href="../../io/hfile/Cacheable.html" title="interface in org.apache.hadoop.hbase.io.hfile">Cacheable</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">BucketEntry.</span><code><a href="../../io/hfile/bucket/BucketEntry.html#wrapAsCacheable(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">wrapAsCacheable</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>void</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ByteBufferIOEngine.</span><code><a href="../../io/hfile/bucket/ByteBufferIOEngine.html#write(org.apache.hadoop.hbase.nio.ByteBuff,long)" class="member-name-link">write</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;src,
long&nbsp;offset)</code></div>
<div class="col-last odd-row-color">
<div class="block">Transfers data from the given <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio"><code>ByteBuff</code></a> to the buffer array.</div>
</div>
<div class="col-first even-row-color"><code>void</code></div>
<div class="col-second even-row-color"><span class="type-name-label">FileIOEngine.</span><code><a href="../../io/hfile/bucket/FileIOEngine.html#write(org.apache.hadoop.hbase.nio.ByteBuff,long)" class="member-name-link">write</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;srcBuff,
long&nbsp;offset)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>void</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">FileMmapIOEngine.</span><code><a href="../../io/hfile/bucket/FileMmapIOEngine.html#write(org.apache.hadoop.hbase.nio.ByteBuff,long)" class="member-name-link">write</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;srcBuffer,
long&nbsp;offset)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>void</code></div>
<div class="col-second even-row-color"><span class="type-name-label">IOEngine.</span><code><a href="../../io/hfile/bucket/IOEngine.html#write(org.apache.hadoop.hbase.nio.ByteBuff,long)" class="member-name-link">write</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;srcBuffer,
long&nbsp;offset)</code></div>
<div class="col-last even-row-color">
<div class="block">Transfers the data from the given MultiByteBuffer to IOEngine</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.apache.hadoop.hbase.io.util">
<h2>Uses of <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a> in <a href="../../io/util/package-summary.html">org.apache.hadoop.hbase.io.util</a></h2>
<div class="caption"><span>Methods in <a href="../../io/util/package-summary.html">org.apache.hadoop.hbase.io.util</a> with parameters of type <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>private static int</code></div>
<div class="col-second even-row-color"><span class="type-name-label">BlockIOUtils.</span><code><a href="../../io/util/BlockIOUtils.html#copyToByteBuff(byte%5B%5D,int,int,org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">copyToByteBuff</a><wbr>(byte[]&nbsp;buf,
int&nbsp;offset,
int&nbsp;len,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;out)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>static boolean</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BlockIOUtils.</span><code><a href="../../io/util/BlockIOUtils.html#preadWithExtra(org.apache.hadoop.hbase.nio.ByteBuff,org.apache.hadoop.fs.FSDataInputStream,long,int,int)" class="member-name-link">preadWithExtra</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buff,
org.apache.hadoop.fs.FSDataInputStream&nbsp;dis,
long&nbsp;position,
int&nbsp;necessaryLen,
int&nbsp;extraLen)</code></div>
<div class="col-last odd-row-color">
<div class="block">Read from an input stream at least <code>necessaryLen</code> and if possible,
<code>extraLen</code> also if available.</div>
</div>
<div class="col-first even-row-color"><code>static boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">BlockIOUtils.</span><code><a href="../../io/util/BlockIOUtils.html#preadWithExtra(org.apache.hadoop.hbase.nio.ByteBuff,org.apache.hadoop.fs.FSDataInputStream,long,int,int,boolean)" class="member-name-link">preadWithExtra</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buff,
org.apache.hadoop.fs.FSDataInputStream&nbsp;dis,
long&nbsp;position,
int&nbsp;necessaryLen,
int&nbsp;extraLen,
boolean&nbsp;readAllBytes)</code></div>
<div class="col-last even-row-color">
<div class="block">Read from an input stream at least <code>necessaryLen</code> and if possible,
<code>extraLen</code> also if available.</div>
</div>
<div class="col-first odd-row-color"><code>private static boolean</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BlockIOUtils.</span><code><a href="../../io/util/BlockIOUtils.html#preadWithExtraDirectly(org.apache.hadoop.hbase.nio.ByteBuff,org.apache.hadoop.fs.FSDataInputStream,long,int,int,boolean)" class="member-name-link">preadWithExtraDirectly</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buff,
org.apache.hadoop.fs.FSDataInputStream&nbsp;dis,
long&nbsp;position,
int&nbsp;necessaryLen,
int&nbsp;extraLen,
boolean&nbsp;readAllBytes)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>private static boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">BlockIOUtils.</span><code><a href="../../io/util/BlockIOUtils.html#preadWithExtraOnHeap(org.apache.hadoop.hbase.nio.ByteBuff,org.apache.hadoop.fs.FSDataInputStream,long,int,int,boolean)" class="member-name-link">preadWithExtraOnHeap</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buff,
org.apache.hadoop.fs.FSDataInputStream&nbsp;dis,
long&nbsp;position,
int&nbsp;necessaryLen,
int&nbsp;extraLen,
boolean&nbsp;readAllBytes)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>static void</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BlockIOUtils.</span><code><a href="../../io/util/BlockIOUtils.html#readFully(org.apache.hadoop.hbase.nio.ByteBuff,org.apache.hadoop.fs.FSDataInputStream,int)" class="member-name-link">readFully</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf,
org.apache.hadoop.fs.FSDataInputStream&nbsp;dis,
int&nbsp;length)</code></div>
<div class="col-last odd-row-color">
<div class="block">Read length bytes into ByteBuffers directly.</div>
</div>
<div class="col-first even-row-color"><code>static void</code></div>
<div class="col-second even-row-color"><span class="type-name-label">BlockIOUtils.</span><code><a href="../../io/util/BlockIOUtils.html#readFullyWithHeapBuffer(java.io.InputStream,org.apache.hadoop.hbase.nio.ByteBuff,int)" class="member-name-link">readFullyWithHeapBuffer</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/InputStream.html" title="class or interface in java.io" class="external-link">InputStream</a>&nbsp;in,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;out,
int&nbsp;length)</code></div>
<div class="col-last even-row-color">
<div class="block">Copying bytes from InputStream to <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio"><code>ByteBuff</code></a> by using an temporary heap byte[] (default
size is 1024 now).</div>
</div>
<div class="col-first odd-row-color"><code>static int</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">StreamUtils.</span><code><a href="../../io/util/StreamUtils.html#readRawVarint32(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">readRawVarint32</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;input)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>static boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">BlockIOUtils.</span><code><a href="../../io/util/BlockIOUtils.html#readWithExtra(org.apache.hadoop.hbase.nio.ByteBuff,org.apache.hadoop.fs.FSDataInputStream,int,int)" class="member-name-link">readWithExtra</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf,
org.apache.hadoop.fs.FSDataInputStream&nbsp;dis,
int&nbsp;necessaryLen,
int&nbsp;extraLen)</code></div>
<div class="col-last even-row-color">
<div class="block">Read bytes into ByteBuffers directly, those buffers either contains the extraLen bytes or only
contains necessaryLen bytes, which depends on how much bytes do the last time we read.</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.apache.hadoop.hbase.ipc">
<h2>Uses of <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a> in <a href="../../ipc/package-summary.html">org.apache.hadoop.hbase.ipc</a></h2>
<div class="caption"><span>Fields in <a href="../../ipc/package-summary.html">org.apache.hadoop.hbase.ipc</a> declared as <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Field</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>private <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">ServerRpcConnection.ByteBuffByteInput.</span><code><a href="../../ipc/ServerRpcConnection.ByteBuffByteInput.html#buf" class="member-name-link">buf</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>private <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">SimpleServerRpcConnection.</span><code><a href="../../ipc/SimpleServerRpcConnection.html#data" class="member-name-link">data</a></code></div>
<div class="col-last odd-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
&nbsp;</div>
</div>
<div class="caption"><span>Methods in <a href="../../ipc/package-summary.html">org.apache.hadoop.hbase.ipc</a> that return <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>private <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">CellBlockBuilder.</span><code><a href="../../ipc/CellBlockBuilder.html#decompress(org.apache.hadoop.io.compress.CompressionCodec,org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">decompress</a><wbr>(org.apache.hadoop.io.compress.CompressionCodec&nbsp;compressor,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;compressedCellBlock)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
<div class="caption"><span>Methods in <a href="../../ipc/package-summary.html">org.apache.hadoop.hbase.ipc</a> with parameters of type <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>protected int</code></div>
<div class="col-second even-row-color"><span class="type-name-label">SimpleServerRpcConnection.</span><code><a href="../../ipc/SimpleServerRpcConnection.html#channelDataRead(java.nio.channels.ReadableByteChannel,org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">channelDataRead</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/channels/ReadableByteChannel.html" title="class or interface in java.nio.channels" class="external-link">ReadableByteChannel</a>&nbsp;channel,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last even-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
&nbsp;</div>
<div class="col-first odd-row-color"><code><a href="../../ExtendedCellScanner.html" title="interface in org.apache.hadoop.hbase">ExtendedCellScanner</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">CellBlockBuilder.</span><code><a href="../../ipc/CellBlockBuilder.html#createCellScannerReusingBuffers(org.apache.hadoop.hbase.codec.Codec,org.apache.hadoop.io.compress.CompressionCodec,org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">createCellScannerReusingBuffers</a><wbr>(<a href="../../codec/Codec.html" title="interface in org.apache.hadoop.hbase.codec">Codec</a>&nbsp;codec,
org.apache.hadoop.io.compress.CompressionCodec&nbsp;compressor,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;cellBlock)</code></div>
<div class="col-last odd-row-color">
<div class="block">Create a cell scanner using an existing bytebuff.</div>
</div>
<div class="col-first even-row-color"><code>private org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream</code></div>
<div class="col-second even-row-color"><span class="type-name-label">ServerRpcConnection.</span><code><a href="../../ipc/ServerRpcConnection.html#createCis(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">createCis</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>private <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">CellBlockBuilder.</span><code><a href="../../ipc/CellBlockBuilder.html#decompress(org.apache.hadoop.io.compress.CompressionCodec,org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">decompress</a><wbr>(org.apache.hadoop.io.compress.CompressionCodec&nbsp;compressor,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;compressedCellBlock)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>private void</code></div>
<div class="col-second even-row-color"><span class="type-name-label">ServerRpcConnection.</span><code><a href="../../ipc/ServerRpcConnection.html#processConnectionHeader(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">processConnectionHeader</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>void</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ServerRpcConnection.</span><code><a href="../../ipc/ServerRpcConnection.html#processOneRpc(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">processOneRpc</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>protected void</code></div>
<div class="col-second even-row-color"><span class="type-name-label">ServerRpcConnection.</span><code><a href="../../ipc/ServerRpcConnection.html#processRequest(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">processRequest</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last even-row-color">
<div class="block">Has the request header and the request param and optionally encoded data buffer all in this one
array.</div>
</div>
<div class="col-first odd-row-color"><code>private void</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">SimpleServerRpcConnection.</span><code><a href="../../ipc/SimpleServerRpcConnection.html#saslReadAndProcess(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">saslReadAndProcess</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;saslToken)</code></div>
<div class="col-last odd-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
&nbsp;</div>
</div>
<div class="caption"><span>Constructors in <a href="../../ipc/package-summary.html">org.apache.hadoop.hbase.ipc</a> with parameters of type <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier</div>
<div class="table-header col-second">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>(package private)</code></div>
<div class="col-second even-row-color"><code><a href="../../ipc/ServerRpcConnection.ByteBuffByteInput.html#%3Cinit%3E(org.apache.hadoop.hbase.nio.ByteBuff,int)" class="member-name-link">ByteBuffByteInput</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf,
int&nbsp;length)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.apache.hadoop.hbase.nio">
<h2>Uses of <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a> in <a href="../package-summary.html">org.apache.hadoop.hbase.nio</a></h2>
<div class="caption"><span>Subclasses of <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a> in <a href="../package-summary.html">org.apache.hadoop.hbase.nio</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Class</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>class&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../MultiByteBuff.html" class="type-name-link" title="class in org.apache.hadoop.hbase.nio">MultiByteBuff</a></code></div>
<div class="col-last even-row-color">
<div class="block">Provides a unified view of all the underlying ByteBuffers and will look as if a bigger sequential
buffer.</div>
</div>
<div class="col-first odd-row-color"><code>class&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../SingleByteBuff.html" class="type-name-link" title="class in org.apache.hadoop.hbase.nio">SingleByteBuff</a></code></div>
<div class="col-last odd-row-color">
<div class="block">An implementation of ByteBuff where a single BB backs the BBI.</div>
</div>
</div>
<div class="caption"><span>Methods in <a href="../package-summary.html">org.apache.hadoop.hbase.nio</a> that return <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>abstract <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#duplicate()" class="member-name-link">duplicate</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Returns an ByteBuff which is a duplicate version of this ByteBuff.</div>
</div>
<div class="col-first odd-row-color"><code>abstract <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#limit(int)" class="member-name-link">limit</a><wbr>(int&nbsp;limit)</code></div>
<div class="col-last odd-row-color">
<div class="block">Marks the limit of this ByteBuff</div>
</div>
<div class="col-first even-row-color"><code>abstract <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#mark()" class="member-name-link">mark</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Marks the current position of the ByteBuff</div>
</div>
<div class="col-first odd-row-color"><code>abstract <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#moveBack(int)" class="member-name-link">moveBack</a><wbr>(int&nbsp;len)</code></div>
<div class="col-last odd-row-color">
<div class="block">Jumps back the current position of this ByteBuff by specified length.</div>
</div>
<div class="col-first even-row-color"><code>abstract <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#position(int)" class="member-name-link">position</a><wbr>(int&nbsp;position)</code></div>
<div class="col-last even-row-color">
<div class="block">Sets this ByteBuff's position to the given value.</div>
</div>
<div class="col-first odd-row-color"><code>abstract <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#put(byte)" class="member-name-link">put</a><wbr>(byte&nbsp;b)</code></div>
<div class="col-last odd-row-color">
<div class="block">Writes a byte to this ByteBuff at the current position and increments the position</div>
</div>
<div class="col-first even-row-color"><code>abstract <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#put(byte%5B%5D)" class="member-name-link">put</a><wbr>(byte[]&nbsp;src)</code></div>
<div class="col-last even-row-color">
<div class="block">Copies from the given byte[] to this ByteBuff</div>
</div>
<div class="col-first odd-row-color"><code>abstract <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#put(byte%5B%5D,int,int)" class="member-name-link">put</a><wbr>(byte[]&nbsp;src,
int&nbsp;offset,
int&nbsp;length)</code></div>
<div class="col-last odd-row-color">
<div class="block">Copies from the given byte[] to this ByteBuff</div>
</div>
<div class="col-first even-row-color"><code>abstract <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#put(int,byte)" class="member-name-link">put</a><wbr>(int&nbsp;index,
byte&nbsp;b)</code></div>
<div class="col-last even-row-color">
<div class="block">Writes a byte to this ByteBuff at the given index</div>
</div>
<div class="col-first odd-row-color"><code>abstract <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#put(int,org.apache.hadoop.hbase.nio.ByteBuff,int,int)" class="member-name-link">put</a><wbr>(int&nbsp;offset,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;src,
int&nbsp;srcOffset,
int&nbsp;length)</code></div>
<div class="col-last odd-row-color">
<div class="block">Copies the contents from the src ByteBuff to this ByteBuff.</div>
</div>
<div class="col-first even-row-color"><code>abstract <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#putInt(int)" class="member-name-link">putInt</a><wbr>(int&nbsp;value)</code></div>
<div class="col-last even-row-color">
<div class="block">Writes an int to this ByteBuff at its current position.</div>
</div>
<div class="col-first odd-row-color"><code>abstract <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#putLong(long)" class="member-name-link">putLong</a><wbr>(long&nbsp;value)</code></div>
<div class="col-last odd-row-color">
<div class="block">Writes a long to this ByteBuff at its current position.</div>
</div>
<div class="col-first even-row-color"><code>abstract <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#reset()" class="member-name-link">reset</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Similar to <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link"><code>ByteBuffer</code></a>.reset(), ensures that this ByteBuff is reset back to last marked
position.</div>
</div>
<div class="col-first odd-row-color"><code>abstract <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#rewind()" class="member-name-link">rewind</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Rewinds this ByteBuff and the position is set to 0</div>
</div>
<div class="col-first even-row-color"><code>abstract <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#skip(int)" class="member-name-link">skip</a><wbr>(int&nbsp;len)</code></div>
<div class="col-last even-row-color">
<div class="block">Jumps the current position of this ByteBuff by specified length.</div>
</div>
<div class="col-first odd-row-color"><code>abstract <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#slice()" class="member-name-link">slice</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns an ByteBuff which is a sliced version of this ByteBuff.</div>
</div>
<div class="col-first even-row-color"><code><a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#touch()" class="member-name-link">touch</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Calling this method in strategic locations where ByteBuffs are referenced may help diagnose
potential buffer leaks.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#touch(java.lang.Object)" class="member-name-link">touch</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;hint)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>static <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#wrap(java.nio.ByteBuffer)" class="member-name-link">wrap</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a>&nbsp;buffer)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>static <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#wrap(java.nio.ByteBuffer%5B%5D)" class="member-name-link">wrap</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a>[]&nbsp;buffers)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>static <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#wrap(java.nio.ByteBuffer%5B%5D,org.apache.hadoop.hbase.io.ByteBuffAllocator.Recycler)" class="member-name-link">wrap</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a>[]&nbsp;buffers,
<a href="../../io/ByteBuffAllocator.Recycler.html" title="interface in org.apache.hadoop.hbase.io">ByteBuffAllocator.Recycler</a>&nbsp;recycler)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>static <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#wrap(java.nio.ByteBuffer%5B%5D,org.apache.hadoop.hbase.nio.RefCnt)" class="member-name-link">wrap</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a>[]&nbsp;buffers,
<a href="../RefCnt.html" title="class in org.apache.hadoop.hbase.nio">RefCnt</a>&nbsp;refCnt)</code></div>
<div class="col-last odd-row-color">
<div class="block">In theory, the upstream should never construct an ByteBuff by passing an given refCnt, so
please don't use this public method in other place.</div>
</div>
<div class="col-first even-row-color"><code>private static <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#wrap(java.nio.ByteBuffer,org.apache.hadoop.hbase.nio.RefCnt)" class="member-name-link">wrap</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a>&nbsp;buffer,
<a href="../RefCnt.html" title="class in org.apache.hadoop.hbase.nio">RefCnt</a>&nbsp;refCnt)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>static <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#wrap(java.util.List)" class="member-name-link">wrap</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a>&gt;&nbsp;buffers)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>static <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#wrap(java.util.List,org.apache.hadoop.hbase.io.ByteBuffAllocator.Recycler)" class="member-name-link">wrap</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a>&gt;&nbsp;buffers,
<a href="../../io/ByteBuffAllocator.Recycler.html" title="interface in org.apache.hadoop.hbase.io">ByteBuffAllocator.Recycler</a>&nbsp;recycler)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>private static <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#wrap(java.util.List,org.apache.hadoop.hbase.nio.RefCnt)" class="member-name-link">wrap</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a>&gt;&nbsp;buffers,
<a href="../RefCnt.html" title="class in org.apache.hadoop.hbase.nio">RefCnt</a>&nbsp;refCnt)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
</div>
<div class="caption"><span>Methods in <a href="../package-summary.html">org.apache.hadoop.hbase.nio</a> with parameters of type <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>static int</code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#compareTo(org.apache.hadoop.hbase.nio.ByteBuff,int,int,org.apache.hadoop.hbase.nio.ByteBuff,int,int)" class="member-name-link">compareTo</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf1,
int&nbsp;o1,
int&nbsp;len1,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf2,
int&nbsp;o2,
int&nbsp;len2)</code></div>
<div class="col-last even-row-color">
<div class="block">Compares two ByteBuffs</div>
</div>
<div class="col-first odd-row-color"><code>private static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">MultiByteBuff.</span><code><a href="../MultiByteBuff.html#getItemByteBuffer(org.apache.hadoop.hbase.nio.ByteBuff,int)" class="member-name-link">getItemByteBuffer</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf,
int&nbsp;byteBufferIndex)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>private static int</code></div>
<div class="col-second even-row-color"><span class="type-name-label">MultiByteBuff.</span><code><a href="../MultiByteBuff.html#getItemByteBufferCount(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">getItemByteBufferCount</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>private static int</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">MultiByteBuff.</span><code><a href="../MultiByteBuff.html#getItemIndexForByteBuff(org.apache.hadoop.hbase.nio.ByteBuff,int,int)" class="member-name-link">getItemIndexForByteBuff</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;byteBuff,
int&nbsp;offset,
int&nbsp;length)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>private static int</code></div>
<div class="col-second even-row-color"><span class="type-name-label">MultiByteBuff.</span><code><a href="../MultiByteBuff.html#getRelativeOffsetForByteBuff(org.apache.hadoop.hbase.nio.ByteBuff,int,int)" class="member-name-link">getRelativeOffsetForByteBuff</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;byteBuff,
int&nbsp;globalOffset,
int&nbsp;itemIndex)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>abstract <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#put(int,org.apache.hadoop.hbase.nio.ByteBuff,int,int)" class="member-name-link">put</a><wbr>(int&nbsp;offset,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;src,
int&nbsp;srcOffset,
int&nbsp;length)</code></div>
<div class="col-last odd-row-color">
<div class="block">Copies the contents from the src ByteBuff to this ByteBuff.</div>
</div>
<div class="col-first even-row-color"><code><a href="../MultiByteBuff.html" title="class in org.apache.hadoop.hbase.nio">MultiByteBuff</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">MultiByteBuff.</span><code><a href="../MultiByteBuff.html#put(int,org.apache.hadoop.hbase.nio.ByteBuff,int,int)" class="member-name-link">put</a><wbr>(int&nbsp;destOffset,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;src,
int&nbsp;srcOffset,
int&nbsp;length)</code></div>
<div class="col-last even-row-color">
<div class="block">Copies from a src BB to this MBB.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../SingleByteBuff.html" title="class in org.apache.hadoop.hbase.nio">SingleByteBuff</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">SingleByteBuff.</span><code><a href="../SingleByteBuff.html#put(int,org.apache.hadoop.hbase.nio.ByteBuff,int,int)" class="member-name-link">put</a><wbr>(int&nbsp;offset,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;src,
int&nbsp;srcOffset,
int&nbsp;length)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>static int</code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#readCompressedInt(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">readCompressedInt</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last even-row-color">
<div class="block">Read integer from ByteBuff coded in 7 bits and increment position.</div>
</div>
<div class="col-first odd-row-color"><code>static long</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ByteBuff.</span><code><a href="../ByteBuff.html#readLong(org.apache.hadoop.hbase.nio.ByteBuff,int)" class="member-name-link">readLong</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;in,
int&nbsp;fitInBytes)</code></div>
<div class="col-last odd-row-color">
<div class="block">Read long which was written to fitInBytes bytes and increment position.</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.apache.hadoop.hbase.regionserver.wal">
<h2>Uses of <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a> in <a href="../../regionserver/wal/package-summary.html">org.apache.hadoop.hbase.regionserver.wal</a></h2>
<div class="caption"><span>Methods in <a href="../../regionserver/wal/package-summary.html">org.apache.hadoop.hbase.regionserver.wal</a> with parameters of type <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code><a href="../../codec/Codec.Decoder.html" title="interface in org.apache.hadoop.hbase.codec">Codec.Decoder</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">WALCellCodec.</span><code><a href="../../regionserver/wal/WALCellCodec.html#getDecoder(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">getDecoder</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.apache.hadoop.hbase.util">
<h2>Uses of <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a> in <a href="../../util/package-summary.html">org.apache.hadoop.hbase.util</a></h2>
<div class="caption"><span>Fields in <a href="../../util/package-summary.html">org.apache.hadoop.hbase.util</a> with type parameters of type <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Field</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>private static final <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/BiConsumer.html" title="class or interface in java.util.function" class="external-link">BiConsumer</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a>,<wbr><a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&gt;</code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBufferArray.</span><code><a href="../../util/ByteBufferArray.html#READER" class="member-name-link">READER</a></code></div>
<div class="col-last even-row-color">
<div class="block">Transfer bytes from source <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link"><code>ByteBuffer</code></a> to destination <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio"><code>ByteBuff</code></a>, Position of both
source and destination will be advanced.</div>
</div>
<div class="col-first odd-row-color"><code>private static final <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/BiConsumer.html" title="class or interface in java.util.function" class="external-link">BiConsumer</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a>,<wbr><a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&gt;</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ByteBufferArray.</span><code><a href="../../util/ByteBufferArray.html#WRITER" class="member-name-link">WRITER</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Transfer bytes from source <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio"><code>ByteBuff</code></a> to destination <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link"><code>ByteBuffer</code></a>.</div>
</div>
</div>
<div class="caption"><span>Methods in <a href="../../util/package-summary.html">org.apache.hadoop.hbase.util</a> with parameters of type <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>(package private) static boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">BloomFilterUtil.</span><code><a href="../../util/BloomFilterUtil.html#checkBit(int,org.apache.hadoop.hbase.nio.ByteBuff,int)" class="member-name-link">checkBit</a><wbr>(int&nbsp;pos,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;bloomBuf,
int&nbsp;bloomOffset)</code></div>
<div class="col-last even-row-color">
<div class="block">Check if bit at specified index is 1.</div>
</div>
<div class="col-first odd-row-color"><code>boolean</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BloomFilter.</span><code><a href="../../util/BloomFilter.html#contains(byte%5B%5D,int,int,org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">contains</a><wbr>(byte[]&nbsp;buf,
int&nbsp;offset,
int&nbsp;length,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;bloom)</code></div>
<div class="col-last odd-row-color">
<div class="block">Check if the specified key is contained in the bloom filter.</div>
</div>
<div class="col-first even-row-color"><code>boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">BloomFilter.</span><code><a href="../../util/BloomFilter.html#contains(org.apache.hadoop.hbase.Cell,org.apache.hadoop.hbase.nio.ByteBuff,org.apache.hadoop.hbase.regionserver.BloomType)" class="member-name-link">contains</a><wbr>(<a href="../../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;keyCell,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;bloom,
<a href="../../regionserver/BloomType.html" title="enum class in org.apache.hadoop.hbase.regionserver">BloomType</a>&nbsp;type)</code></div>
<div class="col-last even-row-color">
<div class="block">Check if the specified key is contained in the bloom filter.</div>
</div>
<div class="col-first odd-row-color"><code>static boolean</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BloomFilterUtil.</span><code><a href="../../util/BloomFilterUtil.html#contains(byte%5B%5D,int,int,org.apache.hadoop.hbase.nio.ByteBuff,int,int,org.apache.hadoop.hbase.util.Hash,int)" class="member-name-link">contains</a><wbr>(byte[]&nbsp;buf,
int&nbsp;offset,
int&nbsp;length,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;bloomBuf,
int&nbsp;bloomOffset,
int&nbsp;bloomSize,
<a href="../../util/Hash.html" title="class in org.apache.hadoop.hbase.util">Hash</a>&nbsp;hash,
int&nbsp;hashCount)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>static boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">BloomFilterUtil.</span><code><a href="../../util/BloomFilterUtil.html#contains(org.apache.hadoop.hbase.Cell,org.apache.hadoop.hbase.nio.ByteBuff,int,int,org.apache.hadoop.hbase.util.Hash,int,org.apache.hadoop.hbase.regionserver.BloomType)" class="member-name-link">contains</a><wbr>(<a href="../../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;cell,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;bloomBuf,
int&nbsp;bloomOffset,
int&nbsp;bloomSize,
<a href="../../util/Hash.html" title="class in org.apache.hadoop.hbase.util">Hash</a>&nbsp;hash,
int&nbsp;hashCount,
<a href="../../regionserver/BloomType.html" title="enum class in org.apache.hadoop.hbase.regionserver">BloomType</a>&nbsp;type)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>private static &lt;T&gt;&nbsp;boolean</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BloomFilterUtil.</span><code><a href="../../util/BloomFilterUtil.html#contains(org.apache.hadoop.hbase.nio.ByteBuff,int,int,org.apache.hadoop.hbase.util.Hash,int,org.apache.hadoop.hbase.util.HashKey)" class="member-name-link">contains</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;bloomBuf,
int&nbsp;bloomOffset,
int&nbsp;bloomSize,
<a href="../../util/Hash.html" title="class in org.apache.hadoop.hbase.util">Hash</a>&nbsp;hash,
int&nbsp;hashCount,
<a href="../../util/HashKey.html" title="class in org.apache.hadoop.hbase.util">HashKey</a>&lt;T&gt;&nbsp;hashKey)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>private int</code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBufferArray.</span><code><a href="../../util/ByteBufferArray.html#internalTransfer(long,org.apache.hadoop.hbase.nio.ByteBuff,java.util.function.BiConsumer)" class="member-name-link">internalTransfer</a><wbr>(long&nbsp;offset,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;b,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/BiConsumer.html" title="class or interface in java.util.function" class="external-link">BiConsumer</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a>,<wbr><a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&gt;&nbsp;transfer)</code></div>
<div class="col-last even-row-color">
<div class="block">Transferring all remaining bytes from b to the buffers array starting at offset, or
transferring bytes from the buffers array at offset to b until b is filled.</div>
</div>
<div class="col-first odd-row-color"><code>int</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ByteBufferArray.</span><code><a href="../../util/ByteBufferArray.html#read(long,org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">read</a><wbr>(long&nbsp;offset,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;dst)</code></div>
<div class="col-last odd-row-color">
<div class="block">Transfers bytes from this buffers array into the given destination <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio"><code>ByteBuff</code></a></div>
</div>
<div class="col-first even-row-color"><code>static long</code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBufferUtils.</span><code><a href="../../util/ByteBufferUtils.html#readVLong(org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">readVLong</a><wbr>(<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;buf)</code></div>
<div class="col-last even-row-color">
<div class="block">Similar to <code>WritableUtils.readVLong(java.io.DataInput)</code> but reads from a
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio"><code>ByteBuff</code></a>.</div>
</div>
<div class="col-first odd-row-color"><code>int</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">ByteBufferArray.</span><code><a href="../../util/ByteBufferArray.html#write(long,org.apache.hadoop.hbase.nio.ByteBuff)" class="member-name-link">write</a><wbr>(long&nbsp;offset,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;src)</code></div>
<div class="col-last odd-row-color">
<div class="block">Transfers bytes from the given source <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio"><code>ByteBuff</code></a> into this buffer array</div>
</div>
</div>
<div class="caption"><span>Method parameters in <a href="../../util/package-summary.html">org.apache.hadoop.hbase.util</a> with type arguments of type <a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>private int</code></div>
<div class="col-second even-row-color"><span class="type-name-label">ByteBufferArray.</span><code><a href="../../util/ByteBufferArray.html#internalTransfer(long,org.apache.hadoop.hbase.nio.ByteBuff,java.util.function.BiConsumer)" class="member-name-link">internalTransfer</a><wbr>(long&nbsp;offset,
<a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&nbsp;b,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/BiConsumer.html" title="class or interface in java.util.function" class="external-link">BiConsumer</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a>,<wbr><a href="../ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a>&gt;&nbsp;transfer)</code></div>
<div class="col-last even-row-color">
<div class="block">Transferring all remaining bytes from b to the buffers array starting at offset, or
transferring bytes from the buffers array at offset to b until b is filled.</div>
</div>
</div>
</section>
</li>
</ul>
</section>
</main>
<footer role="contentinfo">
<hr>
<p class="legal-copy"><small>Copyright &#169; 2007&#x2013;2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>