<!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 (version 1.7.0_80) on Thu Jun 18 14:08:33 EDT 2015 -->
<title>UpdateStatement (apache-cassandra API)</title>
<meta name="date" content="2015-06-18">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="UpdateStatement (apache-cassandra API)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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/UpdateStatement.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/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/cassandra/cql/WhereClause.html" title="class in org.apache.cassandra.cql"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/cassandra/cql/UpdateStatement.html" target="_top">Frames</a></li>
<li><a href="UpdateStatement.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#fields_inherited_from_class_org.apache.cassandra.cql.AbstractModification">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.cassandra.cql</div>
<h2 title="Class UpdateStatement" class="title">Class UpdateStatement</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/apache/cassandra/cql/AbstractModification.html" title="class in org.apache.cassandra.cql">org.apache.cassandra.cql.AbstractModification</a></li>
<li>
<ul class="inheritance">
<li>org.apache.cassandra.cql.UpdateStatement</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">UpdateStatement</span>
extends <a href="../../../../org/apache/cassandra/cql/AbstractModification.html" title="class in org.apache.cassandra.cql">AbstractModification</a></pre>
<div class="block">An <code>UPDATE</code> statement parsed from a CQL query statement.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.apache.cassandra.cql.AbstractModification">
<!--   -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.cassandra.cql.<a href="../../../../org/apache/cassandra/cql/AbstractModification.html" title="class in org.apache.cassandra.cql">AbstractModification</a></h3>
<code><a href="../../../../org/apache/cassandra/cql/AbstractModification.html#cLevel">cLevel</a>, <a href="../../../../org/apache/cassandra/cql/AbstractModification.html#columnFamily">columnFamily</a>, <a href="../../../../org/apache/cassandra/cql/AbstractModification.html#defaultConsistency">defaultConsistency</a>, <a href="../../../../org/apache/cassandra/cql/AbstractModification.html#keyName">keyName</a>, <a href="../../../../org/apache/cassandra/cql/AbstractModification.html#keyspace">keyspace</a>, <a href="../../../../org/apache/cassandra/cql/AbstractModification.html#timestamp">timestamp</a>, <a href="../../../../org/apache/cassandra/cql/AbstractModification.html#timeToLive">timeToLive</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" 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><strong><a href="../../../../org/apache/cassandra/cql/UpdateStatement.html#UpdateStatement(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.List,%20java.util.List,%20java.util.List,%20org.apache.cassandra.cql.Attributes)">UpdateStatement</a></strong>(java.lang.String&nbsp;keyspace,
               java.lang.String&nbsp;columnFamily,
               java.lang.String&nbsp;keyName,
               java.util.List&lt;<a href="../../../../org/apache/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql">Term</a>&gt;&nbsp;columnNames,
               java.util.List&lt;<a href="../../../../org/apache/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql">Term</a>&gt;&nbsp;columnValues,
               java.util.List&lt;<a href="../../../../org/apache/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql">Term</a>&gt;&nbsp;keys,
               <a href="../../../../org/apache/cassandra/cql/Attributes.html" title="class in org.apache.cassandra.cql">Attributes</a>&nbsp;attrs)</code>
<div class="block">Creates a new UpdateStatement from a column family name, a consistency level,
 key, and lists of column names and values.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/cassandra/cql/UpdateStatement.html#UpdateStatement(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.Map,%20java.util.List,%20org.apache.cassandra.cql.Attributes)">UpdateStatement</a></strong>(java.lang.String&nbsp;keyspace,
               java.lang.String&nbsp;columnFamily,
               java.lang.String&nbsp;keyName,
               java.util.Map&lt;<a href="../../../../org/apache/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql">Term</a>,<a href="../../../../org/apache/cassandra/cql/Operation.html" title="class in org.apache.cassandra.cql">Operation</a>&gt;&nbsp;columns,
               java.util.List&lt;<a href="../../../../org/apache/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql">Term</a>&gt;&nbsp;keys,
               <a href="../../../../org/apache/cassandra/cql/Attributes.html" title="class in org.apache.cassandra.cql">Attributes</a>&nbsp;attrs)</code>
