blob: 2f8353ca23b3eada3f2565eff582f6cd97f3a94a [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_201) on Thu Apr 11 20:05:13 EDT 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Condition (Apache Accumulo Project 1.9.3 API)</title>
<meta name="date" content="2019-04-11">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Condition (Apache Accumulo Project 1.9.3 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};
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/Condition.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/accumulo/core/data/ComparableBytes.html" title="class in org.apache.accumulo.core.data"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/accumulo/core/data/ConditionalMutation.html" title="class in org.apache.accumulo.core.data"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/accumulo/core/data/Condition.html" target="_top">Frames</a></li>
<li><a href="Condition.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>Field&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.accumulo.core.data</div>
<h2 title="Class Condition" class="title">Class Condition</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.accumulo.core.data.Condition</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">Condition</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Conditions that must be met on a particular column in a row.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.6.0</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Condition.html#Condition-byte:A-byte:A-">Condition</a></span>(byte[]&nbsp;cf,
byte[]&nbsp;cq)</code>
<div class="block">Creates a new condition.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Condition.html#Condition-org.apache.accumulo.core.data.ByteSequence-org.apache.accumulo.core.data.ByteSequence-">Condition</a></span>(<a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a>&nbsp;cf,
<a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a>&nbsp;cq)</code>
<div class="block">Creates a new condition.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Condition.html#Condition-java.lang.CharSequence-java.lang.CharSequence-">Condition</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cq)</code>
<div class="block">Creates a new condition.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Condition.html#Condition-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-">Condition</a></span>(org.apache.hadoop.io.Text&nbsp;cf,
org.apache.hadoop.io.Text&nbsp;cq)</code>
<div class="block">Creates a new condition.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="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>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Condition.html#equals-java.lang.Object-">equals</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Condition.html#getFamily--">getFamily</a></span>()</code>
<div class="block">Gets the column family of this condition.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/accumulo/core/client/IteratorSetting.html" title="class in org.apache.accumulo.core.client">IteratorSetting</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Condition.html#getIterators--">getIterators</a></span>()</code>
<div class="block">Gets the iterators for this condition.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Condition.html#getQualifier--">getQualifier</a></span>()</code>
<div class="block">Gets the column qualifier of this condition.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Condition.html#getTimestamp--">getTimestamp</a></span>()</code>
<div class="block">Gets the timestamp of this condition.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Condition.html#getValue--">getValue</a></span>()</code>
<div class="block">Gets the value of this condition.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Condition.html#getVisibility--">getVisibility</a></span>()</code>
<div class="block">Gets the column visibility of this condition.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Condition.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/accumulo/core/data/Condition.html" title="class in org.apache.accumulo.core.data">Condition</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Condition.html#setIterators-org.apache.accumulo.core.client.IteratorSetting...-">setIterators</a></span>(<a href="../../../../../org/apache/accumulo/core/client/IteratorSetting.html" title="class in org.apache.accumulo.core.client">IteratorSetting</a>...&nbsp;iterators)</code>
<div class="block">Set iterators to use when reading the columns value.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/accumulo/core/data/Condition.html" title="class in org.apache.accumulo.core.data">Condition</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Condition.html#setTimestamp-long-">setTimestamp</a></span>(long&nbsp;ts)</code>
<div class="block">Sets the version for the column to check.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/accumulo/core/data/Condition.html" title="class in org.apache.accumulo.core.data">Condition</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Condition.html#setValue-byte:A-">setValue</a></span>(byte[]&nbsp;value)</code>
<div class="block">This method sets the expected value of a column.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/accumulo/core/data/Condition.html" title="class in org.apache.accumulo.core.data">Condition</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Condition.html#setValue-org.apache.accumulo.core.data.ByteSequence-">setValue</a></span>(<a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a>&nbsp;value)</code>
<div class="block">This method sets the expected value of a column.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/accumulo/core/data/Condition.html" title="class in org.apache.accumulo.core.data">Condition</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Condition.html#setValue-java.lang.CharSequence-">setValue</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;value)</code>
<div class="block">This method sets the expected value of a column.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/accumulo/core/data/Condition.html" title="class in org.apache.accumulo.core.data">Condition</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Condition.html#setValue-org.apache.hadoop.io.Text-">setValue</a></span>(org.apache.hadoop.io.Text&nbsp;value)</code>
<div class="block">This method sets the expected value of a column.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/accumulo/core/data/Condition.html" title="class in org.apache.accumulo.core.data">Condition</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/accumulo/core/data/Condition.html#setVisibility-org.apache.accumulo.core.security.ColumnVisibility-">setVisibility</a></span>(<a href="../../../../../org/apache/accumulo/core/security/ColumnVisibility.html" title="class in org.apache.accumulo.core.security">ColumnVisibility</a>&nbsp;cv)</code>
<div class="block">Sets the visibility for the column to check.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&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#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</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="Condition-java.lang.CharSequence-java.lang.CharSequence-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Condition</h4>
<pre>public&nbsp;Condition(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cq)</pre>
<div class="block">Creates a new condition. The initial column value and timestamp are null, and the initial
column visibility is empty. Characters in the column family and column qualifier are encoded as
bytes in the condition using UTF-8.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cf</code> - column family</dd>
<dd><code>cq</code> - column qualifier</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if any argument is null</dd>
</dl>
</li>
</ul>
<a name="Condition-byte:A-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Condition</h4>
<pre>public&nbsp;Condition(byte[]&nbsp;cf,
byte[]&nbsp;cq)</pre>
<div class="block">Creates a new condition. The initial column value and timestamp are null, and the initial
column visibility is empty.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cf</code> - column family</dd>
<dd><code>cq</code> - column qualifier</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if any argument is null</dd>
</dl>
</li>
</ul>
<a name="Condition-org.apache.hadoop.io.Text-org.apache.hadoop.io.Text-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Condition</h4>
<pre>public&nbsp;Condition(org.apache.hadoop.io.Text&nbsp;cf,
org.apache.hadoop.io.Text&nbsp;cq)</pre>
<div class="block">Creates a new condition. The initial column value and timestamp are null, and the initial
column visibility is empty.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cf</code> - column family</dd>
<dd><code>cq</code> - column qualifier</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if any argument is null</dd>
</dl>
</li>
</ul>
<a name="Condition-org.apache.accumulo.core.data.ByteSequence-org.apache.accumulo.core.data.ByteSequence-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Condition</h4>
<pre>public&nbsp;Condition(<a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a>&nbsp;cf,
<a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a>&nbsp;cq)</pre>
<div class="block">Creates a new condition. The initial column value and timestamp are null, and the initial
column visibility is empty.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cf</code> - column family</dd>
<dd><code>cq</code> - column qualifier</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if any argument is 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="getFamily--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFamily</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a>&nbsp;getFamily()</pre>
<div class="block">Gets the column family of this condition.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>column family</dd>
</dl>
</li>
</ul>
<a name="getQualifier--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getQualifier</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a>&nbsp;getQualifier()</pre>
<div class="block">Gets the column qualifier of this condition.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>column qualifier</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/accumulo/core/data/Condition.html" title="class in org.apache.accumulo.core.data">Condition</a>&nbsp;setTimestamp(long&nbsp;ts)</pre>
<div class="block">Sets the version for the column to check. If this is not set then the latest column will be
checked, unless iterators do something different.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ts</code> - timestamp</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this condition</dd>
</dl>
</li>
</ul>
<a name="getTimestamp--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTimestamp</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&nbsp;getTimestamp()</pre>
<div class="block">Gets the timestamp of this condition.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>timestamp</dd>
</dl>
</li>
</ul>
<a name="setValue-java.lang.CharSequence-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValue</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/accumulo/core/data/Condition.html" title="class in org.apache.accumulo.core.data">Condition</a>&nbsp;setValue(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;value)</pre>
<div class="block">This method sets the expected value of a column. In order for the condition to pass the column
must exist and have this value. If a value is not set, then the column must be absent for the
condition to pass. The passed-in character sequence is encoded as UTF-8. See
<a href="../../../../../org/apache/accumulo/core/data/Condition.html#setValue-byte:A-"><code>setValue(byte[])</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - value</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this condition</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if value is null</dd>
</dl>
</li>
</ul>
<a name="setValue-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValue</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/accumulo/core/data/Condition.html" title="class in org.apache.accumulo.core.data">Condition</a>&nbsp;setValue(byte[]&nbsp;value)</pre>
<div class="block">This method sets the expected value of a column. In order for the condition to pass the column
must exist and have this value. If a value is not set, then the column must be absent for the
condition to pass.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - value</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this condition</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if value is null</dd>
</dl>
</li>
</ul>
<a name="setValue-org.apache.hadoop.io.Text-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValue</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/accumulo/core/data/Condition.html" title="class in org.apache.accumulo.core.data">Condition</a>&nbsp;setValue(org.apache.hadoop.io.Text&nbsp;value)</pre>
<div class="block">This method sets the expected value of a column. In order for the condition to pass the column
must exist and have this value. If a value is not set, then the column must be absent for the
condition to pass. See <a href="../../../../../org/apache/accumulo/core/data/Condition.html#setValue-byte:A-"><code>setValue(byte[])</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - value</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this condition</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if value is null</dd>
</dl>
</li>
</ul>
<a name="setValue-org.apache.accumulo.core.data.ByteSequence-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValue</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/accumulo/core/data/Condition.html" title="class in org.apache.accumulo.core.data">Condition</a>&nbsp;setValue(<a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a>&nbsp;value)</pre>
<div class="block">This method sets the expected value of a column. In order for the condition to pass the column
must exist and have this value. If a value is not set, then the column must be absent for the
condition to pass. See <a href="../../../../../org/apache/accumulo/core/data/Condition.html#setValue-byte:A-"><code>setValue(byte[])</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - value</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this condition</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if value is null</dd>
</dl>
</li>
</ul>
<a name="getValue--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValue</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a>&nbsp;getValue()</pre>
<div class="block">Gets the value of this condition.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>value</dd>
</dl>
</li>
</ul>
<a name="setVisibility-org.apache.accumulo.core.security.ColumnVisibility-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setVisibility</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/accumulo/core/data/Condition.html" title="class in org.apache.accumulo.core.data">Condition</a>&nbsp;setVisibility(<a href="../../../../../org/apache/accumulo/core/security/ColumnVisibility.html" title="class in org.apache.accumulo.core.security">ColumnVisibility</a>&nbsp;cv)</pre>
<div class="block">Sets the visibility for the column to check. If not set it defaults to empty visibility.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cv</code> - column visibility</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if cv is null</dd>
</dl>
</li>
</ul>
<a name="getVisibility--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVisibility</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/accumulo/core/data/ByteSequence.html" title="class in org.apache.accumulo.core.data">ByteSequence</a>&nbsp;getVisibility()</pre>
<div class="block">Gets the column visibility of this condition.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>column visibility</dd>
</dl>
</li>
</ul>
<a name="setIterators-org.apache.accumulo.core.client.IteratorSetting...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIterators</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/accumulo/core/data/Condition.html" title="class in org.apache.accumulo.core.data">Condition</a>&nbsp;setIterators(<a href="../../../../../org/apache/accumulo/core/client/IteratorSetting.html" title="class in org.apache.accumulo.core.client">IteratorSetting</a>...&nbsp;iterators)</pre>
<div class="block">Set iterators to use when reading the columns value. These iterators will be applied in
addition to the iterators configured for the table. Using iterators its possible to test other
conditions, besides equality and absence, like less than. On the server side the iterators will
be seeked using a range that covers only the family, qualifier, and visibility (if the
timestamp is set then it will be used to narrow the range). Value equality will be tested using
the first entry returned by the iterator stack.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>iterators</code> - iterators</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this condition</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if iterators or any of its elements are null, or if any two iterators share the same
name or priority</dd>
</dl>
</li>
</ul>
<a name="getIterators--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIterators</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/accumulo/core/client/IteratorSetting.html" title="class in org.apache.accumulo.core.client">IteratorSetting</a>[]&nbsp;getIterators()</pre>
<div class="block">Gets the iterators for this condition.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>iterators</dd>
</dl>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
</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/Condition.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/accumulo/core/data/ComparableBytes.html" title="class in org.apache.accumulo.core.data"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/accumulo/core/data/ConditionalMutation.html" title="class in org.apache.accumulo.core.data"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/accumulo/core/data/Condition.html" target="_top">Frames</a></li>
<li><a href="Condition.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>Field&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; 2011&#x2013;2019 <a href="https://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>