blob: 85f6104bcaab7405ecab243ffccee38e8ac01d79 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_201) on Thu Apr 11 20:05:13 EDT 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Key (Apache Accumulo Project 1.9.3 API)</title>
<meta name="date" content="2019-04-11">
<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="Key (Apache Accumulo Project 1.9.3 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":9,"i8":9,"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":9,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Key.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/accumulo/core/data/ConstraintViolationSummary.html" title="class in org.apache.accumulo.core.data"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/accumulo/core/data/KeyExtent.html" title="class in org.apache.accumulo.core.data"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/accumulo/core/data/Key.html" target="_top">Frames</a></li>
<li><a href="Key.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.accumulo.core.data</div>
<h2 title="Class Key" class="title">Class Key</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>org.apache.accumulo.core.data.Key</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;<a href="../../../../../org/apache/accumulo/core/data/Key.html" title="class in org.apache.accumulo.core.data">Key</a>&gt;, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable&lt;<a href="../../../../../org/apache/accumulo/core/data/Key.html" title="class in org.apache.accumulo.core.data">Key</a>&gt;</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">Key</span>
extends <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>
implements org.apache.hadoop.io.WritableComparable&lt;<a href="../../../../../org/apache/accumulo/core/data/Key.html" title="class in org.apache.accumulo.core.data">Key</a>&gt;, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a></pre>
<div class="block">This is the Key used to store and access individual values in Accumulo. A Key is a tuple composed
of a row, column family, column qualifier, column visibility, timestamp, and delete marker.
Keys are comparable and therefore have a sorted order defined by <a href="../../../../../org/apache/accumulo/core/data/Key.html#compareTo-org.apache.accumulo.core.data.Key-"><code>compareTo(Key)</code></a>.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#colFamily">colFamily</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#colQualifier">colQualifier</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#colVisibility">colVisibility</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#deleted">deleted</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#row">row</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#timestamp">timestamp</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key--">Key</a></span>()</code>
<div class="block">Creates a key with empty row, empty column family, empty column qualifier, empty column
visibility, timestamp <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a>, and delete marker false.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-">Key</a></span>(byte[]&nbsp;row)</code>
<div class="block">Creates a key with the specified row, empty column family, empty column qualifier, empty column
visibility, timestamp <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a>, and delete marker false.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-byte:A-">Key</a></span>(byte[]&nbsp;row,
byte[]&nbsp;cf)</code>
<div class="block">Creates a key with the specified row, the specified column family, empty column qualifier,
empty column visibility, timestamp <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a>, and delete marker false.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-byte:A-byte:A-">Key</a></span>(byte[]&nbsp;row,
byte[]&nbsp;cf,
byte[]&nbsp;cq)</code>
<div class="block">Creates a key with the specified row, the specified column family, the specified column
qualifier, empty column visibility, timestamp <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a>, and delete marker false.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-byte:A-byte:A-byte:A-">Key</a></span>(byte[]&nbsp;row,
byte[]&nbsp;cf,
byte[]&nbsp;cq,
byte[]&nbsp;cv)</code>
<div class="block">Creates a key with the specified row, the specified column family, the specified column
qualifier, the specified column visibility, timestamp <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a>, and delete marker
false.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-byte:A-byte:A-byte:A-long-">Key</a></span>(byte[]&nbsp;row,
byte[]&nbsp;colFamily,
byte[]&nbsp;colQualifier,
byte[]&nbsp;colVisibility,
long&nbsp;timestamp)</code>
<div class="block">Creates a key.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-byte:A-byte:A-byte:A-long-boolean-">Key</a></span>(byte[]&nbsp;row,
byte[]&nbsp;cf,
byte[]&nbsp;cq,
byte[]&nbsp;cv,
long&nbsp;ts,
boolean&nbsp;deleted)</code>
<div class="block">Creates a key.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-byte:A-byte:A-byte:A-long-boolean-boolean-">Key</a></span>(byte[]&nbsp;row,
byte[]&nbsp;cf,
byte[]&nbsp;cq,
byte[]&nbsp;cv,
long&nbsp;ts,
boolean&nbsp;deleted,
boolean&nbsp;copy)</code>
<div class="block">Creates a key.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-byte:A-byte:A-org.apache.accumulo.core.security.ColumnVisibility-long-">Key</a></span>(byte[]&nbsp;row,
byte[]&nbsp;cf,
byte[]&nbsp;cq,
<a href="../../../../../org/apache/accumulo/core/security/ColumnVisibility.html" title="class in org.apache.accumulo.core.security">ColumnVisibility</a>&nbsp;cv,
long&nbsp;ts)</code>
<div class="block">Creates a key with the specified row, the specified column family, the specified column
qualifier, the specified column visibility, the specified timestamp, and delete marker false.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-byte:A-byte:A-long-">Key</a></span>(byte[]&nbsp;row,
byte[]&nbsp;cf,
byte[]&nbsp;cq,
long&nbsp;ts)</code>
<div class="block">Creates a key with the specified row, the specified column family, the specified column
qualifier, empty column visibility, the specified timestamp, and delete marker false.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-int-int-byte:A-int-int-byte:A-int-int-byte:A-int-int-long-">Key</a></span>(byte[]&nbsp;row,
int&nbsp;rOff,
int&nbsp;rLen,
byte[]&nbsp;cf,
int&nbsp;cfOff,
int&nbsp;cfLen,
byte[]&nbsp;cq,
int&nbsp;cqOff,
int&nbsp;cqLen,
byte[]&nbsp;cv,
int&nbsp;cvOff,
int&nbsp;cvLen,
long&nbsp;ts)</code>
<div class="block">Creates a key.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-long-">Key</a></span>(byte[]&nbsp;row,
long&nbsp;ts)</code>
<div class="block">Creates a key with the specified row, empty column family, empty column qualifier, empty column
visibility, the specified timestamp, and delete marker false.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-java.lang.CharSequence-">Key</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;row)</code>
<div class="block">Converts CharSequence to Text and creates a Key using <a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-"><code>Key(Text)</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-java.lang.CharSequence-java.lang.CharSequence-">Key</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;row,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cf)</code>
<div class="block">Converts CharSequence to Text and creates a Key using <a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-"><code>Key(Text,Text)</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-java.lang.CharSequence-java.lang.CharSequence-java.lang.CharSequence-">Key</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;row,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cq)</code>
<div class="block">Converts CharSequence to Text and creates a Key using <a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-"><code>Key(Text,Text,Text)</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-java.lang.CharSequence-java.lang.CharSequence-java.lang.CharSequence-java.lang.CharSequence-">Key</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;row,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cq,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cv)</code>
<div class="block">Converts CharSequence to Text and creates a Key using <a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-"><code>Key(Text,Text,Text,Text)</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-java.lang.CharSequence-java.lang.CharSequence-java.lang.CharSequence-java.lang.CharSequence-long-">Key</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;row,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cq,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cv,
long&nbsp;ts)</code>
<div class="block">Converts CharSequence to Text and creates a Key using <a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-long-"><code>Key(Text,Text,Text,Text,long)</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-java.lang.CharSequence-java.lang.CharSequence-java.lang.CharSequence-org.apache.accumulo.core.security.ColumnVisibility-long-">Key</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;row,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cq,
<a href="../../../../../org/apache/accumulo/core/security/ColumnVisibility.html" title="class in org.apache.accumulo.core.security">ColumnVisibility</a>&nbsp;cv,
long&nbsp;ts)</code>
<div class="block">Converts CharSequence to Text and creates a Key using
<a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.accumulo.core.security.ColumnVisibility-long-"><code>Key(Text,Text,Text,ColumnVisibility,long)</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-java.lang.CharSequence-java.lang.CharSequence-java.lang.CharSequence-long-">Key</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;row,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cq,
long&nbsp;ts)</code>
<div class="block">Converts CharSequence to Text and creates a Key using <a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-long-"><code>Key(Text,Text,Text,long)</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.accumulo.core.data.Key-">Key</a></span>(<a href="../../../../../org/apache/accumulo/core/data/Key.html" title="class in org.apache.accumulo.core.data">Key</a>&nbsp;other)</code>
<div class="block">Creates a key with the same row, column family, column qualifier, column visibility, timestamp,
and delete marker as the given key.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-">Key</a></span>(org.apache.hadoop.io.Text&nbsp;row)</code>
<div class="block">Creates a key with the specified row, empty column family, empty column qualifier, empty column
visibility, timestamp <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a>, and delete marker false.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-long-">Key</a></span>(org.apache.hadoop.io.Text&nbsp;row,
long&nbsp;ts)</code>
<div class="block">Creates a key with the specified row, empty column family, empty column qualifier, empty column
visibility, the specified timestamp, and delete marker false.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-">Key</a></span>(org.apache.hadoop.io.Text&nbsp;row,
org.apache.hadoop.io.Text&nbsp;cf)</code>
<div class="block">Creates a key with the specified row, the specified column family, empty column qualifier,
empty column visibility, timestamp <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a>, and delete marker false.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-">Key</a></span>(org.apache.hadoop.io.Text&nbsp;row,
org.apache.hadoop.io.Text&nbsp;cf,
org.apache.hadoop.io.Text&nbsp;cq)</code>
<div class="block">Creates a key with the specified row, the specified column family, the specified column
qualifier, empty column visibility, timestamp <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a>, and delete marker false.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.accumulo.core.security.ColumnVisibility-long-">Key</a></span>(org.apache.hadoop.io.Text&nbsp;row,
org.apache.hadoop.io.Text&nbsp;cf,
org.apache.hadoop.io.Text&nbsp;cq,
<a href="../../../../../org/apache/accumulo/core/security/ColumnVisibility.html" title="class in org.apache.accumulo.core.security">ColumnVisibility</a>&nbsp;cv,
long&nbsp;ts)</code>
<div class="block">Creates a key with the specified row, the specified column family, the specified column
qualifier, the specified column visibility, the specified timestamp, and delete marker false.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-long-">Key</a></span>(org.apache.hadoop.io.Text&nbsp;row,
org.apache.hadoop.io.Text&nbsp;cf,
org.apache.hadoop.io.Text&nbsp;cq,
long&nbsp;ts)</code>
<div class="block">Creates a key with the specified row, the specified column family, the specified column
qualifier, empty column visibility, the specified timestamp, and delete marker false.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-">Key</a></span>(org.apache.hadoop.io.Text&nbsp;row,
org.apache.hadoop.io.Text&nbsp;cf,
org.apache.hadoop.io.Text&nbsp;cq,
org.apache.hadoop.io.Text&nbsp;cv)</code>
<div class="block">Creates a key with the specified row, the specified column family, the specified column
qualifier, the specified column visibility, timestamp <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a>, and delete marker
false.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-long-">Key</a></span>(org.apache.hadoop.io.Text&nbsp;row,
org.apache.hadoop.io.Text&nbsp;cf,
org.apache.hadoop.io.Text&nbsp;cq,
org.apache.hadoop.io.Text&nbsp;cv,
long&nbsp;ts)</code>
<div class="block">Creates a key with the specified row, the specified column family, the specified column
qualifier, the specified column visibility, the specified timestamp, and delete marker false.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.accumulo.core.data.thrift.TKey-">Key</a></span>(org.apache.accumulo.core.data.thrift.TKey&nbsp;tkey)</code>
<div class="block">Creates a key from Thrift.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#appendPrintableString-byte:A-int-int-int-java.lang.StringBuilder-">appendPrintableString</a></span>(byte[]&nbsp;ba,
int&nbsp;offset,
int&nbsp;len,
int&nbsp;maxLen,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb)</code>
<div class="block">Appends ASCII printable characters to a string, based on the given byte array, treating the
bytes as ASCII characters.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><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></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#clone--">clone</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#compareColumnFamily-org.apache.hadoop.io.Text-">compareColumnFamily</a></span>(org.apache.hadoop.io.Text&nbsp;cf)</code>
<div class="block">Compares this key's column family with another.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#compareColumnQualifier-org.apache.hadoop.io.Text-">compareColumnQualifier</a></span>(org.apache.hadoop.io.Text&nbsp;cq)</code>
<div class="block">Compares this key's column qualifier with another.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#compareRow-org.apache.hadoop.io.Text-">compareRow</a></span>(org.apache.hadoop.io.Text&nbsp;r)</code>
<div class="block">Compares this key's row ID with another.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#compareTo-org.apache.accumulo.core.data.Key-">compareTo</a></span>(<a href="../../../../../org/apache/accumulo/core/data/Key.html" title="class in org.apache.accumulo.core.data">Key</a>&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#compareTo-org.apache.accumulo.core.data.Key-org.apache.accumulo.core.data.PartialKey-">compareTo</a></span>(<a href="../../../../../org/apache/accumulo/core/data/Key.html" title="class in org.apache.accumulo.core.data">Key</a>&nbsp;other,
<a href="../../../../../org/apache/accumulo/core/data/PartialKey.html" title="enum in org.apache.accumulo.core.data">PartialKey</a>&nbsp;part)</code>
<div class="block">Compares elements of a key given by a <a href="../../../../../org/apache/accumulo/core/data/PartialKey.html" title="enum in org.apache.accumulo.core.data"><code>PartialKey</code></a>.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.accumulo.core.data.thrift.TKeyValue&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#compress-java.util.List-">compress</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../org/apache/accumulo/core/data/KeyValue.html" title="class in org.apache.accumulo.core.data">KeyValue</a>&gt;&nbsp;param)</code>
<div class="block">Compresses a list of key/value pairs before sending them via thrift.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#decompress-java.util.List-">decompress</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.accumulo.core.data.thrift.TKeyValue&gt;&nbsp;param)</code>
<div class="block">Decompresses a list of key/value pairs received from thrift.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#equals-org.apache.accumulo.core.data.Key-org.apache.accumulo.core.data.PartialKey-">equals</a></span>(<a href="../../../../../org/apache/accumulo/core/data/Key.html" title="class in org.apache.accumulo.core.data">Key</a>&nbsp;other,
<a href="../../../../../org/apache/accumulo/core/data/PartialKey.html" title="enum in org.apache.accumulo.core.data">PartialKey</a>&nbsp;part)</code>
<div class="block">Compares part of a key.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#equals-java.lang.Object-">equals</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/accumulo/core/data/Key.html" title="class in org.apache.accumulo.core.data">Key</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#followingKey-org.apache.accumulo.core.data.PartialKey-">followingKey</a></span>(<a href="../../../../../org/apache/accumulo/core/data/PartialKey.html" title="enum in org.apache.accumulo.core.data">PartialKey</a>&nbsp;part)</code>
<div class="block">Returns a key that will sort immediately after this key.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>org.apache.hadoop.io.Text</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#getColumnFamily--">getColumnFamily</a></span>()</code>
<div class="block">Gets the column family as a <code>Text</code> object.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>org.apache.hadoop.io.Text</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#getColumnFamily-org.apache.hadoop.io.Text-">getColumnFamily</a></span>(org.apache.hadoop.io.Text&nbsp;cf)</code>
<div class="block">Writes the column family into the given <code>Text</code>.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#getColumnFamilyData--">getColumnFamilyData</a></span>()</code>
<div class="block">Returns the column family as a byte sequence.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>org.apache.hadoop.io.Text</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#getColumnQualifier--">getColumnQualifier</a></span>()</code>
<div class="block">Gets the column qualifier as a <code>Text</code> object.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>org.apache.hadoop.io.Text</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#getColumnQualifier-org.apache.hadoop.io.Text-">getColumnQualifier</a></span>(org.apache.hadoop.io.Text&nbsp;cq)</code>
<div class="block">Writes the column qualifier into the given <code>Text</code>.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#getColumnQualifierData--">getColumnQualifierData</a></span>()</code>
<div class="block">Returns the column qualifier as a byte sequence.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>org.apache.hadoop.io.Text</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#getColumnVisibility--">getColumnVisibility</a></span>()</code>
<div class="block">Gets the column visibility as a <code>Text</code> object.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>org.apache.hadoop.io.Text</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#getColumnVisibility-org.apache.hadoop.io.Text-">getColumnVisibility</a></span>(org.apache.hadoop.io.Text&nbsp;cv)</code>
<div class="block">Writes the column visibvility into the given <code>Text</code>.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#getColumnVisibilityData--">getColumnVisibilityData</a></span>()</code>
<div class="block">Returns the column visibility as a byte sequence.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/accumulo/core/security/ColumnVisibility.html" title="class in org.apache.accumulo.core.security">ColumnVisibility</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#getColumnVisibilityParsed--">getColumnVisibilityParsed</a></span>()</code>
<div class="block">Gets the column visibility.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#getLength--">getLength</a></span>()</code>
<div class="block">Returns the sums of the lengths of the row, column family, column qualifier, and column
visibility.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>org.apache.hadoop.io.Text</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#getRow--">getRow</a></span>()</code>
<div class="block">Gets the row ID as a <code>Text</code> object.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>org.apache.hadoop.io.Text</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#getRow-org.apache.hadoop.io.Text-">getRow</a></span>(org.apache.hadoop.io.Text&nbsp;r)</code>
<div class="block">Writes the row ID into the given <code>Text</code>.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#getRowData--">getRowData</a></span>()</code>
<div class="block">Returns the row ID as a byte sequence.</div>
</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/accumulo/core/data/Key.html#getSize--">getSize</a></span>()</code>
<div class="block">Same as <a href="../../../../../org/apache/accumulo/core/data/Key.html#getLength--"><code>getLength()</code></a>.</div>
</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/accumulo/core/data/Key.html#getTimestamp--">getTimestamp</a></span>()</code>
<div class="block">Gets the timestamp.</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/accumulo/core/data/Key.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#isDeleted--">isDeleted</a></span>()</code>
<div class="block">Determines if this key is deleted (i.e., has a delete marker = true).</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#readFields-java.io.DataInput-">readFields</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</a>&nbsp;in)</code>&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#set-org.apache.accumulo.core.data.Key-">set</a></span>(<a href="../../../../../org/apache/accumulo/core/data/Key.html" title="class in org.apache.accumulo.core.data">Key</a>&nbsp;k)</code>
<div class="block">Sets this key's row, column family, column qualifier, column visibility, timestamp, and delete
marker to be the same as another key's.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#setDeleted-boolean-">setDeleted</a></span>(boolean&nbsp;deleted)</code>
<div class="block">Sets the delete marker on this key.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#setTimestamp-long-">setTimestamp</a></span>(long&nbsp;ts)</code>
<div class="block">Sets the timestamp.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#toPrintableString-byte:A-int-int-int-">toPrintableString</a></span>(byte[]&nbsp;ba,
int&nbsp;offset,
int&nbsp;len,
int&nbsp;maxLen)</code>
<div class="block">Returns an ASCII printable string form of the given byte array, treating the bytes as ASCII
characters.</div>
</td>
</tr>
<tr id="i35" 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/accumulo/core/data/Key.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#toStringNoTime--">toStringNoTime</a></span>()</code>
<div class="block">Converts this key to a string, not including timestamp or delete marker.</div>
</td>
</tr>
<tr id="i37" 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/accumulo/core/data/Key.html#toStringNoTruncate--">toStringNoTruncate</a></span>()</code>
<div class="block">Stringify this <a href="../../../../../org/apache/accumulo/core/data/Key.html" title="class in org.apache.accumulo.core.data"><code>Key</code></a>, avoiding truncation of each component, only limiting each component
to a length of <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Integer.MAX_VALUE</code></a></div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>org.apache.accumulo.core.data.thrift.TKey</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#toThrift--">toThrift</a></span>()</code>
<div class="block">Converts this key to Thrift.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Key.html#write-java.io.DataOutput-">write</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a>&nbsp;out)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="row">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>row</h4>
<pre>protected&nbsp;byte[] row</pre>
</li>
</ul>
<a name="colFamily">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>colFamily</h4>
<pre>protected&nbsp;byte[] colFamily</pre>
</li>
</ul>
<a name="colQualifier">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>colQualifier</h4>
<pre>protected&nbsp;byte[] colQualifier</pre>
</li>
</ul>
<a name="colVisibility">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>colVisibility</h4>
<pre>protected&nbsp;byte[] colVisibility</pre>
</li>
</ul>
<a name="timestamp">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>timestamp</h4>
<pre>protected&nbsp;long timestamp</pre>
</li>
</ul>
<a name="deleted">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>deleted</h4>
<pre>protected&nbsp;boolean deleted</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Key--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key()</pre>
<div class="block">Creates a key with empty row, empty column family, empty column qualifier, empty column
visibility, timestamp <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a>, and delete marker false.</div>
</li>
</ul>
<a name="Key-org.apache.hadoop.io.Text-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(org.apache.hadoop.io.Text&nbsp;row)</pre>
<div class="block">Creates a key with the specified row, empty column family, empty column qualifier, empty column
visibility, timestamp <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a>, and delete marker false.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - row ID</dd>
</dl>
</li>
</ul>
<a name="Key-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(byte[]&nbsp;row)</pre>
<div class="block">Creates a key with the specified row, empty column family, empty column qualifier, empty column
visibility, timestamp <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a>, and delete marker false. This constructor creates
a copy of row. If you don't want to create a copy of row, you should call
<a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-byte:A-byte:A-byte:A-long-boolean-boolean-"><code>Key(byte[] row, byte[] cf, byte[] cq, byte[] cv, long ts, boolean deleted, boolean copy)</code></a>
instead.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - row ID</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.8.0</dd>
</dl>
</li>
</ul>
<a name="Key-org.apache.hadoop.io.Text-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(org.apache.hadoop.io.Text&nbsp;row,
long&nbsp;ts)</pre>
<div class="block">Creates a key with the specified row, empty column family, empty column qualifier, empty column
visibility, the specified timestamp, and delete marker false.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - row ID</dd>
<dd><code>ts</code> - timestamp</dd>
</dl>
</li>
</ul>
<a name="Key-byte:A-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(byte[]&nbsp;row,
long&nbsp;ts)</pre>
<div class="block">Creates a key with the specified row, empty column family, empty column qualifier, empty column
visibility, the specified timestamp, and delete marker false. This constructor creates a copy
of row. If you don't want to create a copy, you should call
<a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-byte:A-byte:A-byte:A-long-boolean-boolean-"><code>Key(byte[] row, byte[] cf, byte[] cq, byte[] cv, long ts, boolean deleted, boolean copy)</code></a>
instead.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - row ID</dd>
<dd><code>ts</code> - timestamp</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.8.0</dd>
</dl>
</li>
</ul>
<a name="Key-byte:A-int-int-byte:A-int-int-byte:A-int-int-byte:A-int-int-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(byte[]&nbsp;row,
int&nbsp;rOff,
int&nbsp;rLen,
byte[]&nbsp;cf,
int&nbsp;cfOff,
int&nbsp;cfLen,
byte[]&nbsp;cq,
int&nbsp;cqOff,
int&nbsp;cqLen,
byte[]&nbsp;cv,
int&nbsp;cvOff,
int&nbsp;cvLen,
long&nbsp;ts)</pre>
<div class="block">Creates a key. The delete marker defaults to false. This constructor creates a copy of each
specified array. If you don't want to create a copy of the arrays, you should call
<a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-byte:A-byte:A-byte:A-long-boolean-boolean-"><code>Key(byte[] row, byte[] cf, byte[] cq, byte[] cv, long ts, boolean deleted, boolean copy)</code></a>
instead.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - bytes containing row ID</dd>
<dd><code>rOff</code> - offset into row where key's row ID begins (inclusive)</dd>
<dd><code>rLen</code> - length of row ID in row</dd>
<dd><code>cf</code> - bytes containing column family</dd>
<dd><code>cfOff</code> - offset into cf where key's column family begins (inclusive)</dd>
<dd><code>cfLen</code> - length of column family in cf</dd>
<dd><code>cq</code> - bytes containing column qualifier</dd>
<dd><code>cqOff</code> - offset into cq where key's column qualifier begins (inclusive)</dd>
<dd><code>cqLen</code> - length of column qualifier in cq</dd>
<dd><code>cv</code> - bytes containing column visibility</dd>
<dd><code>cvOff</code> - offset into cv where key's column visibility begins (inclusive)</dd>
<dd><code>cvLen</code> - length of column visibility in cv</dd>
<dd><code>ts</code> - timestamp</dd>
</dl>
</li>
</ul>
<a name="Key-byte:A-byte:A-byte:A-byte:A-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(byte[]&nbsp;row,
byte[]&nbsp;colFamily,
byte[]&nbsp;colQualifier,
byte[]&nbsp;colVisibility,
long&nbsp;timestamp)</pre>
<div class="block">Creates a key. The delete marker defaults to false. This constructor creates a copy of each
specified array. If you don't want to create a copy of the arrays, you should call
<a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-byte:A-byte:A-byte:A-long-boolean-boolean-"><code>Key(byte[] row, byte[] cf, byte[] cq, byte[] cv, long ts, boolean deleted, boolean copy)</code></a>
instead.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - row ID</dd>
<dd><code>colFamily</code> - column family</dd>
<dd><code>colQualifier</code> - column qualifier</dd>
<dd><code>colVisibility</code> - column visibility</dd>
<dd><code>timestamp</code> - timestamp</dd>
</dl>
</li>
</ul>
<a name="Key-byte:A-byte:A-byte:A-byte:A-long-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(byte[]&nbsp;row,
byte[]&nbsp;cf,
byte[]&nbsp;cq,
byte[]&nbsp;cv,
long&nbsp;ts,
boolean&nbsp;deleted)</pre>
<div class="block">Creates a key. This constructor creates a copy of each specified arrays. If you don't want to
create a copy, you should call
<a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-byte:A-byte:A-byte:A-long-boolean-boolean-"><code>Key(byte[] row, byte[] cf, byte[] cq, byte[] cv, long ts, boolean deleted, boolean copy)</code></a>
instead.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - row ID</dd>
<dd><code>cf</code> - column family</dd>
<dd><code>cq</code> - column qualifier</dd>
<dd><code>cv</code> - column visibility</dd>
<dd><code>ts</code> - timestamp</dd>
<dd><code>deleted</code> - delete marker</dd>
</dl>
</li>
</ul>
<a name="Key-byte:A-byte:A-byte:A-byte:A-long-boolean-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(byte[]&nbsp;row,
byte[]&nbsp;cf,
byte[]&nbsp;cq,
byte[]&nbsp;cv,
long&nbsp;ts,
boolean&nbsp;deleted,
boolean&nbsp;copy)</pre>
<div class="block">Creates a key.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - row ID</dd>
<dd><code>cf</code> - column family</dd>
<dd><code>cq</code> - column qualifier</dd>
<dd><code>cv</code> - column visibility</dd>
<dd><code>ts</code> - timestamp</dd>
<dd><code>deleted</code> - delete marker</dd>
<dd><code>copy</code> - if true, forces copy of byte array values into key</dd>
</dl>
</li>
</ul>
<a name="Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(org.apache.hadoop.io.Text&nbsp;row,
org.apache.hadoop.io.Text&nbsp;cf)</pre>
<div class="block">Creates a key with the specified row, the specified column family, empty column qualifier,
empty column visibility, timestamp <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a>, and delete marker false.</div>
</li>
</ul>
<a name="Key-byte:A-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(byte[]&nbsp;row,
byte[]&nbsp;cf)</pre>
<div class="block">Creates a key with the specified row, the specified column family, empty column qualifier,
empty column visibility, timestamp <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a>, and delete marker false. This
constructor creates a copy of each specified array. If you don't want to create a copy of the
arrays, you should call
<a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-byte:A-byte:A-byte:A-long-boolean-boolean-"><code>Key(byte[] row, byte[] cf, byte[] cq, byte[] cv, long ts, boolean deleted, boolean copy)</code></a>
instead.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.8.0</dd>
</dl>
</li>
</ul>
<a name="Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(org.apache.hadoop.io.Text&nbsp;row,
org.apache.hadoop.io.Text&nbsp;cf,
org.apache.hadoop.io.Text&nbsp;cq)</pre>
<div class="block">Creates a key with the specified row, the specified column family, the specified column
qualifier, empty column visibility, timestamp <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a>, and delete marker false.</div>
</li>
</ul>
<a name="Key-byte:A-byte:A-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(byte[]&nbsp;row,
byte[]&nbsp;cf,
byte[]&nbsp;cq)</pre>
<div class="block">Creates a key with the specified row, the specified column family, the specified column
qualifier, empty column visibility, timestamp <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a>, and delete marker false.
This constructor creates a copy of each specified array. If you don't want to create a copy of
the arrays, you should call
<a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-byte:A-byte:A-byte:A-long-boolean-boolean-"><code>Key(byte[] row, byte[] cf, byte[] cq, byte[] cv, long ts, boolean deleted, boolean copy)</code></a>
instead.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.8.0</dd>
</dl>
</li>
</ul>
<a name="Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(org.apache.hadoop.io.Text&nbsp;row,
org.apache.hadoop.io.Text&nbsp;cf,
org.apache.hadoop.io.Text&nbsp;cq,
org.apache.hadoop.io.Text&nbsp;cv)</pre>
<div class="block">Creates a key with the specified row, the specified column family, the specified column
qualifier, the specified column visibility, timestamp <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a>, and delete marker
false.</div>
</li>
</ul>
<a name="Key-byte:A-byte:A-byte:A-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(byte[]&nbsp;row,
byte[]&nbsp;cf,
byte[]&nbsp;cq,
byte[]&nbsp;cv)</pre>
<div class="block">Creates a key with the specified row, the specified column family, the specified column
qualifier, the specified column visibility, timestamp <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a>, and delete marker
false. This constructor creates a copy of each specified array. If you don't want to create a
copy of the arrays, you should call
<a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-byte:A-byte:A-byte:A-long-boolean-boolean-"><code>Key(byte[] row, byte[] cf, byte[] cq, byte[] cv, long ts, boolean deleted, boolean copy)</code></a>
instead.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.8.0</dd>
</dl>
</li>
</ul>
<a name="Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(org.apache.hadoop.io.Text&nbsp;row,
org.apache.hadoop.io.Text&nbsp;cf,
org.apache.hadoop.io.Text&nbsp;cq,
long&nbsp;ts)</pre>
<div class="block">Creates a key with the specified row, the specified column family, the specified column
qualifier, empty column visibility, the specified timestamp, and delete marker false.</div>
</li>
</ul>
<a name="Key-byte:A-byte:A-byte:A-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(byte[]&nbsp;row,
byte[]&nbsp;cf,
byte[]&nbsp;cq,
long&nbsp;ts)</pre>
<div class="block">Creates a key with the specified row, the specified column family, the specified column
qualifier, empty column visibility, the specified timestamp, and delete marker false. This
constructor creates a copy of each specified array. If you don't want to create a copy of the
arrays, you should call
<a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-byte:A-byte:A-byte:A-long-boolean-boolean-"><code>Key(byte[] row, byte[] cf, byte[] cq, byte[] cv, long ts, boolean deleted, boolean copy)</code></a>
instead.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.8.0</dd>
</dl>
</li>
</ul>
<a name="Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(org.apache.hadoop.io.Text&nbsp;row,
org.apache.hadoop.io.Text&nbsp;cf,
org.apache.hadoop.io.Text&nbsp;cq,
org.apache.hadoop.io.Text&nbsp;cv,
long&nbsp;ts)</pre>
<div class="block">Creates a key with the specified row, the specified column family, the specified column
qualifier, the specified column visibility, the specified timestamp, and delete marker false.</div>
</li>
</ul>
<a name="Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.accumulo.core.security.ColumnVisibility-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(org.apache.hadoop.io.Text&nbsp;row,
org.apache.hadoop.io.Text&nbsp;cf,
org.apache.hadoop.io.Text&nbsp;cq,
<a href="../../../../../org/apache/accumulo/core/security/ColumnVisibility.html" title="class in org.apache.accumulo.core.security">ColumnVisibility</a>&nbsp;cv,
long&nbsp;ts)</pre>
<div class="block">Creates a key with the specified row, the specified column family, the specified column
qualifier, the specified column visibility, the specified timestamp, and delete marker false.</div>
</li>
</ul>
<a name="Key-byte:A-byte:A-byte:A-org.apache.accumulo.core.security.ColumnVisibility-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(byte[]&nbsp;row,
byte[]&nbsp;cf,
byte[]&nbsp;cq,
<a href="../../../../../org/apache/accumulo/core/security/ColumnVisibility.html" title="class in org.apache.accumulo.core.security">ColumnVisibility</a>&nbsp;cv,
long&nbsp;ts)</pre>
<div class="block">Creates a key with the specified row, the specified column family, the specified column
qualifier, the specified column visibility, the specified timestamp, and delete marker false.
This constructor creates a copy of each specified array. If you don't want to create a copy of
the arrays, you should call
<a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-byte:A-byte:A-byte:A-byte:A-long-boolean-boolean-"><code>Key(byte[] row, byte[] cf, byte[] cq, byte[] cv, long ts, boolean deleted, boolean copy)</code></a>
instead.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.8.0</dd>
</dl>
</li>
</ul>
<a name="Key-java.lang.CharSequence-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;row)</pre>
<div class="block">Converts CharSequence to Text and creates a Key using <a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-"><code>Key(Text)</code></a>.</div>
</li>
</ul>
<a name="Key-java.lang.CharSequence-java.lang.CharSequence-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;row,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cf)</pre>
<div class="block">Converts CharSequence to Text and creates a Key using <a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-"><code>Key(Text,Text)</code></a>.</div>
</li>
</ul>
<a name="Key-java.lang.CharSequence-java.lang.CharSequence-java.lang.CharSequence-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;row,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cq)</pre>
<div class="block">Converts CharSequence to Text and creates a Key using <a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-"><code>Key(Text,Text,Text)</code></a>.</div>
</li>
</ul>
<a name="Key-java.lang.CharSequence-java.lang.CharSequence-java.lang.CharSequence-java.lang.CharSequence-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;row,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cq,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cv)</pre>
<div class="block">Converts CharSequence to Text and creates a Key using <a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-"><code>Key(Text,Text,Text,Text)</code></a>.</div>
</li>
</ul>
<a name="Key-java.lang.CharSequence-java.lang.CharSequence-java.lang.CharSequence-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;row,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cq,
long&nbsp;ts)</pre>
<div class="block">Converts CharSequence to Text and creates a Key using <a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-long-"><code>Key(Text,Text,Text,long)</code></a>.</div>
</li>
</ul>
<a name="Key-java.lang.CharSequence-java.lang.CharSequence-java.lang.CharSequence-java.lang.CharSequence-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;row,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cq,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cv,
long&nbsp;ts)</pre>
<div class="block">Converts CharSequence to Text and creates a Key using <a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-long-"><code>Key(Text,Text,Text,Text,long)</code></a>.</div>
</li>
</ul>
<a name="Key-java.lang.CharSequence-java.lang.CharSequence-java.lang.CharSequence-org.apache.accumulo.core.security.ColumnVisibility-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;row,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cq,
<a href="../../../../../org/apache/accumulo/core/security/ColumnVisibility.html" title="class in org.apache.accumulo.core.security">ColumnVisibility</a>&nbsp;cv,
long&nbsp;ts)</pre>
<div class="block">Converts CharSequence to Text and creates a Key using
<a href="../../../../../org/apache/accumulo/core/data/Key.html#Key-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-org.apache.accumulo.core.security.ColumnVisibility-long-"><code>Key(Text,Text,Text,ColumnVisibility,long)</code></a>.</div>
</li>
</ul>
<a name="Key-org.apache.accumulo.core.data.Key-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(<a href="../../../../../org/apache/accumulo/core/data/Key.html" title="class in org.apache.accumulo.core.data">Key</a>&nbsp;other)</pre>
<div class="block">Creates a key with the same row, column family, column qualifier, column visibility, timestamp,
and delete marker as the given key.</div>
</li>
</ul>
<a name="Key-org.apache.accumulo.core.data.thrift.TKey-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Key</h4>
<pre>public&nbsp;Key(org.apache.accumulo.core.data.thrift.TKey&nbsp;tkey)</pre>
<div class="block">Creates a key from Thrift.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tkey</code> - Thrift key</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</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#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<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="followingKey-org.apache.accumulo.core.data.PartialKey-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>followingKey</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/accumulo/core/data/Key.html" title="class in org.apache.accumulo.core.data">Key</a>&nbsp;followingKey(<a href="../../../../../org/apache/accumulo/core/data/PartialKey.html" title="enum in org.apache.accumulo.core.data">PartialKey</a>&nbsp;part)</pre>
<div class="block">Returns a key that will sort immediately after this key.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>part</code> - PartialKey except <a href="../../../../../org/apache/accumulo/core/data/PartialKey.html#ROW_COLFAM_COLQUAL_COLVIS_TIME_DEL"><code>PartialKey.ROW_COLFAM_COLQUAL_COLVIS_TIME_DEL</code></a></dd>
</dl>
</li>
</ul>
<a name="getRow-org.apache.hadoop.io.Text-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRow</h4>
<pre>public&nbsp;org.apache.hadoop.io.Text&nbsp;getRow(org.apache.hadoop.io.Text&nbsp;r)</pre>
<div class="block">Writes the row ID into the given <code>Text</code>. This method gives users control over
allocation of Text objects by copying into the passed in text.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>r</code> - <code>Text</code> object to copy into</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <code>Text</code> that was passed in</dd>
</dl>
</li>
</ul>
<a name="getRowData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRowData</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a>&nbsp;getRowData()</pre>
<div class="block">Returns the row ID as a byte sequence. This method returns a pointer to the key's internal data
and does not copy it.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>ByteSequence that points to the internal key row ID data</dd>
</dl>
</li>
</ul>
<a name="getRow--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRow</h4>
<pre>public&nbsp;org.apache.hadoop.io.Text&nbsp;getRow()</pre>
<div class="block">Gets the row ID as a <code>Text</code> object.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Text containing the row ID</dd>
</dl>
</li>
</ul>
<a name="compareRow-org.apache.hadoop.io.Text-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compareRow</h4>
<pre>public&nbsp;int&nbsp;compareRow(org.apache.hadoop.io.Text&nbsp;r)</pre>
<div class="block">Compares this key's row ID with another.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>r</code> - row ID to compare</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>same as <a href="../../../../../org/apache/accumulo/core/data/Key.html#getRow--"><code>getRow()</code></a>.compareTo(r)</dd>
</dl>
</li>
</ul>
<a name="getColumnFamilyData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumnFamilyData</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a>&nbsp;getColumnFamilyData()</pre>
<div class="block">Returns the column family as a byte sequence. This method returns a pointer to the key's
internal data and does not copy it.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>ByteSequence that points to the internal key column family data</dd>
</dl>
</li>
</ul>
<a name="getColumnFamily-org.apache.hadoop.io.Text-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumnFamily</h4>
<pre>public&nbsp;org.apache.hadoop.io.Text&nbsp;getColumnFamily(org.apache.hadoop.io.Text&nbsp;cf)</pre>
<div class="block">Writes the column family into the given <code>Text</code>. This method gives users control over
allocation of Text objects by copying into the passed in text.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cf</code> - <code>Text</code> object to copy into</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <code>Text</code> that was passed in</dd>
</dl>
</li>
</ul>
<a name="getColumnFamily--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumnFamily</h4>
<pre>public&nbsp;org.apache.hadoop.io.Text&nbsp;getColumnFamily()</pre>
<div class="block">Gets the column family as a <code>Text</code> object.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Text containing the column family</dd>
</dl>
</li>
</ul>
<a name="compareColumnFamily-org.apache.hadoop.io.Text-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compareColumnFamily</h4>
<pre>public&nbsp;int&nbsp;compareColumnFamily(org.apache.hadoop.io.Text&nbsp;cf)</pre>
<div class="block">Compares this key's column family with another.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cf</code> - column family to compare</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>same as <a href="../../../../../org/apache/accumulo/core/data/Key.html#getColumnFamily--"><code>getColumnFamily()</code></a>.compareTo(cf)</dd>
</dl>
</li>
</ul>
<a name="getColumnQualifierData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumnQualifierData</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a>&nbsp;getColumnQualifierData()</pre>
<div class="block">Returns the column qualifier as a byte sequence. This method returns a pointer to the key's
internal data and does not copy it.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>ByteSequence that points to the internal key column qualifier data</dd>
</dl>
</li>
</ul>
<a name="getColumnQualifier-org.apache.hadoop.io.Text-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumnQualifier</h4>
<pre>public&nbsp;org.apache.hadoop.io.Text&nbsp;getColumnQualifier(org.apache.hadoop.io.Text&nbsp;cq)</pre>
<div class="block">Writes the column qualifier into the given <code>Text</code>. This method gives users control
over allocation of Text objects by copying into the passed in text.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cq</code> - <code>Text</code> object to copy into</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <code>Text</code> that was passed in</dd>
</dl>
</li>
</ul>
<a name="getColumnQualifier--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumnQualifier</h4>
<pre>public&nbsp;org.apache.hadoop.io.Text&nbsp;getColumnQualifier()</pre>
<div class="block">Gets the column qualifier as a <code>Text</code> object.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Text containing the column qualifier</dd>
</dl>
</li>
</ul>
<a name="compareColumnQualifier-org.apache.hadoop.io.Text-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compareColumnQualifier</h4>
<pre>public&nbsp;int&nbsp;compareColumnQualifier(org.apache.hadoop.io.Text&nbsp;cq)</pre>
<div class="block">Compares this key's column qualifier with another.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cq</code> - column qualifier to compare</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>same as <a href="../../../../../org/apache/accumulo/core/data/Key.html#getColumnQualifier--"><code>getColumnQualifier()</code></a>.compareTo(cq)</dd>
</dl>
</li>
</ul>
<a name="setTimestamp-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTimestamp</h4>
<pre>public&nbsp;void&nbsp;setTimestamp(long&nbsp;ts)</pre>
<div class="block">Sets the timestamp.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ts</code> - timestamp</dd>
</dl>
</li>
</ul>
<a name="getTimestamp--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTimestamp</h4>
<pre>public&nbsp;long&nbsp;getTimestamp()</pre>
<div class="block">Gets the timestamp.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>timestamp</dd>
</dl>
</li>
</ul>
<a name="isDeleted--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isDeleted</h4>
<pre>public&nbsp;boolean&nbsp;isDeleted()</pre>
<div class="block">Determines if this key is deleted (i.e., has a delete marker = true).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if key is deleted, false if not</dd>
</dl>
</li>
</ul>
<a name="setDeleted-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDeleted</h4>
<pre>public&nbsp;void&nbsp;setDeleted(boolean&nbsp;deleted)</pre>
<div class="block">Sets the delete marker on this key.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>deleted</code> - delete marker (true to delete)</dd>
</dl>
</li>
</ul>
<a name="getColumnVisibilityData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumnVisibilityData</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a>&nbsp;getColumnVisibilityData()</pre>
<div class="block">Returns the column visibility as a byte sequence. This method returns a pointer to the key's
internal data and does not copy it.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>ByteSequence that points to the internal key column visibility data</dd>
</dl>
</li>
</ul>
<a name="getColumnVisibility--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumnVisibility</h4>
<pre>public final&nbsp;org.apache.hadoop.io.Text&nbsp;getColumnVisibility()</pre>
<div class="block">Gets the column visibility as a <code>Text</code> object.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Text containing the column visibility</dd>
</dl>
</li>
</ul>
<a name="getColumnVisibility-org.apache.hadoop.io.Text-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumnVisibility</h4>
<pre>public final&nbsp;org.apache.hadoop.io.Text&nbsp;getColumnVisibility(org.apache.hadoop.io.Text&nbsp;cv)</pre>
<div class="block">Writes the column visibvility into the given <code>Text</code>. This method gives users control
over allocation of Text objects by copying into the passed in text.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cv</code> - <code>Text</code> object to copy into</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <code>Text</code> that was passed in</dd>
</dl>
</li>
</ul>
<a name="getColumnVisibilityParsed--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumnVisibilityParsed</h4>
<pre>public final&nbsp;<a href="../../../../../org/apache/accumulo/core/security/ColumnVisibility.html" title="class in org.apache.accumulo.core.security">ColumnVisibility</a>&nbsp;getColumnVisibilityParsed()</pre>
<div class="block">Gets the column visibility. <b>WARNING:</b> using this method may inhibit performance since a
new ColumnVisibility object is created on every call.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>ColumnVisibility representing the column visibility</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
</dl>
</li>
</ul>
<a name="set-org.apache.accumulo.core.data.Key-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;void&nbsp;set(<a href="../../../../../org/apache/accumulo/core/data/Key.html" title="class in org.apache.accumulo.core.data">Key</a>&nbsp;k)</pre>
<div class="block">Sets this key's row, column family, column qualifier, column visibility, timestamp, and delete
marker to be the same as another key's. This method does not copy data from the other key, but
only references to it.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>k</code> - key to set from</dd>
</dl>
</li>
</ul>
<a name="readFields-java.io.DataInput-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readFields</h4>
<pre>public&nbsp;void&nbsp;readFields(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</a>&nbsp;in)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>readFields</code>&nbsp;in interface&nbsp;<code>org.apache.hadoop.io.Writable</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="write-java.io.DataOutput-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>write</h4>
<pre>public&nbsp;void&nbsp;write(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a>&nbsp;out)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>write</code>&nbsp;in interface&nbsp;<code>org.apache.hadoop.io.Writable</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="equals-org.apache.accumulo.core.data.Key-org.apache.accumulo.core.data.PartialKey-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="../../../../../org/apache/accumulo/core/data/Key.html" title="class in org.apache.accumulo.core.data">Key</a>&nbsp;other,
<a href="../../../../../org/apache/accumulo/core/data/PartialKey.html" title="enum in org.apache.accumulo.core.data">PartialKey</a>&nbsp;part)</pre>
<div class="block">Compares part of a key. For example, compares just the row and column family, and if those are
equal then return true.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>other</code> - key to compare to</dd>
<dd><code>part</code> - part of key to compare</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if specified parts of keys match, false otherwise</dd>
</dl>
</li>
</ul>
<a name="compareTo-org.apache.accumulo.core.data.Key-org.apache.accumulo.core.data.PartialKey-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compareTo</h4>
<pre>public&nbsp;int&nbsp;compareTo(<a href="../../../../../org/apache/accumulo/core/data/Key.html" title="class in org.apache.accumulo.core.data">Key</a>&nbsp;other,
<a href="../../../../../org/apache/accumulo/core/data/PartialKey.html" title="enum in org.apache.accumulo.core.data">PartialKey</a>&nbsp;part)</pre>
<div class="block">Compares elements of a key given by a <a href="../../../../../org/apache/accumulo/core/data/PartialKey.html" title="enum in org.apache.accumulo.core.data"><code>PartialKey</code></a>. The corresponding elements (row,
column family, column qualifier, column visibility, timestamp, and delete marker) are compared
in order until unequal elements are found. The row, column family, column qualifier, and column
visibility are compared lexographically and sorted ascending. The timestamps are compared
numerically and sorted descending so that the most recent data comes first. Lastly, a delete
marker of true sorts before a delete marker of false. The result of the first unequal
comparison is returned.
For example, for <a href="../../../../../org/apache/accumulo/core/data/PartialKey.html#ROW_COLFAM"><code>PartialKey.ROW_COLFAM</code></a>, this method compares just the row and column
family. If the row IDs are not equal, return the result of the row comparison; otherwise,
returns the result of the column family comparison.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>other</code> - key to compare to</dd>
<dd><code>part</code> - part of key to compare</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>comparison result</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/accumulo/core/data/Key.html#compareTo-org.apache.accumulo.core.data.Key-"><code>compareTo(Key)</code></a></dd>
</dl>
</li>
</ul>
<a name="compareTo-org.apache.accumulo.core.data.Key-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compareTo</h4>
<pre>public&nbsp;int&nbsp;compareTo(<a href="../../../../../org/apache/accumulo/core/data/Key.html" title="class in org.apache.accumulo.core.data">Key</a>&nbsp;other)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true#compareTo-T-" title="class or interface in java.lang">compareTo</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;<a href="../../../../../org/apache/accumulo/core/data/Key.html" title="class in org.apache.accumulo.core.data">Key</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><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>&nbsp;in class&nbsp;<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="toPrintableString-byte:A-int-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPrintableString</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toPrintableString(byte[]&nbsp;ba,
int&nbsp;offset,
int&nbsp;len,
int&nbsp;maxLen)</pre>
<div class="block">Returns an ASCII printable string form of the given byte array, treating the bytes as ASCII
characters. See <a href="../../../../../org/apache/accumulo/core/data/Key.html#appendPrintableString-byte:A-int-int-int-java.lang.StringBuilder-"><code>appendPrintableString(byte[], int, int, int, StringBuilder)</code></a> for
caveats.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ba</code> - byte array</dd>
<dd><code>offset</code> - offset to start with in byte array (inclusive)</dd>
<dd><code>len</code> - number of bytes to print</dd>
<dd><code>maxLen</code> - maximum number of bytes to convert to printable form</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>printable string</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/accumulo/core/data/Key.html#appendPrintableString-byte:A-int-int-int-java.lang.StringBuilder-"><code>appendPrintableString(byte[], int, int, int, StringBuilder)</code></a></dd>
</dl>
</li>
</ul>
<a name="appendPrintableString-byte:A-int-int-int-java.lang.StringBuilder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendPrintableString</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;appendPrintableString(byte[]&nbsp;ba,
int&nbsp;offset,
int&nbsp;len,
int&nbsp;maxLen,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb)</pre>
<div class="block">Appends ASCII printable characters to a string, based on the given byte array, treating the
bytes as ASCII characters. If a byte can be converted to a ASCII printable character it is
appended as is; otherwise, it is appended as a character code, e.g., %05; for byte value 5. If
len &gt; maxlen, the string includes a "TRUNCATED" note at the end.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ba</code> - byte array</dd>
<dd><code>offset</code> - offset to start with in byte array (inclusive)</dd>
<dd><code>len</code> - number of bytes to print</dd>
<dd><code>maxLen</code> - maximum number of bytes to convert to printable form</dd>
<dd><code>sb</code> - <code>StringBuilder</code> to append to</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>given <code>StringBuilder</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><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>&nbsp;in class&nbsp;<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="toStringNoTruncate--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toStringNoTruncate</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toStringNoTruncate()</pre>
<div class="block">Stringify this <a href="../../../../../org/apache/accumulo/core/data/Key.html" title="class in org.apache.accumulo.core.data"><code>Key</code></a>, avoiding truncation of each component, only limiting each component
to a length of <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Integer.MAX_VALUE</code></a></div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.7.0</dd>
</dl>
</li>
</ul>
<a name="toStringNoTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toStringNoTime</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toStringNoTime()</pre>
<div class="block">Converts this key to a string, not including timestamp or delete marker.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>string form of key</dd>
</dl>
</li>
</ul>
<a name="getLength--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLength</h4>
<pre>public&nbsp;int&nbsp;getLength()</pre>
<div class="block">Returns the sums of the lengths of the row, column family, column qualifier, and column
visibility.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>sum of key field lengths</dd>
</dl>
</li>
</ul>
<a name="getSize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSize</h4>
<pre>public&nbsp;int&nbsp;getSize()</pre>
<div class="block">Same as <a href="../../../../../org/apache/accumulo/core/data/Key.html#getLength--"><code>getLength()</code></a>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>sum of key field lengths</dd>
</dl>
</li>
</ul>
<a name="compress-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compress</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.accumulo.core.data.thrift.TKeyValue&gt;&nbsp;compress(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../org/apache/accumulo/core/data/KeyValue.html" title="class in org.apache.accumulo.core.data">KeyValue</a>&gt;&nbsp;param)</pre>
<div class="block">Compresses a list of key/value pairs before sending them via thrift.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>param</code> - list of key/value pairs</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of Thrift key/value pairs</dd>
</dl>
</li>
</ul>
<a name="decompress-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>decompress</h4>
<pre>public static&nbsp;void&nbsp;decompress(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.accumulo.core.data.thrift.TKeyValue&gt;&nbsp;param)</pre>
<div class="block">Decompresses a list of key/value pairs received from thrift. Decompression occurs in place, in
the list.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>param</code> - list of Thrift key/value pairs</dd>
</dl>
</li>
</ul>
<a name="toThrift--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toThrift</h4>
<pre>public&nbsp;org.apache.accumulo.core.data.thrift.TKey&nbsp;toThrift()</pre>
<div class="block">Converts this key to Thrift.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Thrift key</dd>
</dl>
</li>
</ul>
<a name="clone--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>clone</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;clone()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CloneNotSupportedException.html?is-external=true" title="class or interface in java.lang">CloneNotSupportedException</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#clone--" title="class or interface in java.lang">clone</a></code>&nbsp;in class&nbsp;<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>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CloneNotSupportedException.html?is-external=true" title="class or interface in java.lang">CloneNotSupportedException</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Key.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/accumulo/core/data/ConstraintViolationSummary.html" title="class in org.apache.accumulo.core.data"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/accumulo/core/data/KeyExtent.html" title="class in org.apache.accumulo.core.data"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/accumulo/core/data/Key.html" target="_top">Frames</a></li>
<li><a href="Key.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2011&#x2013;2019 <a href="https://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>