<div class="block">Creates a new UpdateStatement from a column family name, columns map, consistency
 level, and key term.</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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/cql/UpdateStatement.html#getColumnFamily()">getColumnFamily</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../../org/apache/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql">Term</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/cql/UpdateStatement.html#getColumnNames()">getColumnNames</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.Map&lt;<a href="../../../../org/apache/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql">Term</a>,<a href="../../../../org/apache/cassandra/cql/Operation.html" title="class in org.apache.cassandra.cql">Operation</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/cql/UpdateStatement.html#getColumns()">getColumns</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../../org/apache/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql">Term</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/cql/UpdateStatement.html#getColumnValues()">getColumnValues</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/cassandra/db/marshal/AbstractType.html" title="class in org.apache.cassandra.db.marshal">AbstractType</a>&lt;?&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/cql/UpdateStatement.html#getComparator(java.lang.String)">getComparator</a></strong>(java.lang.String&nbsp;keyspace)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/cassandra/db/ConsistencyLevel.html" title="enum in org.apache.cassandra.db">ConsistencyLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/cql/UpdateStatement.html#getConsistencyLevel()">getConsistencyLevel</a></strong>()</code>
<div class="block">Returns the consistency level of this <code>UPDATE</code> statement, either
 one parsed from the CQL statement, or the default level otherwise.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../../org/apache/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql">Term</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/cql/UpdateStatement.html#getKeys()">getKeys</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/cassandra/db/marshal/AbstractType.html" title="class in org.apache.cassandra.db.marshal">AbstractType</a>&lt;?&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/cql/UpdateStatement.html#getKeyType(java.lang.String)">getKeyType</a></strong>(java.lang.String&nbsp;keyspace)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/cql/UpdateStatement.html#isSetConsistencyLevel()">isSetConsistencyLevel</a></strong>()</code>
<div class="block">True if an explicit consistency level was parsed from the statement.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../../org/apache/cassandra/db/IMutation.html" title="interface in org.apache.cassandra.db">IMutation</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/cql/UpdateStatement.html#prepareRowMutations(java.lang.String,%20org.apache.cassandra.thrift.ThriftClientState,%20java.util.List)">prepareRowMutations</a></strong>(java.lang.String&nbsp;keyspace,
                   <a href="../../../../org/apache/cassandra/thrift/ThriftClientState.html" title="class in org.apache.cassandra.thrift">ThriftClientState</a>&nbsp;clientState,
                   java.util.List&lt;java.nio.ByteBuffer&gt;&nbsp;variables)</code>
<div class="block">Convert statement into a list of mutations to apply on the server</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../../org/apache/cassandra/db/IMutation.html" title="interface in org.apache.cassandra.db">IMutation</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/cql/UpdateStatement.html#prepareRowMutations(java.lang.String,%20org.apache.cassandra.thrift.ThriftClientState,%20java.lang.Long,%20java.util.List)">prepareRowMutations</a></strong>(java.lang.String&nbsp;keyspace,
                   <a href="../../../../org/apache/cassandra/thrift/ThriftClientState.html" title="class in org.apache.cassandra.thrift">ThriftClientState</a>&nbsp;clientState,
                   java.lang.Long&nbsp;timestamp,
                   java.util.List&lt;java.nio.ByteBuffer&gt;&nbsp;variables)</code>
<div class="block">Convert statement into a list of mutations to apply on the server</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/cql/UpdateStatement.html#toString()">toString</a></strong>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.cassandra.cql.AbstractModification">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.cassandra.cql.<a href="../../../../org/apache/cassandra/cql/AbstractModification.html" title="class in org.apache.cassandra.cql">AbstractModification</a></h3>
<code><a href="../../../../org/apache/cassandra/cql/AbstractModification.html#getKeyName()">getKeyName</a>, <a href="../../../../org/apache/cassandra/cql/AbstractModification.html#getKeyspace()">getKeyspace</a>, <a href="../../../../org/apache/cassandra/cql/AbstractModification.html#getTimestamp(org.apache.cassandra.thrift.ThriftClientState)">getTimestamp</a>, <a href="../../../../org/apache/cassandra/cql/AbstractModification.html#getTimeToLive()">getTimeToLive</a>, <a href="../../../../org/apache/cassandra/cql/AbstractModification.html#isSetTimestamp()">isSetTimestamp</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</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="UpdateStatement(java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.util.List, org.apache.cassandra.cql.Attributes)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UpdateStatement</h4>
<pre>public&nbsp;UpdateStatement(java.lang.String&nbsp;keyspace,
               java.lang.String&nbsp;columnFamily,
               java.lang.String&nbsp;keyName,
               java.util.Map&lt;<a href="../../../../org/apache/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql">Term</a>,<a href="../../../../org/apache/cassandra/cql/Operation.html" title="class in org.apache.cassandra.cql">Operation</a>&gt;&nbsp;columns,
               java.util.List&lt;<a href="../../../../org/apache/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql">Term</a>&gt;&nbsp;keys,
               <a href="../../../../org/apache/cassandra/cql/Attributes.html" title="class in org.apache.cassandra.cql">Attributes</a>&nbsp;attrs)</pre>
<div class="block">Creates a new UpdateStatement from a column family name, columns map, consistency
 level, and key term.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>keyspace</code> - Keyspace (optional)</dd><dd><code>columnFamily</code> - column family name</dd><dd><code>keyName</code> - alias key name</dd><dd><code>columns</code> - a map of column name/values pairs</dd><dd><code>keys</code> - the keys to update</dd><dd><code>attrs</code> - additional attributes for statement (CL, timestamp, timeToLive)</dd></dl>
</li>
</ul>
<a name="UpdateStatement(java.lang.String, java.lang.String, java.lang.String, java.util.List, java.util.List, java.util.List, org.apache.cassandra.cql.Attributes)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>UpdateStatement</h4>
<pre>public&nbsp;UpdateStatement(java.lang.String&nbsp;keyspace,
               java.lang.String&nbsp;columnFamily,
               java.lang.String&nbsp;keyName,
               java.util.List&lt;<a href="../../../../org/apache/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql">Term</a>&gt;&nbsp;columnNames,
               java.util.List&lt;<a href="../../../../org/apache/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql">Term</a>&gt;&nbsp;columnValues,
               java.util.List&lt;<a href="../../../../org/apache/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql">Term</a>&gt;&nbsp;keys,
               <a href="../../../../org/apache/cassandra/cql/Attributes.html" title="class in org.apache.cassandra.cql">Attributes</a>&nbsp;attrs)</pre>
<div class="block">Creates a new UpdateStatement from a column family name, a consistency level,
 key, and lists of column names and values.  It is intended for use with the
 alternate update format, <code>INSERT</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>keyspace</code> - Keyspace (optional)</dd><dd><code>columnFamily</code> - column family name</dd><dd><code>keyName</code> - alias key name</dd><dd><code>columnNames</code> - list of column names</dd><dd><code>columnValues</code> - list of column values (corresponds to names)</dd><dd><code>keys</code> - the keys to update</dd><dd><code>attrs</code> - additional attributes for statement (CL, timestamp, timeToLive)</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="getConsistencyLevel()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConsistencyLevel</h4>
