blob: 8d587ce8d110ee20f9eb44c289ef684ab3ddd958 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Delete (Apache HBase 3.0.0-alpha-2-SNAPSHOT API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Delete (Apache HBase 3.0.0-alpha-2-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Delete.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/hadoop/hbase/client/Cursor.html" title="class in org.apache.hadoop.hbase.client"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/hadoop/hbase/client/DoNotRetryRegionException.html" title="class in org.apache.hadoop.hbase.client"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/hadoop/hbase/client/Delete.html" target="_top">Frames</a></li>
<li><a href="Delete.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="#fields.inherited.from.class.org.apache.hadoop.hbase.client.Mutation">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>Field&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.hadoop.hbase.client</div>
<h2 title="Class Delete" class="title">Class Delete</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/apache/hadoop/hbase/client/Operation.html" title="class in org.apache.hadoop.hbase.client">org.apache.hadoop.hbase.client.Operation</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">org.apache.hadoop.hbase.client.OperationWithAttributes</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">org.apache.hadoop.hbase.client.Mutation</a></li>
<li>
<ul class="inheritance">
<li>org.apache.hadoop.hbase.client.Delete</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../org/apache/hadoop/hbase/CellScannable.html" title="interface in org.apache.hadoop.hbase">CellScannable</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Attributes.html" title="interface in org.apache.hadoop.hbase.client">Attributes</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>, <a href="../../../../../org/apache/hadoop/hbase/io/HeapSize.html" title="interface in org.apache.hadoop.hbase.io">HeapSize</a></dd>
</dl>
<hr>
<br>
<pre>@InterfaceAudience.Public
public class <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.70">Delete</a>
extends <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></pre>
<div class="block">Used to perform Delete operations on a single row.
<p>
To delete an entire row, instantiate a Delete object with the row
to delete. To further define the scope of what to delete, perform
additional methods as outlined below.
<p>
To delete specific families, execute <a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#addFamily-byte:A-"><code>deleteFamily</code></a>
for each family to delete.
<p>
To delete multiple versions of specific columns, execute
<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#addColumns-byte:A-byte:A-"><code>deleteColumns</code></a>
for each column to delete.
<p>
To delete specific versions of specific columns, execute
<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#addColumn-byte:A-byte:A-long-"><code>deleteColumn</code></a>
for each column version to delete.
<p>
Specifying timestamps, deleteFamily and deleteColumns will delete all
versions with a timestamp less than or equal to that passed. If no
timestamp is specified, an entry is added with a timestamp of 'now'
where 'now' is the servers's EnvironmentEdgeManager.currentTime().
Specifying a timestamp to the deleteColumn method will
delete versions only with a timestamp equal to that specified.
If no timestamp is passed to deleteColumn, internally, it figures the
most recent cell's timestamp and adds a delete at that timestamp; i.e.
it deletes the most recently added cell.
<p>The timestamp passed to the constructor is used ONLY for delete of
rows. For anything less -- a deleteColumn, deleteColumns or
deleteFamily -- then you need to use the method overrides that take a
timestamp. The constructor timestamp is not referenced.</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>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.hadoop.hbase.client.Mutation">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></h3>
<code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#durability">durability</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#familyMap">familyMap</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#MUTATION_OVERHEAD">MUTATION_OVERHEAD</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#row">row</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#ts">ts</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.hadoop.hbase.client.OperationWithAttributes">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">OperationWithAttributes</a></h3>
<code><a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html#ID_ATRIBUTE">ID_ATRIBUTE</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.hadoop.hbase.client.Row">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a></h3>
<code><a href="../../../../../org/apache/hadoop/hbase/client/Row.html#COMPARATOR">COMPARATOR</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&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/hadoop/hbase/client/Delete.html#Delete-byte:A-">Delete</a></span>(byte[]&nbsp;row)</code>
<div class="block">Create a Delete operation for the specified row.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#Delete-byte:A-int-int-">Delete</a></span>(byte[]&nbsp;row,
int&nbsp;rowOffset,
int&nbsp;rowLength)</code>
<div class="block">Create a Delete operation for the specified row and timestamp.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#Delete-byte:A-int-int-long-">Delete</a></span>(byte[]&nbsp;row,
int&nbsp;rowOffset,
int&nbsp;rowLength,
long&nbsp;timestamp)</code>
<div class="block">Create a Delete operation for the specified row and timestamp.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#Delete-byte:A-long-">Delete</a></span>(byte[]&nbsp;row,
long&nbsp;timestamp)</code>
<div class="block">Create a Delete operation for the specified row and timestamp.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#Delete-byte:A-long-java.util.NavigableMap-">Delete</a></span>(byte[]&nbsp;row,
long&nbsp;ts,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a>&lt;byte[],<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;<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&gt;&nbsp;familyMap)</code>
<div class="block">Construct the Delete with user defined data.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#Delete-org.apache.hadoop.hbase.client.Delete-">Delete</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;deleteToCopy)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="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><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#add-org.apache.hadoop.hbase.Cell-">add</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</code>
<div class="block">Add an existing delete marker to this Delete object.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#addColumn-byte:A-byte:A-">addColumn</a></span>(byte[]&nbsp;family,
byte[]&nbsp;qualifier)</code>
<div class="block">Delete the latest version of the specified column.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#addColumn-byte:A-byte:A-long-">addColumn</a></span>(byte[]&nbsp;family,
byte[]&nbsp;qualifier,
long&nbsp;timestamp)</code>
<div class="block">Delete the specified version of the specified column.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#addColumns-byte:A-byte:A-">addColumns</a></span>(byte[]&nbsp;family,
byte[]&nbsp;qualifier)</code>
<div class="block">Delete all versions of the specified column.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#addColumns-byte:A-byte:A-long-">addColumns</a></span>(byte[]&nbsp;family,
byte[]&nbsp;qualifier,
long&nbsp;timestamp)</code>
<div class="block">Delete all versions of the specified column with a timestamp less than
or equal to the specified timestamp.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#addFamily-byte:A-">addFamily</a></span>(byte[]&nbsp;family)</code>
<div class="block">Delete all versions of all columns of the specified family.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#addFamily-byte:A-long-">addFamily</a></span>(byte[]&nbsp;family,
long&nbsp;timestamp)</code>
<div class="block">Delete all columns of the specified family with a timestamp less than
or equal to the specified timestamp.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#addFamilyVersion-byte:A-long-">addFamilyVersion</a></span>(byte[]&nbsp;family,
long&nbsp;timestamp)</code>
<div class="block">Delete all columns of the specified family with a timestamp equal to
the specified timestamp.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/CellBuilder.html" title="interface in org.apache.hadoop.hbase">CellBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#getCellBuilder-org.apache.hadoop.hbase.CellBuilderType-">getCellBuilder</a></span>(<a href="../../../../../org/apache/hadoop/hbase/CellBuilderType.html" title="enum in org.apache.hadoop.hbase">CellBuilderType</a>&nbsp;type)</code>
<div class="block">get a CellBuilder instance that already has relevant Type and Row set.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#setACL-java.util.Map-">setACL</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/hadoop/hbase/security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a>&gt;&nbsp;perms)</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#setACL-java.lang.String-org.apache.hadoop.hbase.security.access.Permission-">setACL</a></span>(<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;user,
<a href="../../../../../org/apache/hadoop/hbase/security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a>&nbsp;perms)</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#setAttribute-java.lang.String-byte:A-">setAttribute</a></span>(<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;name,
byte[]&nbsp;value)</code>
<div class="block">Sets an attribute.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#setCellVisibility-org.apache.hadoop.hbase.security.visibility.CellVisibility-">setCellVisibility</a></span>(<a href="../../../../../org/apache/hadoop/hbase/security/visibility/CellVisibility.html" title="class in org.apache.hadoop.hbase.security.visibility">CellVisibility</a>&nbsp;expression)</code>
<div class="block">Sets the visibility expression associated with cells in this Mutation.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#setClusterIds-java.util.List-">setClusterIds</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;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&gt;&nbsp;clusterIds)</code>
<div class="block">Marks that the clusters with the given clusterIds have consumed the mutation</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#setDurability-org.apache.hadoop.hbase.client.Durability-">setDurability</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Durability.html" title="enum in org.apache.hadoop.hbase.client">Durability</a>&nbsp;d)</code>
<div class="block">Set the durability for this mutation</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#setId-java.lang.String-">setId</a></span>(<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;id)</code>
<div class="block">This method allows you to set an identifier on an operation.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#setPriority-int-">setPriority</a></span>(int&nbsp;priority)</code>&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#setTimestamp-long-">setTimestamp</a></span>(long&nbsp;timestamp)</code>
<div class="block">Set the timestamp of the delete.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Delete.html#setTTL-long-">setTTL</a></span>(long&nbsp;ttl)</code>
<div class="block">Set the TTL desired for the result of the mutation, in milliseconds.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.client.Mutation">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></h3>
<code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#cellScanner--">cellScanner</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#checkRow-byte:A-">checkRow</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#checkRow-byte:A-int-int-">checkRow</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#checkRow-java.nio.ByteBuffer-">checkRow</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#createPutKeyValue-byte:A-byte:A-long-byte:A-">createPutKeyValue</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#createPutKeyValue-byte:A-byte:A-long-byte:A-org.apache.hadoop.hbase.Tag:A-">createPutKeyValue</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#createPutKeyValue-byte:A-java.nio.ByteBuffer-long-java.nio.ByteBuffer-org.apache.hadoop.hbase.Tag:A-">createPutKeyValue</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#extraHeapSize--">extraHeapSize</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#get-byte:A-byte:A-">get</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getACL--">getACL</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getCellBuilder--">getCellBuilder</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getCellBuilder-org.apache.hadoop.hbase.CellBuilderType-org.apache.hadoop.hbase.Cell.Type-">getCellBuilder</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getCellList-byte:A-">getCellList</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getCellVisibility--">getCellVisibility</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getClusterIds--">getClusterIds</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getDurability--">getDurability</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getFamilyCellMap--">getFamilyCellMap</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getFingerprint--">getFingerprint</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getRow--">getRow</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getTimestamp--">getTimestamp</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getTTL--">getTTL</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#has-byte:A-byte:A-">has</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#has-byte:A-byte:A-byte:A-">has</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#has-byte:A-byte:A-long-">has</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#has-byte:A-byte:A-long-byte:A-">has</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#has-byte:A-byte:A-long-byte:A-boolean-boolean-">has</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#heapSize--">heapSize</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#isEmpty--">isEmpty</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#isReturnResults--">isReturnResults</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#numFamilies--">numFamilies</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setReturnResults-boolean-">setReturnResults</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#size--">size</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#toCellVisibility-org.apache.hadoop.hbase.security.visibility.CellVisibility-">toCellVisibility</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#toMap-int-">toMap</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.client.OperationWithAttributes">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">OperationWithAttributes</a></h3>
<code><a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html#getAttribute-java.lang.String-">getAttribute</a>, <a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html#getAttributeSize--">getAttributeSize</a>, <a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html#getAttributesMap--">getAttributesMap</a>, <a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html#getId--">getId</a>, <a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html#getPriority--">getPriority</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.client.Operation">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/Operation.html" title="class in org.apache.hadoop.hbase.client">Operation</a></h3>
<code><a href="../../../../../org/apache/hadoop/hbase/client/Operation.html#toJSON--">toJSON</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Operation.html#toJSON-int-">toJSON</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Operation.html#toMap--">toMap</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Operation.html#toString--">toString</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Operation.html#toString-int-">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</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">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Delete-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Delete</h4>
<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.81">Delete</a>(byte[]&nbsp;row)</pre>
<div class="block">Create a Delete operation for the specified row.
<p>
If no further operations are done, this will delete everything
associated with the specified row (all versions of all columns in all
families), with timestamp from current point in time to the past.
Cells defining timestamp for a future point in time
(timestamp > current time) will not be deleted.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - row key</dd>
</dl>
</li>
</ul>
<a name="Delete-byte:A-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Delete</h4>
<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.97">Delete</a>(byte[]&nbsp;row,
long&nbsp;timestamp)</pre>
<div class="block">Create a Delete operation for the specified row and timestamp.<p>
If no further operations are done, this will delete all columns in all
families of the specified row with a timestamp less than or equal to the
specified timestamp.<p>
This timestamp is ONLY used for a delete row operation. If specifying
families or columns, you must specify each timestamp individually.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - row key</dd>
<dd><code>timestamp</code> - maximum version timestamp (only for delete row)</dd>
</dl>
</li>
</ul>
<a name="Delete-byte:A-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Delete</h4>
<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.114">Delete</a>(byte[]&nbsp;row,
int&nbsp;rowOffset,
int&nbsp;rowLength)</pre>
<div class="block">Create a Delete operation for the specified row and timestamp.<p>
If no further operations are done, this will delete all columns in all
families of the specified row with a timestamp less than or equal to the
specified timestamp.<p>
This timestamp is ONLY used for a delete row operation. If specifying
families or columns, you must specify each timestamp individually.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - We make a local copy of this passed in row.</dd>
<dd><code>rowOffset</code> - </dd>
<dd><code>rowLength</code> - </dd>
</dl>
</li>
</ul>
<a name="Delete-byte:A-int-int-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Delete</h4>
<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.132">Delete</a>(byte[]&nbsp;row,
int&nbsp;rowOffset,
int&nbsp;rowLength,
long&nbsp;timestamp)</pre>
<div class="block">Create a Delete operation for the specified row and timestamp.<p>
If no further operations are done, this will delete all columns in all
families of the specified row with a timestamp less than or equal to the
specified timestamp.<p>
This timestamp is ONLY used for a delete row operation. If specifying
families or columns, you must specify each timestamp individually.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - We make a local copy of this passed in row.</dd>
<dd><code>rowOffset</code> - </dd>
<dd><code>rowLength</code> - </dd>
<dd><code>timestamp</code> - maximum version timestamp (only for delete row)</dd>
</dl>
</li>
</ul>
<a name="Delete-org.apache.hadoop.hbase.client.Delete-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Delete</h4>
<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.141">Delete</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;deleteToCopy)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>deleteToCopy</code> - delete to copy</dd>
</dl>
</li>
</ul>
<a name="Delete-byte:A-long-java.util.NavigableMap-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Delete</h4>
<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.154">Delete</a>(byte[]&nbsp;row,
long&nbsp;ts,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a>&lt;byte[],<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;<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&gt;&nbsp;familyMap)</pre>
<div class="block">Construct the Delete with user defined data. NOTED:
1) all cells in the familyMap must have the delete type.
see <a href="../../../../../org/apache/hadoop/hbase/Cell.Type.html" title="enum in org.apache.hadoop.hbase"><code>Cell.Type</code></a>
2) the row of each cell must be same with passed row.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - row. CAN'T be null</dd>
<dd><code>ts</code> - timestamp</dd>
<dd><code>familyMap</code> - the map to collect all cells internally. CAN'T be null</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="add-org.apache.hadoop.hbase.Cell-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.164">add</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;cell)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Add an existing delete marker to this Delete object.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#add-org.apache.hadoop.hbase.Cell-">add</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - An existing cell of type "delete".</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this for invocation chaining</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="addFamily-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addFamily</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.177">addFamily</a>(byte[]&nbsp;family)</pre>
<div class="block">Delete all versions of all columns of the specified family.
<p>
Overrides previous calls to deleteColumn and deleteColumns for the
specified family.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>family</code> - family name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this for invocation chaining</dd>
</dl>
</li>
</ul>
<a name="addFamily-byte:A-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addFamily</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.192">addFamily</a>(byte[]&nbsp;family,
long&nbsp;timestamp)</pre>
<div class="block">Delete all columns of the specified family with a timestamp less than
or equal to the specified timestamp.
<p>
Overrides previous calls to deleteColumn and deleteColumns for the
specified family.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>family</code> - family name</dd>
<dd><code>timestamp</code> - maximum version timestamp</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this for invocation chaining</dd>
</dl>
</li>
</ul>
<a name="addFamilyVersion-byte:A-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addFamilyVersion</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.212">addFamilyVersion</a>(byte[]&nbsp;family,
long&nbsp;timestamp)</pre>
<div class="block">Delete all columns of the specified family with a timestamp equal to
the specified timestamp.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>family</code> - family name</dd>
<dd><code>timestamp</code> - version timestamp</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this for invocation chaining</dd>
</dl>
</li>
</ul>
<a name="addColumns-byte:A-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addColumns</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.225">addColumns</a>(byte[]&nbsp;family,
byte[]&nbsp;qualifier)</pre>
<div class="block">Delete all versions of the specified column.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>family</code> - family name</dd>
<dd><code>qualifier</code> - column qualifier</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this for invocation chaining</dd>
</dl>
</li>
</ul>
<a name="addColumns-byte:A-byte:A-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addColumns</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.238">addColumns</a>(byte[]&nbsp;family,
byte[]&nbsp;qualifier,
long&nbsp;timestamp)</pre>
<div class="block">Delete all versions of the specified column with a timestamp less than
or equal to the specified timestamp.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>family</code> - family name</dd>
<dd><code>qualifier</code> - column qualifier</dd>
<dd><code>timestamp</code> - maximum version timestamp</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this for invocation chaining</dd>
</dl>
</li>
</ul>
<a name="addColumn-byte:A-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addColumn</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.257">addColumn</a>(byte[]&nbsp;family,
byte[]&nbsp;qualifier)</pre>
<div class="block">Delete the latest version of the specified column.
This is an expensive call in that on the server-side, it first does a
get to find the latest versions timestamp. Then it adds a delete using
the fetched cells timestamp.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>family</code> - family name</dd>
<dd><code>qualifier</code> - column qualifier</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this for invocation chaining</dd>
</dl>
</li>
</ul>
<a name="addColumn-byte:A-byte:A-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addColumn</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.269">addColumn</a>(byte[]&nbsp;family,
byte[]&nbsp;qualifier,
long&nbsp;timestamp)</pre>
<div class="block">Delete the specified version of the specified column.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>family</code> - family name</dd>
<dd><code>qualifier</code> - column qualifier</dd>
<dd><code>timestamp</code> - version timestamp</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this for invocation chaining</dd>
</dl>
</li>
</ul>
<a name="setTimestamp-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTimestamp</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.280">setTimestamp</a>(long&nbsp;timestamp)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setTimestamp-long-">Mutation</a></code></span></div>
<div class="block">Set the timestamp of the delete.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setTimestamp-long-">setTimestamp</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
</dl>
</li>
</ul>
<a name="setAttribute-java.lang.String-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAttribute</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.286">setAttribute</a>(<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;name,
byte[]&nbsp;value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/Attributes.html#setAttribute-java.lang.String-byte:A-">Attributes</a></code></span></div>
<div class="block">Sets an attribute.
In case value = null attribute is removed from the attributes map.
Attribute names starting with _ indicate system attributes.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Attributes.html#setAttribute-java.lang.String-byte:A-">setAttribute</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/Attributes.html" title="interface in org.apache.hadoop.hbase.client">Attributes</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html#setAttribute-java.lang.String-byte:A-">setAttribute</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">OperationWithAttributes</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - attribute name</dd>
<dd><code>value</code> - attribute value</dd>
</dl>
</li>
</ul>
<a name="setId-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setId</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.291">setId</a>(<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;id)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html#setId-java.lang.String-">OperationWithAttributes</a></code></span></div>
<div class="block">This method allows you to set an identifier on an operation. The original
motivation for this was to allow the identifier to be used in slow query
logging, but this could obviously be useful in other places. One use of
this could be to put a class.method identifier in here to see where the
slow query is coming from.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html#setId-java.lang.String-">setId</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">OperationWithAttributes</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - id to set for the scan</dd>
</dl>
</li>
</ul>
<a name="setDurability-org.apache.hadoop.hbase.client.Durability-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDurability</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.296">setDurability</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Durability.html" title="enum in org.apache.hadoop.hbase.client">Durability</a>&nbsp;d)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setDurability-org.apache.hadoop.hbase.client.Durability-">Mutation</a></code></span></div>
<div class="block">Set the durability for this mutation</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setDurability-org.apache.hadoop.hbase.client.Durability-">setDurability</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
</dl>
</li>
</ul>
<a name="setClusterIds-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setClusterIds</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.301">setClusterIds</a>(<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;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&gt;&nbsp;clusterIds)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setClusterIds-java.util.List-">Mutation</a></code></span></div>
<div class="block">Marks that the clusters with the given clusterIds have consumed the mutation</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setClusterIds-java.util.List-">setClusterIds</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>clusterIds</code> - of the clusters that have consumed the mutation</dd>
</dl>
</li>
</ul>
<a name="setCellVisibility-org.apache.hadoop.hbase.security.visibility.CellVisibility-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCellVisibility</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.306">setCellVisibility</a>(<a href="../../../../../org/apache/hadoop/hbase/security/visibility/CellVisibility.html" title="class in org.apache.hadoop.hbase.security.visibility">CellVisibility</a>&nbsp;expression)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setCellVisibility-org.apache.hadoop.hbase.security.visibility.CellVisibility-">Mutation</a></code></span></div>
<div class="block">Sets the visibility expression associated with cells in this Mutation.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setCellVisibility-org.apache.hadoop.hbase.security.visibility.CellVisibility-">setCellVisibility</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
</dl>
</li>
</ul>
<a name="setACL-java.lang.String-org.apache.hadoop.hbase.security.access.Permission-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setACL</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.311">setACL</a>(<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;user,
<a href="../../../../../org/apache/hadoop/hbase/security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a>&nbsp;perms)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setACL-java.lang.String-org.apache.hadoop.hbase.security.access.Permission-">setACL</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>user</code> - User short name</dd>
<dd><code>perms</code> - Permissions for the user</dd>
</dl>
</li>
</ul>
<a name="setACL-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setACL</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.316">setACL</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/hadoop/hbase/security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a>&gt;&nbsp;perms)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setACL-java.util.Map-">setACL</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>perms</code> - A map of permissions for a user or users</dd>
</dl>
</li>
</ul>
<a name="setTTL-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTTL</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.321">setTTL</a>(long&nbsp;ttl)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setTTL-long-">Mutation</a></code></span></div>
<div class="block">Set the TTL desired for the result of the mutation, in milliseconds.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setTTL-long-">setTTL</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ttl</code> - the TTL desired for the result of the mutation, in milliseconds</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this</dd>
</dl>
</li>
</ul>
<a name="setPriority-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPriority</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.326">setPriority</a>(int&nbsp;priority)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html#setPriority-int-">setPriority</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">OperationWithAttributes</a></code></dd>
</dl>
</li>
</ul>
<a name="getCellBuilder-org.apache.hadoop.hbase.CellBuilderType-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getCellBuilder</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/CellBuilder.html" title="interface in org.apache.hadoop.hbase">CellBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line.331">getCellBuilder</a>(<a href="../../../../../org/apache/hadoop/hbase/CellBuilderType.html" title="enum in org.apache.hadoop.hbase">CellBuilderType</a>&nbsp;type)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getCellBuilder-org.apache.hadoop.hbase.CellBuilderType-">Mutation</a></code></span></div>
<div class="block">get a CellBuilder instance that already has relevant Type and Row set.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getCellBuilder-org.apache.hadoop.hbase.CellBuilderType-">getCellBuilder</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - e.g CellBuilderType.SHALLOW_COPY</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>CellBuilder which already has relevant Type and Row set.</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/Delete.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/hadoop/hbase/client/Cursor.html" title="class in org.apache.hadoop.hbase.client"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/hadoop/hbase/client/DoNotRetryRegionException.html" title="class in org.apache.hadoop.hbase.client"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/hadoop/hbase/client/Delete.html" target="_top">Frames</a></li>
<li><a href="Delete.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="#fields.inherited.from.class.org.apache.hadoop.hbase.client.Mutation">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>Field&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; 2007&#x2013;2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>