blob: 2cf6c68ca7e62283fca6ab8f6c71dbc095d0312a [file] [log] [blame]
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Delete (Apache HBase 4.0.0-alpha-1-SNAPSHOT API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: org.apache.hadoop.hbase.client, class: Delete">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-declaration-page">
<script type="text/javascript">var evenRowColor = "even-row-color";
var oddRowColor = "odd-row-color";
var tableTab = "table-tab";
var activeTableTab = "active-table-tab";
var pathtoroot = "../../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="nav-bar-cell1-rev">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#class">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div>
<ul class="sub-nav-list">
<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="sub-nav-list">
<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>
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.apache.hadoop.hbase.client</a></div>
<h1 title="Class Delete" class="title">Class Delete</h1>
</div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
<div class="inheritance"><a href="Operation.html" title="class in org.apache.hadoop.hbase.client">org.apache.hadoop.hbase.client.Operation</a>
<div class="inheritance"><a href="OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">org.apache.hadoop.hbase.client.OperationWithAttributes</a>
<div class="inheritance"><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">org.apache.hadoop.hbase.client.Mutation</a>
<div class="inheritance">org.apache.hadoop.hbase.client.Delete</div>
</div>
</div>
</div>
</div>
<section class="class-description" id="class-description">
<dl class="notes">
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="../CellScannable.html" title="interface in org.apache.hadoop.hbase">CellScannable</a></code>, <code><a href="Attributes.html" title="interface in org.apache.hadoop.hbase.client">Attributes</a></code>, <code><a href="Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a></code>, <code><a href="../ExtendedCellScannable.html" title="interface in org.apache.hadoop.hbase">ExtendedCellScannable</a></code>, <code><a href="../io/HeapSize.html" title="interface in org.apache.hadoop.hbase.io">HeapSize</a></code></dd>
</dl>
<hr>
<div class="type-signature"><span class="annotations">@Public
</span><span class="modifiers">public class </span><span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-63">Delete</a></span>
<span class="extends-implements">extends <a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></span></div>
<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="#addFamily(byte%5B%5D)"><code>deleteFamily</code></a> for each family to
delete.
<p>
To delete multiple versions of specific columns, execute <a href="#addColumns(byte%5B%5D,byte%5B%5D)"><code>deleteColumns</code></a> for each column to delete.
<p>
To delete specific versions of specific columns, execute <a href="#addColumn(byte%5B%5D,byte%5B%5D,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>
</section>
<section class="summary">
<ul class="summary-list">
<!-- =========== FIELD SUMMARY =========== -->
<li>
<section class="field-summary" id="field-summary">
<h2>Field Summary</h2>
<div class="inherited-list">
<h3 id="fields-inherited-from-class-org.apache.hadoop.hbase.client.Mutation">Fields inherited from class&nbsp;org.apache.hadoop.hbase.client.<a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></h3>
<code><a href="Mutation.html#durability">durability</a>, <a href="Mutation.html#familyMap">familyMap</a>, <a href="Mutation.html#MUTATION_OVERHEAD">MUTATION_OVERHEAD</a>, <a href="Mutation.html#row">row</a>, <a href="Mutation.html#ts">ts</a></code></div>
<div class="inherited-list">
<h3 id="fields-inherited-from-class-org.apache.hadoop.hbase.client.OperationWithAttributes">Fields inherited from class&nbsp;org.apache.hadoop.hbase.client.<a href="OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">OperationWithAttributes</a></h3>
<code><a href="OperationWithAttributes.html#ID_ATRIBUTE">ID_ATRIBUTE</a></code></div>
<div class="inherited-list">
<h3 id="fields-inherited-from-class-org.apache.hadoop.hbase.client.Row">Fields inherited from interface&nbsp;org.apache.hadoop.hbase.client.<a href="Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a></h3>
<code><a href="Row.html#COMPARATOR">COMPARATOR</a></code></div>
</section>
</li>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li>
<section class="constructor-summary" id="constructor-summary">
<h2>Constructor Summary</h2>
<div class="caption"><span>Constructors</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(byte%5B%5D)" class="member-name-link">Delete</a><wbr>(byte[]&nbsp;row)</code></div>
<div class="col-last even-row-color">
<div class="block">Create a Delete operation for the specified row.</div>
</div>
<div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(byte%5B%5D,int,int)" class="member-name-link">Delete</a><wbr>(byte[]&nbsp;row,
int&nbsp;rowOffset,
int&nbsp;rowLength)</code></div>
<div class="col-last odd-row-color">
<div class="block">Create a Delete operation for the specified row and timestamp.</div>
</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(byte%5B%5D,int,int,long)" class="member-name-link">Delete</a><wbr>(byte[]&nbsp;row,
int&nbsp;rowOffset,
int&nbsp;rowLength,
long&nbsp;timestamp)</code></div>
<div class="col-last even-row-color">
<div class="block">Create a Delete operation for the specified row and timestamp.</div>
</div>
<div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(byte%5B%5D,long)" class="member-name-link">Delete</a><wbr>(byte[]&nbsp;row,
long&nbsp;timestamp)</code></div>
<div class="col-last odd-row-color">
<div class="block">Create a Delete operation for the specified row and timestamp.</div>
</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(byte%5B%5D,long,java.util.NavigableMap)" class="member-name-link">Delete</a><wbr>(byte[]&nbsp;row,
long&nbsp;ts,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a>&lt;byte[],<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&gt;&nbsp;familyMap)</code></div>
<div class="col-last even-row-color">
<div class="block">Construct the Delete with user defined data.</div>
</div>
<div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(org.apache.hadoop.hbase.client.Delete)" class="member-name-link">Delete</a><wbr>(<a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;deleteToCopy)</code></div>
<div class="col-last odd-row-color">
<div class="block">Create a Delete operation using another Delete as template.</div>
</div>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#add(org.apache.hadoop.hbase.Cell)" class="member-name-link">add</a><wbr>(<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Add an existing delete marker to this Delete object.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addColumn(byte%5B%5D,byte%5B%5D)" class="member-name-link">addColumn</a><wbr>(byte[]&nbsp;family,
byte[]&nbsp;qualifier)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Delete the latest version of the specified column.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addColumn(byte%5B%5D,byte%5B%5D,long)" class="member-name-link">addColumn</a><wbr>(byte[]&nbsp;family,
byte[]&nbsp;qualifier,
long&nbsp;timestamp)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Delete the specified version of the specified column.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addColumns(byte%5B%5D,byte%5B%5D)" class="member-name-link">addColumns</a><wbr>(byte[]&nbsp;family,
byte[]&nbsp;qualifier)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Delete all versions of the specified column.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addColumns(byte%5B%5D,byte%5B%5D,long)" class="member-name-link">addColumns</a><wbr>(byte[]&nbsp;family,
byte[]&nbsp;qualifier,
long&nbsp;timestamp)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Delete all versions of the specified column with a timestamp less than or equal to the
specified timestamp.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addFamily(byte%5B%5D)" class="member-name-link">addFamily</a><wbr>(byte[]&nbsp;family)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Delete all versions of all columns of the specified family.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addFamily(byte%5B%5D,long)" class="member-name-link">addFamily</a><wbr>(byte[]&nbsp;family,
long&nbsp;timestamp)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Delete all columns of the specified family with a timestamp less than or equal to the specified
timestamp.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addFamilyVersion(byte%5B%5D,long)" class="member-name-link">addFamilyVersion</a><wbr>(byte[]&nbsp;family,
long&nbsp;timestamp)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Delete all columns of the specified family with a timestamp equal to the specified timestamp.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../CellBuilder.html" title="interface in org.apache.hadoop.hbase">CellBuilder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCellBuilder(org.apache.hadoop.hbase.CellBuilderType)" class="member-name-link">getCellBuilder</a><wbr>(<a href="../CellBuilderType.html" title="enum class in org.apache.hadoop.hbase">CellBuilderType</a>&nbsp;type)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">get a CellBuilder instance that already has relevant Type and Row set.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setACL(java.lang.String,org.apache.hadoop.hbase.security.access.Permission)" class="member-name-link">setACL</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;user,
<a href="../security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a>&nbsp;perms)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Set the ACL for this operation.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setACL(java.util.Map)" class="member-name-link">setACL</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>,<wbr><a href="../security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a>&gt;&nbsp;perms)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Set the ACL for this operation.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAttribute(java.lang.String,byte%5B%5D)" class="member-name-link">setAttribute</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;name,
byte[]&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Sets an attribute.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setCellVisibility(org.apache.hadoop.hbase.security.visibility.CellVisibility)" class="member-name-link">setCellVisibility</a><wbr>(<a href="../security/visibility/CellVisibility.html" title="class in org.apache.hadoop.hbase.security.visibility">CellVisibility</a>&nbsp;expression)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Sets the visibility expression associated with cells in this Mutation.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setClusterIds(java.util.List)" class="member-name-link">setClusterIds</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html" title="class or interface in java.util" class="external-link">UUID</a>&gt;&nbsp;clusterIds)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Marks that the clusters with the given clusterIds have consumed the mutation</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDurability(org.apache.hadoop.hbase.client.Durability)" class="member-name-link">setDurability</a><wbr>(<a href="Durability.html" title="enum class in org.apache.hadoop.hbase.client">Durability</a>&nbsp;d)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Set the durability for this mutation</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setId(java.lang.String)" class="member-name-link">setId</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;id)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">This method allows you to set an identifier on an operation.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPriority(int)" class="member-name-link">setPriority</a><wbr>(int&nbsp;priority)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setTimestamp(long)" class="member-name-link">setTimestamp</a><wbr>(long&nbsp;timestamp)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Set the timestamp of the delete.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setTTL(long)" class="member-name-link">setTTL</a><wbr>(long&nbsp;ttl)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Set the TTL desired for the result of the mutation, in milliseconds.</div>
</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.apache.hadoop.hbase.client.Mutation">Methods inherited from class&nbsp;org.apache.hadoop.hbase.client.<a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></h3>
<code><a href="Mutation.html#cellScanner()">cellScanner</a>, <a href="Mutation.html#checkRow(byte%5B%5D)">checkRow</a>, <a href="Mutation.html#checkRow(byte%5B%5D,int,int)">checkRow</a>, <a href="Mutation.html#checkRow(java.nio.ByteBuffer)">checkRow</a>, <a href="Mutation.html#checkTimestamp(long)">checkTimestamp</a>, <a href="Mutation.html#createPutKeyValue(byte%5B%5D,byte%5B%5D,long,byte%5B%5D)">createPutKeyValue</a>, <a href="Mutation.html#createPutKeyValue(byte%5B%5D,byte%5B%5D,long,byte%5B%5D,org.apache.hadoop.hbase.Tag%5B%5D)">createPutKeyValue</a>, <a href="Mutation.html#createPutKeyValue(byte%5B%5D,java.nio.ByteBuffer,long,java.nio.ByteBuffer,org.apache.hadoop.hbase.Tag%5B%5D)">createPutKeyValue</a>, <a href="Mutation.html#extraHeapSize()">extraHeapSize</a>, <a href="Mutation.html#get(byte%5B%5D,byte%5B%5D)">get</a>, <a href="Mutation.html#getACL()">getACL</a>, <a href="Mutation.html#getCellBuilder()">getCellBuilder</a>, <a href="Mutation.html#getCellBuilder(org.apache.hadoop.hbase.CellBuilderType,org.apache.hadoop.hbase.Cell.Type)">getCellBuilder</a>, <a href="Mutation.html#getCellList(byte%5B%5D)">getCellList</a>, <a href="Mutation.html#getCellVisibility()">getCellVisibility</a>, <a href="Mutation.html#getClusterIds()">getClusterIds</a>, <a href="Mutation.html#getDurability()">getDurability</a>, <a href="Mutation.html#getFamilyCellMap()">getFamilyCellMap</a>, <a href="Mutation.html#getFingerprint()">getFingerprint</a>, <a href="Mutation.html#getRow()">getRow</a>, <a href="Mutation.html#getTimestamp()">getTimestamp</a>, <a href="Mutation.html#getTTL()">getTTL</a>, <a href="Mutation.html#has(byte%5B%5D,byte%5B%5D)">has</a>, <a href="Mutation.html#has(byte%5B%5D,byte%5B%5D,byte%5B%5D)">has</a>, <a href="Mutation.html#has(byte%5B%5D,byte%5B%5D,long)">has</a>, <a href="Mutation.html#has(byte%5B%5D,byte%5B%5D,long,byte%5B%5D)">has</a>, <a href="Mutation.html#has(byte%5B%5D,byte%5B%5D,long,byte%5B%5D,boolean,boolean)">has</a>, <a href="Mutation.html#heapSize()">heapSize</a>, <a href="Mutation.html#isEmpty()">isEmpty</a>, <a href="Mutation.html#isReturnResults()">isReturnResults</a>, <a href="Mutation.html#numFamilies()">numFamilies</a>, <a href="Mutation.html#setReturnResults(boolean)">setReturnResults</a>, <a href="Mutation.html#size()">size</a>, <a href="Mutation.html#toCellVisibility(org.apache.hadoop.hbase.security.visibility.CellVisibility)">toCellVisibility</a>, <a href="Mutation.html#toMap(int)">toMap</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.apache.hadoop.hbase.client.OperationWithAttributes">Methods inherited from class&nbsp;org.apache.hadoop.hbase.client.<a href="OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">OperationWithAttributes</a></h3>
<code><a href="OperationWithAttributes.html#getAttribute(java.lang.String)">getAttribute</a>, <a href="OperationWithAttributes.html#getAttributeSize()">getAttributeSize</a>, <a href="OperationWithAttributes.html#getAttributesMap()">getAttributesMap</a>, <a href="OperationWithAttributes.html#getId()">getId</a>, <a href="OperationWithAttributes.html#getPriority()">getPriority</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.apache.hadoop.hbase.client.Operation">Methods inherited from class&nbsp;org.apache.hadoop.hbase.client.<a href="Operation.html" title="class in org.apache.hadoop.hbase.client">Operation</a></h3>
<code><a href="Operation.html#toJSON()">toJSON</a>, <a href="Operation.html#toJSON(int)">toJSON</a>, <a href="Operation.html#toMap()">toMap</a>, <a href="Operation.html#toString()">toString</a>, <a href="Operation.html#toString(int)">toString</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<li>
<section class="constructor-details" id="constructor-detail">
<h2>Constructor Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="&lt;init&gt;(byte[])">
<h3>Delete</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-74">Delete</a></span><wbr><span class="parameters">(byte[]&nbsp;row)</span></div>
<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 class="notes">
<dt>Parameters:</dt>
<dd><code>row</code> - row key</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(byte[],long)">
<h3>Delete</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-89">Delete</a></span><wbr><span class="parameters">(byte[]&nbsp;row,
long&nbsp;timestamp)</span></div>
<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 class="notes">
<dt>Parameters:</dt>
<dd><code>row</code> - row key</dd>
<dd><code>timestamp</code> - maximum version timestamp (only for delete row)</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(byte[],int,int)">
<h3>Delete</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-103">Delete</a></span><wbr><span class="parameters">(byte[]&nbsp;row,
int&nbsp;rowOffset,
int&nbsp;rowLength)</span></div>
<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 class="notes">
<dt>Parameters:</dt>
<dd><code>row</code> - We make a local copy of this passed in row.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(byte[],int,int,long)">
<h3>Delete</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-116">Delete</a></span><wbr><span class="parameters">(byte[]&nbsp;row,
int&nbsp;rowOffset,
int&nbsp;rowLength,
long&nbsp;timestamp)</span></div>
<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>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(org.apache.hadoop.hbase.client.Delete)">
<h3>Delete</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-126">Delete</a></span><wbr><span class="parameters">(<a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>&nbsp;deleteToCopy)</span></div>
<div class="block">Create a Delete operation using another Delete as template.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>deleteToCopy</code> - delete to copy</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(byte[],long,java.util.NavigableMap)">
<h3>Delete</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-138">Delete</a></span><wbr><span class="parameters">(byte[]&nbsp;row,
long&nbsp;ts,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a>&lt;byte[],<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&gt;&nbsp;familyMap)</span></div>
<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="../Cell.Type.html" title="enum class in org.apache.hadoop.hbase"><code>Cell.Type</code></a> 2) the row of each cell must be same
with passed row.</div>
<dl class="notes">
<dt>Parameters:</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>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method-detail">
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="add(org.apache.hadoop.hbase.Cell)">
<h3>add</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-147">add</a></span><wbr><span class="parameters">(<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</span>
throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div>
<div class="block">Add an existing delete marker to this Delete object.</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Mutation.html#add(org.apache.hadoop.hbase.Cell)">add</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
<dt>Parameters:</dt>
<dd><code>cell</code> - An existing cell of type "delete".</dd>
<dt>Returns:</dt>
<dd>this for invocation chaining</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addFamily(byte[])">
<h3>addFamily</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-160">addFamily</a></span><wbr><span class="parameters">(byte[]&nbsp;family)</span></div>
<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 class="notes">
<dt>Parameters:</dt>
<dd><code>family</code> - family name</dd>
<dt>Returns:</dt>
<dd>this for invocation chaining</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addFamily(byte[],long)">
<h3>addFamily</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-174">addFamily</a></span><wbr><span class="parameters">(byte[]&nbsp;family,
long&nbsp;timestamp)</span></div>
<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 class="notes">
<dt>Parameters:</dt>
<dd><code>family</code> - family name</dd>
<dd><code>timestamp</code> - maximum version timestamp</dd>
<dt>Returns:</dt>
<dd>this for invocation chaining</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addFamilyVersion(byte[],long)">
<h3>addFamilyVersion</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-191">addFamilyVersion</a></span><wbr><span class="parameters">(byte[]&nbsp;family,
long&nbsp;timestamp)</span></div>
<div class="block">Delete all columns of the specified family with a timestamp equal to the specified timestamp.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>family</code> - family name</dd>
<dd><code>timestamp</code> - version timestamp</dd>
<dt>Returns:</dt>
<dd>this for invocation chaining</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addColumns(byte[],byte[])">
<h3>addColumns</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-204">addColumns</a></span><wbr><span class="parameters">(byte[]&nbsp;family,
byte[]&nbsp;qualifier)</span></div>
<div class="block">Delete all versions of the specified column.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>family</code> - family name</dd>
<dd><code>qualifier</code> - column qualifier</dd>
<dt>Returns:</dt>
<dd>this for invocation chaining</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addColumns(byte[],byte[],long)">
<h3>addColumns</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-217">addColumns</a></span><wbr><span class="parameters">(byte[]&nbsp;family,
byte[]&nbsp;qualifier,
long&nbsp;timestamp)</span></div>
<div class="block">Delete all versions of the specified column with a timestamp less than or equal to the
specified timestamp.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>family</code> - family name</dd>
<dd><code>qualifier</code> - column qualifier</dd>
<dd><code>timestamp</code> - maximum version timestamp</dd>
<dt>Returns:</dt>
<dd>this for invocation chaining</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addColumn(byte[],byte[])">
<h3>addColumn</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-232">addColumn</a></span><wbr><span class="parameters">(byte[]&nbsp;family,
byte[]&nbsp;qualifier)</span></div>
<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 class="notes">
<dt>Parameters:</dt>
<dd><code>family</code> - family name</dd>
<dd><code>qualifier</code> - column qualifier</dd>
<dt>Returns:</dt>
<dd>this for invocation chaining</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addColumn(byte[],byte[],long)">
<h3>addColumn</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-244">addColumn</a></span><wbr><span class="parameters">(byte[]&nbsp;family,
byte[]&nbsp;qualifier,
long&nbsp;timestamp)</span></div>
<div class="block">Delete the specified version of the specified column.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>family</code> - family name</dd>
<dd><code>qualifier</code> - column qualifier</dd>
<dd><code>timestamp</code> - version timestamp</dd>
<dt>Returns:</dt>
<dd>this for invocation chaining</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setTimestamp(long)">
<h3>setTimestamp</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-252">setTimestamp</a></span><wbr><span class="parameters">(long&nbsp;timestamp)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="Mutation.html#setTimestamp(long)">Mutation</a></code></span></div>
<div class="block">Set the timestamp of the delete.</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Mutation.html#setTimestamp(long)">setTimestamp</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setAttribute(java.lang.String,byte[])">
<h3>setAttribute</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-258">setAttribute</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;name,
byte[]&nbsp;value)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from interface:&nbsp;<code><a href="Attributes.html#setAttribute(java.lang.String,byte%5B%5D)">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 class="notes">
<dt>Specified by:</dt>
<dd><code><a href="Attributes.html#setAttribute(java.lang.String,byte%5B%5D)">setAttribute</a></code>&nbsp;in interface&nbsp;<code><a href="Attributes.html" title="interface in org.apache.hadoop.hbase.client">Attributes</a></code></dd>
<dt>Overrides:</dt>
<dd><code><a href="OperationWithAttributes.html#setAttribute(java.lang.String,byte%5B%5D)">setAttribute</a></code>&nbsp;in class&nbsp;<code><a href="OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">OperationWithAttributes</a></code></dd>
<dt>Parameters:</dt>
<dd><code>name</code> - attribute name</dd>
<dd><code>value</code> - attribute value</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setId(java.lang.String)">
<h3>setId</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-263">setId</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;id)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="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. id to set for the scan</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="OperationWithAttributes.html#setId(java.lang.String)">setId</a></code>&nbsp;in class&nbsp;<code><a href="OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">OperationWithAttributes</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setDurability(org.apache.hadoop.hbase.client.Durability)">
<h3>setDurability</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-268">setDurability</a></span><wbr><span class="parameters">(<a href="Durability.html" title="enum class in org.apache.hadoop.hbase.client">Durability</a>&nbsp;d)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="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 class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Mutation.html#setDurability(org.apache.hadoop.hbase.client.Durability)">setDurability</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setClusterIds(java.util.List)">
<h3>setClusterIds</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-273">setClusterIds</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html" title="class or interface in java.util" class="external-link">UUID</a>&gt;&nbsp;clusterIds)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="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 class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Mutation.html#setClusterIds(java.util.List)">setClusterIds</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
<dt>Parameters:</dt>
<dd><code>clusterIds</code> - of the clusters that have consumed the mutation</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setCellVisibility(org.apache.hadoop.hbase.security.visibility.CellVisibility)">
<h3>setCellVisibility</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-278">setCellVisibility</a></span><wbr><span class="parameters">(<a href="../security/visibility/CellVisibility.html" title="class in org.apache.hadoop.hbase.security.visibility">CellVisibility</a>&nbsp;expression)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="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 class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Mutation.html#setCellVisibility(org.apache.hadoop.hbase.security.visibility.CellVisibility)">setCellVisibility</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setACL(java.lang.String,org.apache.hadoop.hbase.security.access.Permission)">
<h3>setACL</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-283">setACL</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;user,
<a href="../security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a>&nbsp;perms)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="Mutation.html#setACL(java.lang.String,org.apache.hadoop.hbase.security.access.Permission)">Mutation</a></code></span></div>
<div class="block">Set the ACL for this operation.</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Mutation.html#setACL(java.lang.String,org.apache.hadoop.hbase.security.access.Permission)">setACL</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
<dt>Parameters:</dt>
<dd><code>user</code> - User short name</dd>
<dd><code>perms</code> - Permissions for the user</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setACL(java.util.Map)">
<h3>setACL</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-288">setACL</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>,<wbr><a href="../security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a>&gt;&nbsp;perms)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="Mutation.html#setACL(java.util.Map)">Mutation</a></code></span></div>
<div class="block">Set the ACL for this operation.</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Mutation.html#setACL(java.util.Map)">setACL</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
<dt>Parameters:</dt>
<dd><code>perms</code> - A map of permissions for a user or users</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setTTL(long)">
<h3>setTTL</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-293">setTTL</a></span><wbr><span class="parameters">(long&nbsp;ttl)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="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 class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Mutation.html#setTTL(long)">setTTL</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
<dt>Parameters:</dt>
<dd><code>ttl</code> - the TTL desired for the result of the mutation, in milliseconds</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setPriority(int)">
<h3>setPriority</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-298">setPriority</a></span><wbr><span class="parameters">(int&nbsp;priority)</span></div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="OperationWithAttributes.html#setPriority(int)">setPriority</a></code>&nbsp;in class&nbsp;<code><a href="OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">OperationWithAttributes</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getCellBuilder(org.apache.hadoop.hbase.CellBuilderType)">
<h3>getCellBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="../CellBuilder.html" title="interface in org.apache.hadoop.hbase">CellBuilder</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Delete.html#line-303">getCellBuilder</a></span><wbr><span class="parameters">(<a href="../CellBuilderType.html" title="enum class in org.apache.hadoop.hbase">CellBuilderType</a>&nbsp;type)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="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 class="notes">
<dt>Specified by:</dt>
<dd><code><a href="Mutation.html#getCellBuilder(org.apache.hadoop.hbase.CellBuilderType)">getCellBuilder</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
<dt>Parameters:</dt>
<dd><code>type</code> - e.g CellBuilderType.SHALLOW_COPY</dd>
<dt>Returns:</dt>
<dd>CellBuilder which already has relevant Type and Row set.</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
<footer role="contentinfo">
<hr>
<p class="legal-copy"><small>Copyright &#169; 2007&#x2013;2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>