<pre>public&nbsp;<a href="../../../../org/apache/cassandra/db/ConsistencyLevel.html" title="enum in org.apache.cassandra.db">ConsistencyLevel</a>&nbsp;getConsistencyLevel()</pre>
<div class="block">Returns the consistency level of this <code>UPDATE</code> statement, either
 one parsed from the CQL statement, or the default level otherwise.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../org/apache/cassandra/cql/AbstractModification.html#getConsistencyLevel()">getConsistencyLevel</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/cassandra/cql/AbstractModification.html" title="class in org.apache.cassandra.cql">AbstractModification</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the consistency level as a Thrift enum.</dd></dl>
</li>
</ul>
<a name="isSetConsistencyLevel()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSetConsistencyLevel</h4>
<pre>public&nbsp;boolean&nbsp;isSetConsistencyLevel()</pre>
<div class="block">True if an explicit consistency level was parsed from the statement.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../org/apache/cassandra/cql/AbstractModification.html#isSetConsistencyLevel()">isSetConsistencyLevel</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/cassandra/cql/AbstractModification.html" title="class in org.apache.cassandra.cql">AbstractModification</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>true if a consistency was parsed, false otherwise.</dd></dl>
</li>
</ul>
<a name="prepareRowMutations(java.lang.String, org.apache.cassandra.thrift.ThriftClientState, java.util.List)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prepareRowMutations</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../../org/apache/cassandra/db/IMutation.html" title="interface in org.apache.cassandra.db">IMutation</a>&gt;&nbsp;prepareRowMutations(java.lang.String&nbsp;keyspace,
                                            <a href="../../../../org/apache/cassandra/thrift/ThriftClientState.html" title="class in org.apache.cassandra.thrift">ThriftClientState</a>&nbsp;clientState,
                                            java.util.List&lt;java.nio.ByteBuffer&gt;&nbsp;variables)
                                              throws <a href="../../../../org/apache/cassandra/exceptions/InvalidRequestException.html" title="class in org.apache.cassandra.exceptions">InvalidRequestException</a>,
                                                     <a href="../../../../org/apache/cassandra/exceptions/UnauthorizedException.html" title="class in org.apache.cassandra.exceptions">UnauthorizedException</a></pre>
<div class="block">Convert statement into a list of mutations to apply on the server</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/apache/cassandra/cql/AbstractModification.html#prepareRowMutations(java.lang.String,%20org.apache.cassandra.thrift.ThriftClientState,%20java.util.List)">prepareRowMutations</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/cassandra/cql/AbstractModification.html" title="class in org.apache.cassandra.cql">AbstractModification</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>keyspace</code> - The working keyspace</dd><dd><code>clientState</code> - current client status</dd>
<dt><span class="strong">Returns:</span></dt><dd>list of the mutations</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/cassandra/exceptions/InvalidRequestException.html" title="class in org.apache.cassandra.exceptions">InvalidRequestException</a></code> - on the wrong request</dd>
<dd><code><a href="../../../../org/apache/cassandra/exceptions/UnauthorizedException.html" title="class in org.apache.cassandra.exceptions">UnauthorizedException</a></code></dd></dl>
</li>
</ul>
<a name="prepareRowMutations(java.lang.String, org.apache.cassandra.thrift.ThriftClientState, java.lang.Long, java.util.List)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prepareRowMutations</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../../org/apache/cassandra/db/IMutation.html" title="interface in org.apache.cassandra.db">IMutation</a>&gt;&nbsp;prepareRowMutations(java.lang.String&nbsp;keyspace,
                                            <a href="../../../../org/apache/cassandra/thrift/ThriftClientState.html" title="class in org.apache.cassandra.thrift">ThriftClientState</a>&nbsp;clientState,
                                            java.lang.Long&nbsp;timestamp,
                                            java.util.List&lt;java.nio.ByteBuffer&gt;&nbsp;variables)
                                              throws <a href="../../../../org/apache/cassandra/exceptions/InvalidRequestException.html" title="class in org.apache.cassandra.exceptions">InvalidRequestException</a>,
                                                     <a href="../../../../org/apache/cassandra/exceptions/UnauthorizedException.html" title="class in org.apache.cassandra.exceptions">UnauthorizedException</a></pre>
<div class="block">Convert statement into a list of mutations to apply on the server</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/apache/cassandra/cql/AbstractModification.html#prepareRowMutations(java.lang.String,%20org.apache.cassandra.thrift.ThriftClientState,%20java.lang.Long,%20java.util.List)">prepareRowMutations</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/cassandra/cql/AbstractModification.html" title="class in org.apache.cassandra.cql">AbstractModification</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>keyspace</code> - The working keyspace</dd><dd><code>clientState</code> - current client status</dd><dd><code>timestamp</code> - global timestamp to use for all mutations</dd>
<dt><span class="strong">Returns:</span></dt><dd>list of the mutations</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/cassandra/exceptions/InvalidRequestException.html" title="class in org.apache.cassandra.exceptions">InvalidRequestException</a></code> - on the wrong request</dd>
<dd><code><a href="../../../../org/apache/cassandra/exceptions/UnauthorizedException.html" title="class in org.apache.cassandra.exceptions">UnauthorizedException</a></code></dd></dl>
</li>
</ul>
<a name="getColumnFamily()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumnFamily</h4>
<pre>public&nbsp;java.lang.String&nbsp;getColumnFamily()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../org/apache/cassandra/cql/AbstractModification.html#getColumnFamily()">getColumnFamily</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/cassandra/cql/AbstractModification.html" title="class in org.apache.cassandra.cql">AbstractModification</a></code></dd>
</dl>
</li>
</ul>
<a name="getKeys()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKeys</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../../org/apache/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql">Term</a>&gt;&nbsp;getKeys()</pre>
</li>
</ul>
<a name="getColumns()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumns</h4>
<pre>public&nbsp;java.util.Map&lt;<a href="../../../../org/apache/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql">Term</a>,<a href="../../../../org/apache/cassandra/cql/Operation.html" title="class in org.apache.cassandra.cql">Operation</a>&gt;&nbsp;getColumns()
                                         throws <a href="../../../../org/apache/cassandra/exceptions/InvalidRequestException.html" title="class in org.apache.cassandra.exceptions">InvalidRequestException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/cassandra/exceptions/InvalidRequestException.html" title="class in org.apache.cassandra.exceptions">InvalidRequestException</a></code></dd></dl>
</li>
</ul>
<a name="toString()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="getKeyType(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKeyType</h4>
<pre>public&nbsp;<a href="../../../../org/apache/cassandra/db/marshal/AbstractType.html" title="class in org.apache.cassandra.db.marshal">AbstractType</a>&lt;?&gt;&nbsp;getKeyType(java.lang.String&nbsp;keyspace)</pre>
</li>
</ul>
<a name="getComparator(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getComparator</h4>
<pre>public&nbsp;<a href="../../../../org/apache/cassandra/db/marshal/AbstractType.html" title="class in org.apache.cassandra.db.marshal">AbstractType</a>&lt;?&gt;&nbsp;getComparator(java.lang.String&nbsp;keyspace)</pre>
</li>
</ul>
<a name="getColumnNames()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumnNames</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../../org/apache/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql">Term</a>&gt;&nbsp;getColumnNames()</pre>
</li>
</ul>
<a name="getColumnValues()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getColumnValues</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../../org/apache/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql">Term</a>&gt;&nbsp;getColumnValues()</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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/UpdateStatement.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/cassandra/cql/Term.html" title="class in org.apache.cassandra.cql"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/cassandra/cql/WhereClause.html" title="class in org.apache.cassandra.cql"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/cassandra/cql/UpdateStatement.html" target="_top">Frames</a></li>
<li><a href="UpdateStatement.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#fields_inherited_from_class_org.apache.cassandra.cql.AbstractModification">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &copy; 2015 The Apache Software Foundation</small></p>
</body>
</html>
