| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>ByteBufferKeyValue (Apache HBase 3.0.0-SNAPSHOT API)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="ByteBufferKeyValue (Apache HBase 3.0.0-SNAPSHOT API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ByteBufferKeyValue.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyOnlyKeyValue.html" title="class in org.apache.hadoop.hbase"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/hadoop/hbase/ByteBufferTag.html" title="class in org.apache.hadoop.hbase"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/hadoop/hbase/ByteBufferKeyValue.html" target="_top">Frames</a></li> |
| <li><a href="ByteBufferKeyValue.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.hadoop.hbase</div> |
| <h2 title="Class ByteBufferKeyValue" class="title">Class ByteBufferKeyValue</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">org.apache.hadoop.hbase.ByteBufferExtendedCell</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.hadoop.hbase.ByteBufferKeyValue</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>, <a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a>, <a href="../../../../org/apache/hadoop/hbase/io/HeapSize.html" title="interface in org.apache.hadoop.hbase.io">HeapSize</a>, <a href="../../../../org/apache/hadoop/hbase/RawCell.html" title="interface in org.apache.hadoop.hbase">RawCell</a></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><a href="../../../../org/apache/hadoop/hbase/regionserver/ByteBufferChunkKeyValue.html" title="class in org.apache.hadoop.hbase.regionserver">ByteBufferChunkKeyValue</a>, <a href="../../../../org/apache/hadoop/hbase/NoTagsByteBufferKeyValue.html" title="class in org.apache.hadoop.hbase">NoTagsByteBufferKeyValue</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>@InterfaceAudience.Private |
| public class <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.35">ByteBufferKeyValue</a> |
| extends <a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">ByteBufferExtendedCell</a></pre> |
| <div class="block">This Cell is an implementation of <a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase"><code>ByteBufferExtendedCell</code></a> where the data resides in |
| off heap/ on heap ByteBuffer</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.hadoop.hbase.Cell"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></h3> |
| <code><a href="../../../../org/apache/hadoop/hbase/Cell.Type.html" title="enum in org.apache.hadoop.hbase">Cell.Type</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#buf">buf</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#FIXED_OVERHEAD">FIXED_OVERHEAD</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#length">length</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#offset">offset</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#seqId">seqId</a></span></code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.hadoop.hbase.ExtendedCell"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a></h3> |
| <code><a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html#CELL_NOT_BASED_ON_CHUNK">CELL_NOT_BASED_ON_CHUNK</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.hadoop.hbase.RawCell"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/RawCell.html" title="interface in org.apache.hadoop.hbase">RawCell</a></h3> |
| <code><a href="../../../../org/apache/hadoop/hbase/RawCell.html#MAX_TAGS_LENGTH">MAX_TAGS_LENGTH</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#ByteBufferKeyValue-java.nio.ByteBuffer-int-int-">ByteBufferKeyValue</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> buf, |
| int offset, |
| int length)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#ByteBufferKeyValue-java.nio.ByteBuffer-int-int-long-">ByteBufferKeyValue</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> buf, |
| int offset, |
| int length, |
| long seqId)</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>private int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#calculateHashForKey-org.apache.hadoop.hbase.ByteBufferExtendedCell-">calculateHashForKey</a></span>(<a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">ByteBufferExtendedCell</a> cell)</code> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#deepClone--">deepClone</a></span>()</code> |
| <div class="block">Does a deep copy of the contents to a new memory area and returns it as a new cell.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#equals-java.lang.Object-">equals</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> other)</code> |
| <div class="block">Needed doing 'contains' on List.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getBuffer--">getBuffer</a></span>()</code> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getFamilyArray--">getFamilyArray</a></span>()</code> |
| <div class="block">Contiguous bytes composed of legal HDFS filename characters which may start at any index in the |
| containing array.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getFamilyByteBuffer--">getFamilyByteBuffer</a></span>()</code> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>byte</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getFamilyLength--">getFamilyLength</a></span>()</code> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>(package private) byte</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getFamilyLength-int-">getFamilyLength</a></span>(int famLenPos)</code> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>(package private) int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getFamilyLengthPosition--">getFamilyLengthPosition</a></span>()</code> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>(package private) int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getFamilyLengthPosition-int-">getFamilyLengthPosition</a></span>(int rowLength)</code> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getFamilyOffset--">getFamilyOffset</a></span>()</code> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getFamilyPosition--">getFamilyPosition</a></span>()</code> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getFamilyPosition-int-">getFamilyPosition</a></span>(int familyLengthPosition)</code> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>(package private) int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getKeyLength--">getKeyLength</a></span>()</code> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getOffset--">getOffset</a></span>()</code> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getQualifierArray--">getQualifierArray</a></span>()</code> |
| <div class="block">Contiguous raw bytes that may start at any index in the containing array.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getQualifierByteBuffer--">getQualifierByteBuffer</a></span>()</code> </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getQualifierLength--">getQualifierLength</a></span>()</code> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>(package private) int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getQualifierLength-int-int-int-">getQualifierLength</a></span>(int keyLength, |
| int rlength, |
| int flength)</code> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getQualifierOffset--">getQualifierOffset</a></span>()</code> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getQualifierPosition--">getQualifierPosition</a></span>()</code> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>(package private) int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getQualifierPosition-int-int-">getQualifierPosition</a></span>(int familyPosition, |
| int familyLength)</code> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getRowArray--">getRowArray</a></span>()</code> |
| <div class="block">Contiguous raw bytes that may start at any index in the containing array.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getRowByteBuffer--">getRowByteBuffer</a></span>()</code> </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>short</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getRowLength--">getRowLength</a></span>()</code> </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getRowOffset--">getRowOffset</a></span>()</code> </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getRowPosition--">getRowPosition</a></span>()</code> </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getSequenceId--">getSequenceId</a></span>()</code> |
| <div class="block">A region-specific unique monotonically increasing sequence ID given to each Cell.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getSerializedSize--">getSerializedSize</a></span>()</code> </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getSerializedSize-boolean-">getSerializedSize</a></span>(boolean withTags)</code> </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getTagsArray--">getTagsArray</a></span>()</code> |
| <div class="block">Contiguous raw bytes representing tags that may start at any index in the containing array.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getTagsByteBuffer--">getTagsByteBuffer</a></span>()</code> </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getTagsLength--">getTagsLength</a></span>()</code> |
| <div class="block">HBase internally uses 2 bytes to store tags length in Cell.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getTagsOffset--">getTagsOffset</a></span>()</code> </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getTagsPosition--">getTagsPosition</a></span>()</code> </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getTimestamp--">getTimestamp</a></span>()</code> </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>(package private) long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getTimestamp-int-">getTimestamp</a></span>(int keyLength)</code> </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>private int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getTimestampOffset--">getTimestampOffset</a></span>()</code> </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>private int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getTimestampOffset-int-">getTimestampOffset</a></span>(int keyLen)</code> </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>byte</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getTypeByte--">getTypeByte</a></span>()</code> </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>(package private) byte</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getTypeByte-int-">getTypeByte</a></span>(int keyLen)</code> </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getValueArray--">getValueArray</a></span>()</code> |
| <div class="block">Contiguous raw bytes that may start at any index in the containing array.</div> |
| </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getValueByteBuffer--">getValueByteBuffer</a></span>()</code> </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getValueLength--">getValueLength</a></span>()</code> </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getValueOffset--">getValueOffset</a></span>()</code> </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#getValuePosition--">getValuePosition</a></span>()</code> </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#hashCode--">hashCode</a></span>()</code> |
| <div class="block">In line with <a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#equals-java.lang.Object-"><code>equals(Object)</code></a>, only uses the key portion, not the value.</div> |
| </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#heapSize--">heapSize</a></span>()</code> </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#setSequenceId-long-">setSequenceId</a></span>(long seqId)</code> |
| <div class="block">Sets with the given seqId.</div> |
| </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#setTimestamp-byte:A-">setTimestamp</a></span>(byte[] ts)</code> |
| <div class="block">Sets with the given timestamp.</div> |
| </td> |
| </tr> |
| <tr id="i50" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#setTimestamp-long-">setTimestamp</a></span>(long ts)</code> |
| <div class="block">Sets with the given timestamp.</div> |
| </td> |
| </tr> |
| <tr id="i51" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#toString--">toString</a></span>()</code> </td> |
| </tr> |
| <tr id="i52" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#write-java.nio.ByteBuffer-int-">write</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> buf, |
| int offset)</code> |
| <div class="block">Write this Cell into the given buf's offset in a <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in org.apache.hadoop.hbase"><code>KeyValue</code></a> format.</div> |
| </td> |
| </tr> |
| <tr id="i53" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#write-java.io.OutputStream-boolean-">write</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| boolean withTags)</code> |
| <div class="block">Write this cell to an OutputStream in a <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in org.apache.hadoop.hbase"><code>KeyValue</code></a> format.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.ExtendedCell"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a></h3> |
| <code><a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html#getChunkId--">getChunkId</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.RawCell"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/RawCell.html" title="interface in org.apache.hadoop.hbase">RawCell</a></h3> |
| <code><a href="../../../../org/apache/hadoop/hbase/RawCell.html#checkForTagsLength-int-">checkForTagsLength</a>, <a href="../../../../org/apache/hadoop/hbase/RawCell.html#cloneTags--">cloneTags</a>, <a href="../../../../org/apache/hadoop/hbase/RawCell.html#getTag-byte-">getTag</a>, <a href="../../../../org/apache/hadoop/hbase/RawCell.html#getTags--">getTags</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.Cell"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></h3> |
| <code><a href="../../../../org/apache/hadoop/hbase/Cell.html#getType--">getType</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="buf"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buf</h4> |
| <pre>protected final <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.37">buf</a></pre> |
| </li> |
| </ul> |
| <a name="offset"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>offset</h4> |
| <pre>protected final int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.38">offset</a></pre> |
| </li> |
| </ul> |
| <a name="length"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>length</h4> |
| <pre>protected final int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.39">length</a></pre> |
| </li> |
| </ul> |
| <a name="seqId"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>seqId</h4> |
| <pre>private long <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.40">seqId</a></pre> |
| </li> |
| </ul> |
| <a name="FIXED_OVERHEAD"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>FIXED_OVERHEAD</h4> |
| <pre>public static final int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.42">FIXED_OVERHEAD</a></pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="ByteBufferKeyValue-java.nio.ByteBuffer-int-int-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ByteBufferKeyValue</h4> |
| <pre>public <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.45">ByteBufferKeyValue</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> buf, |
| int offset, |
| int length, |
| long seqId)</pre> |
| </li> |
| </ul> |
| <a name="ByteBufferKeyValue-java.nio.ByteBuffer-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ByteBufferKeyValue</h4> |
| <pre>public <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.52">ByteBufferKeyValue</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> buf, |
| int offset, |
| int length)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getBuffer--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBuffer</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.59">getBuffer</a>()</pre> |
| </li> |
| </ul> |
| <a name="getOffset--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOffset</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.64">getOffset</a>()</pre> |
| </li> |
| </ul> |
| <a name="getRowArray--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRowArray</h4> |
| <pre>public byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.69">getRowArray</a>()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/hadoop/hbase/Cell.html#getRowArray--">Cell</a></code></span></div> |
| <div class="block">Contiguous raw bytes that may start at any index in the containing array. Max length is |
| Short.MAX_VALUE which is 32,767 bytes.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The array containing the row bytes.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRowOffset--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRowOffset</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.74">getRowOffset</a>()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Array index of first row byte</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRowLength--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRowLength</h4> |
| <pre>public short <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.79">getRowLength</a>()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Number of row bytes. Must be < rowArray.length - offset.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFamilyArray--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFamilyArray</h4> |
| <pre>public byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.84">getFamilyArray</a>()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/hadoop/hbase/Cell.html#getFamilyArray--">Cell</a></code></span></div> |
| <div class="block">Contiguous bytes composed of legal HDFS filename characters which may start at any index in the |
| containing array. Max length is Byte.MAX_VALUE, which is 127 bytes.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the array containing the family bytes.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFamilyOffset--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFamilyOffset</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.89">getFamilyOffset</a>()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Array index of first family byte</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFamilyLength--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFamilyLength</h4> |
| <pre>public byte <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.94">getFamilyLength</a>()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Number of family bytes. Must be < familyArray.length - offset.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFamilyLengthPosition--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFamilyLengthPosition</h4> |
| <pre>int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.98">getFamilyLengthPosition</a>()</pre> |
| </li> |
| </ul> |
| <a name="getFamilyLengthPosition-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFamilyLengthPosition</h4> |
| <pre>int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.102">getFamilyLengthPosition</a>(int rowLength)</pre> |
| </li> |
| </ul> |
| <a name="getFamilyLength-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFamilyLength</h4> |
| <pre>byte <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.106">getFamilyLength</a>(int famLenPos)</pre> |
| </li> |
| </ul> |
| <a name="getQualifierArray--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getQualifierArray</h4> |
| <pre>public byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.111">getQualifierArray</a>()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/hadoop/hbase/Cell.html#getQualifierArray--">Cell</a></code></span></div> |
| <div class="block">Contiguous raw bytes that may start at any index in the containing array.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The array containing the qualifier bytes.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getQualifierOffset--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getQualifierOffset</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.116">getQualifierOffset</a>()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Array index of first qualifier byte</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getQualifierLength--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getQualifierLength</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.121">getQualifierLength</a>()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Number of qualifier bytes. Must be < qualifierArray.length - offset.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getQualifierLength-int-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getQualifierLength</h4> |
| <pre>int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.125">getQualifierLength</a>(int keyLength, |
| int rlength, |
| int flength)</pre> |
| </li> |
| </ul> |
| <a name="getTimestamp--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTimestamp</h4> |
| <pre>public long <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.130">getTimestamp</a>()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Long value representing time at which this cell was "Put" into the row. Typically |
| represents the time of insertion, but can be any value from 0 to Long.MAX_VALUE.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTimestamp-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTimestamp</h4> |
| <pre>long <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.134">getTimestamp</a>(int keyLength)</pre> |
| </li> |
| </ul> |
| <a name="getKeyLength--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getKeyLength</h4> |
| <pre>int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.139">getKeyLength</a>()</pre> |
| </li> |
| </ul> |
| <a name="getTimestampOffset-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTimestampOffset</h4> |
| <pre>private int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.143">getTimestampOffset</a>(int keyLen)</pre> |
| </li> |
| </ul> |
| <a name="getTypeByte--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTypeByte</h4> |
| <pre>public byte <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.148">getTypeByte</a>()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The byte representation of the KeyValue.TYPE of this cell: one of Put, Delete, etc</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTypeByte-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTypeByte</h4> |
| <pre>byte <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.152">getTypeByte</a>(int keyLen)</pre> |
| </li> |
| </ul> |
| <a name="getSequenceId--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSequenceId</h4> |
| <pre>public long <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.157">getSequenceId</a>()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html#getSequenceId--">ExtendedCell</a></code></span></div> |
| <div class="block">A region-specific unique monotonically increasing sequence ID given to each Cell. It always |
| exists for cells in the memstore but is not retained forever. It will be kept for |
| <a href="../../../../org/apache/hadoop/hbase/HConstants.html#KEEP_SEQID_PERIOD"><code>HConstants.KEEP_SEQID_PERIOD</code></a> days, but generally becomes irrelevant after the cell's |
| row is no longer involved in any operations that require strict consistency.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>seqId (always > 0 if exists), or 0 if it no longer exists</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSequenceId-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSequenceId</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.162">setSequenceId</a>(long seqId)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html#setSequenceId-long-">ExtendedCell</a></code></span></div> |
| <div class="block">Sets with the given seqId.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>seqId</code> - sequence ID</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getValueArray--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValueArray</h4> |
| <pre>public byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.167">getValueArray</a>()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/hadoop/hbase/Cell.html#getValueArray--">Cell</a></code></span></div> |
| <div class="block">Contiguous raw bytes that may start at any index in the containing array. Max length is |
| Integer.MAX_VALUE which is 2,147,483,647 bytes.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The array containing the value bytes.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getValueOffset--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValueOffset</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.172">getValueOffset</a>()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Array index of first value byte</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getValueLength--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValueLength</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.177">getValueLength</a>()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Number of value bytes. Must be < valueArray.length - offset.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTagsArray--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTagsArray</h4> |
| <pre>public byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.182">getTagsArray</a>()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html#getTagsArray--">ExtendedCell</a></code></span></div> |
| <div class="block">Contiguous raw bytes representing tags that may start at any index in the containing array.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the tags byte array</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTagsOffset--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTagsOffset</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.187">getTagsOffset</a>()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the first offset where the tags start in the Cell</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTagsLength--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTagsLength</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.192">getTagsLength</a>()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html#getTagsLength--">ExtendedCell</a></code></span></div> |
| <div class="block">HBase internally uses 2 bytes to store tags length in Cell. As the tags length is always a |
| non-negative number, to make good use of the sign bit, the max of tags length is defined 2 * |
| Short.MAX_VALUE + 1 = 65535. As a result, the return type is int, because a short is not |
| capable of handling that. Please note that even if the return type is int, the max tags length |
| is far less than Integer.MAX_VALUE.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the total length of the tags in the Cell.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRowByteBuffer--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRowByteBuffer</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.205">getRowByteBuffer</a>()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html#getRowByteBuffer--">getRowByteBuffer</a></code> in class <code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">ByteBufferExtendedCell</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> containing the row bytes.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRowPosition--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRowPosition</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.210">getRowPosition</a>()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html#getRowPosition--">getRowPosition</a></code> in class <code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">ByteBufferExtendedCell</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Position in the <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> where row bytes start</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFamilyByteBuffer--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFamilyByteBuffer</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.215">getFamilyByteBuffer</a>()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html#getFamilyByteBuffer--">getFamilyByteBuffer</a></code> in class <code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">ByteBufferExtendedCell</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> containing the column family bytes.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFamilyPosition--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFamilyPosition</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.220">getFamilyPosition</a>()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html#getFamilyPosition--">getFamilyPosition</a></code> in class <code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">ByteBufferExtendedCell</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Position in the <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> where column family bytes start</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFamilyPosition-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFamilyPosition</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.224">getFamilyPosition</a>(int familyLengthPosition)</pre> |
| </li> |
| </ul> |
| <a name="getQualifierByteBuffer--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getQualifierByteBuffer</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.229">getQualifierByteBuffer</a>()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html#getQualifierByteBuffer--">getQualifierByteBuffer</a></code> in class <code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">ByteBufferExtendedCell</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> containing the column qualifier bytes.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getQualifierPosition--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getQualifierPosition</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.234">getQualifierPosition</a>()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html#getQualifierPosition--">getQualifierPosition</a></code> in class <code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">ByteBufferExtendedCell</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Position in the <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> where column qualifier bytes start</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getQualifierPosition-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getQualifierPosition</h4> |
| <pre>int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.238">getQualifierPosition</a>(int familyPosition, |
| int familyLength)</pre> |
| </li> |
| </ul> |
| <a name="getValueByteBuffer--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValueByteBuffer</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.243">getValueByteBuffer</a>()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html#getValueByteBuffer--">getValueByteBuffer</a></code> in class <code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">ByteBufferExtendedCell</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> containing the value bytes.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getValuePosition--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValuePosition</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.248">getValuePosition</a>()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html#getValuePosition--">getValuePosition</a></code> in class <code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">ByteBufferExtendedCell</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Position in the <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> where value bytes start</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTagsByteBuffer--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTagsByteBuffer</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.253">getTagsByteBuffer</a>()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html#getTagsByteBuffer--">getTagsByteBuffer</a></code> in class <code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">ByteBufferExtendedCell</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> containing the tag bytes.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTagsPosition--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTagsPosition</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.258">getTagsPosition</a>()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html#getTagsPosition--">getTagsPosition</a></code> in class <code><a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">ByteBufferExtendedCell</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Position in the <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a> where tag bytes start</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="heapSize--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>heapSize</h4> |
| <pre>public long <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.267">heapSize</a>()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Approximate 'exclusive deep size' of implementing object. Includes |
| count of payload and hosting object sizings.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="write-java.io.OutputStream-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>write</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.275">write</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| boolean withTags) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html#write-java.io.OutputStream-boolean-">ExtendedCell</a></code></span></div> |
| <div class="block">Write this cell to an OutputStream in a <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in org.apache.hadoop.hbase"><code>KeyValue</code></a> format. |
| <br> KeyValue format <br> |
| <code><4 bytes keylength> <4 bytes valuelength> <2 bytes rowlength> |
| <row> <1 byte columnfamilylength> <columnfamily> <columnqualifier> |
| <8 bytes timestamp> <1 byte keytype> <value> <2 bytes tagslength> |
| <tags></code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>out</code> - Stream to which cell has to be written</dd> |
| <dd><code>withTags</code> - Whether to write tags.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>how many bytes are written.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSerializedSize-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSerializedSize</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.282">getSerializedSize</a>(boolean withTags)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>withTags</code> - Whether to write tags.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Bytes count required to serialize this Cell in a <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in org.apache.hadoop.hbase"><code>KeyValue</code></a> format. |
| <br> KeyValue format <br> |
| <code><4 bytes keylength> <4 bytes valuelength> <2 bytes rowlength> |
| <row> <1 byte columnfamilylength> <columnfamily> <columnqualifier> |
| <8 bytes timestamp> <1 byte keytype> <value> <2 bytes tagslength> |
| <tags></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSerializedSize--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSerializedSize</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.290">getSerializedSize</a>()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Serialized size (defaults to include tag length).</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="write-java.nio.ByteBuffer-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>write</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.295">write</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> buf, |
| int offset)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html#write-java.nio.ByteBuffer-int-">ExtendedCell</a></code></span></div> |
| <div class="block">Write this Cell into the given buf's offset in a <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in org.apache.hadoop.hbase"><code>KeyValue</code></a> format.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>buf</code> - The buffer where to write the Cell.</dd> |
| <dd><code>offset</code> - The offset within buffer, to write the Cell.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toString--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.300">toString</a>()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setTimestamp-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTimestamp</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.305">setTimestamp</a>(long ts) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html#setTimestamp-long-">ExtendedCell</a></code></span></div> |
| <div class="block">Sets with the given timestamp.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>ts</code> - timestamp</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTimestampOffset--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTimestampOffset</h4> |
| <pre>private int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.310">getTimestampOffset</a>()</pre> |
| </li> |
| </ul> |
| <a name="setTimestamp-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTimestamp</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.316">setTimestamp</a>(byte[] ts) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html#setTimestamp-byte:A-">ExtendedCell</a></code></span></div> |
| <div class="block">Sets with the given timestamp.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>ts</code> - buffer containing the timestamp value</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="deepClone--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deepClone</h4> |
| <pre>public <a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.322">deepClone</a>()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html#deepClone--">ExtendedCell</a></code></span></div> |
| <div class="block">Does a deep copy of the contents to a new memory area and returns it as a new cell.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The deep cloned cell</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="equals-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>equals</h4> |
| <pre>public boolean <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.334">equals</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> other)</pre> |
| <div class="block">Needed doing 'contains' on List. Only compares the key portion, not the value.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="hashCode--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hashCode</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.345">hashCode</a>()</pre> |
| <div class="block">In line with <a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#equals-java.lang.Object-"><code>equals(Object)</code></a>, only uses the key portion, not the value.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="calculateHashForKey-org.apache.hadoop.hbase.ByteBufferExtendedCell-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>calculateHashForKey</h4> |
| <pre>private int <a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.349">calculateHashForKey</a>(<a href="../../../../org/apache/hadoop/hbase/ByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">ByteBufferExtendedCell</a> cell)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ByteBufferKeyValue.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyOnlyKeyValue.html" title="class in org.apache.hadoop.hbase"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/hadoop/hbase/ByteBufferTag.html" title="class in org.apache.hadoop.hbase"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/hadoop/hbase/ByteBufferKeyValue.html" target="_top">Frames</a></li> |
| <li><a href="ByteBufferKeyValue.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2007–2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |