UNPKG

cassandra-server

Version:

A thin Javascript wrapper around Apache Cassandra to provide out of the box server support

619 lines (618 loc) 146 kB
<!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_67) on Sun Sep 07 15:29:34 CEST 2014 --> <title>CassandraServer (apache-cassandra API)</title> <meta name="date" content="2014-09-07"> <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="CassandraServer (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/CassandraServer.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/thrift/cassandraConstants.html" title="class in org.apache.cassandra.thrift"><span class="strong">Prev Class</span></a></li> <li><a href="../../../../org/apache/cassandra/thrift/CfDef.html" title="class in org.apache.cassandra.thrift"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/apache/cassandra/thrift/CassandraServer.html" target="_top">Frames</a></li> <li><a href="CassandraServer.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>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.cassandra.thrift</div> <h2 title="Class CassandraServer" class="title">Class CassandraServer</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li>org.apache.cassandra.thrift.CassandraServer</li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>All Implemented Interfaces:</dt> <dd><a href="../../../../org/apache/cassandra/thrift/Cassandra.Iface.html" title="interface in org.apache.cassandra.thrift">Cassandra.Iface</a></dd> </dl> <hr> <br> <pre>public class <span class="strong">CassandraServer</span> extends java.lang.Object implements <a href="../../../../org/apache/cassandra/thrift/Cassandra.Iface.html" title="interface in org.apache.cassandra.thrift">Cassandra.Iface</a></pre> </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="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/thrift/CassandraServer.html#CassandraServer()">CassandraServer</a></strong>()</code>&nbsp;</td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method_summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="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>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#add(java.nio.ByteBuffer,%20org.apache.cassandra.thrift.ColumnParent,%20org.apache.cassandra.thrift.CounterColumn,%20org.apache.cassandra.thrift.ConsistencyLevel)">add</a></strong>(java.nio.ByteBuffer&nbsp;key, <a href="../../../../org/apache/cassandra/thrift/ColumnParent.html" title="class in org.apache.cassandra.thrift">ColumnParent</a>&nbsp;column_parent, <a href="../../../../org/apache/cassandra/thrift/CounterColumn.html" title="class in org.apache.cassandra.thrift">CounterColumn</a>&nbsp;column, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;consistency_level)</code> <div class="block">Increment or decrement a counter.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#atomic_batch_mutate(java.util.Map,%20org.apache.cassandra.thrift.ConsistencyLevel)">atomic_batch_mutate</a></strong>(java.util.Map&lt;java.nio.ByteBuffer,java.util.Map&lt;java.lang.String,java.util.List&lt;<a href="../../../../org/apache/cassandra/thrift/Mutation.html" title="class in org.apache.cassandra.thrift">Mutation</a>&gt;&gt;&gt;&nbsp;mutation_map, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;consistency_level)</code> <div class="block">Atomically mutate many columns or super columns for many row keys.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#batch_mutate(java.util.Map,%20org.apache.cassandra.thrift.ConsistencyLevel)">batch_mutate</a></strong>(java.util.Map&lt;java.nio.ByteBuffer,java.util.Map&lt;java.lang.String,java.util.List&lt;<a href="../../../../org/apache/cassandra/thrift/Mutation.html" title="class in org.apache.cassandra.thrift">Mutation</a>&gt;&gt;&gt;&nbsp;mutation_map, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;consistency_level)</code> <div class="block">Mutate many columns or super columns for many row keys.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../org/apache/cassandra/thrift/CASResult.html" title="class in org.apache.cassandra.thrift">CASResult</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#cas(java.nio.ByteBuffer,%20java.lang.String,%20java.util.List,%20java.util.List,%20org.apache.cassandra.thrift.ConsistencyLevel,%20org.apache.cassandra.thrift.ConsistencyLevel)">cas</a></strong>(java.nio.ByteBuffer&nbsp;key, java.lang.String&nbsp;column_family, java.util.List&lt;<a href="../../../../org/apache/cassandra/thrift/Column.html" title="class in org.apache.cassandra.thrift">Column</a>&gt;&nbsp;expected, java.util.List&lt;<a href="../../../../org/apache/cassandra/thrift/Column.html" title="class in org.apache.cassandra.thrift">Column</a>&gt;&nbsp;updates, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;serial_consistency_level, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;commit_consistency_level)</code> <div class="block">Atomic compare and set.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.lang.String</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#describe_cluster_name()">describe_cluster_name</a></strong>()</code> <div class="block">get the cluster name</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../org/apache/cassandra/thrift/KsDef.html" title="class in org.apache.cassandra.thrift">KsDef</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#describe_keyspace(java.lang.String)">describe_keyspace</a></strong>(java.lang.String&nbsp;keyspaceName)</code> <div class="block">describe specified keyspace</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.util.List&lt;<a href="../../../../org/apache/cassandra/thrift/KsDef.html" title="class in org.apache.cassandra.thrift">KsDef</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#describe_keyspaces()">describe_keyspaces</a></strong>()</code> <div class="block">list the defined keyspaces in this cluster</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.util.List&lt;<a href="../../../../org/apache/cassandra/thrift/TokenRange.html" title="class in org.apache.cassandra.thrift">TokenRange</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#describe_local_ring(java.lang.String)">describe_local_ring</a></strong>(java.lang.String&nbsp;keyspace)</code> <div class="block">same as describe_ring, but considers only nodes in the local DC</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.lang.String</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#describe_partitioner()">describe_partitioner</a></strong>()</code> <div class="block">returns the partitioner used by this cluster</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.util.List&lt;<a href="../../../../org/apache/cassandra/thrift/TokenRange.html" title="class in org.apache.cassandra.thrift">TokenRange</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#describe_ring(java.lang.String)">describe_ring</a></strong>(java.lang.String&nbsp;keyspace)</code> <div class="block">get the token ring: a map of ranges to host addresses, represented as a set of TokenRange instead of a map from range to list of endpoints, because you can't use Thrift structs as map keys: https://issues.apache.org/jira/browse/THRIFT-162 for the same reason, we can't return a set here, even though order is neither important nor predictable.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.util.List&lt;java.lang.String&gt;&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#describe_schema_versions()">describe_schema_versions</a></strong>()</code> <div class="block">for each schema version present in the cluster, returns a list of nodes at that version.</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/thrift/CassandraServer.html#describe_snitch()">describe_snitch</a></strong>()</code> <div class="block">returns the snitch used by this cluster</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.util.List&lt;<a href="../../../../org/apache/cassandra/thrift/CfSplit.html" title="class in org.apache.cassandra.thrift">CfSplit</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#describe_splits_ex(java.lang.String,%20java.lang.String,%20java.lang.String,%20int)">describe_splits_ex</a></strong>(java.lang.String&nbsp;cfName, java.lang.String&nbsp;start_token, java.lang.String&nbsp;end_token, int&nbsp;keys_per_split)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.util.List&lt;java.lang.String&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#describe_splits(java.lang.String,%20java.lang.String,%20java.lang.String,%20int)">describe_splits</a></strong>(java.lang.String&nbsp;cfName, java.lang.String&nbsp;start_token, java.lang.String&nbsp;end_token, int&nbsp;keys_per_split)</code> <div class="block"><strong>Deprecated.</strong>&nbsp;</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.lang.String&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#describe_token_map()">describe_token_map</a></strong>()</code> <div class="block">get the mapping between token->node ip without taking replication into consideration https://issues.apache.org/jira/browse/CASSANDRA-4092</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/thrift/CassandraServer.html#describe_version()">describe_version</a></strong>()</code> <div class="block">get the thrift api version</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../org/apache/cassandra/thrift/CqlResult.html" title="class in org.apache.cassandra.thrift">CqlResult</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#execute_cql_query(java.nio.ByteBuffer,%20org.apache.cassandra.thrift.Compression)">execute_cql_query</a></strong>(java.nio.ByteBuffer&nbsp;query, <a href="../../../../org/apache/cassandra/thrift/Compression.html" title="enum in org.apache.cassandra.thrift">Compression</a>&nbsp;compression)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../org/apache/cassandra/thrift/CqlResult.html" title="class in org.apache.cassandra.thrift">CqlResult</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#execute_cql3_query(java.nio.ByteBuffer,%20org.apache.cassandra.thrift.Compression,%20org.apache.cassandra.thrift.ConsistencyLevel)">execute_cql3_query</a></strong>(java.nio.ByteBuffer&nbsp;query, <a href="../../../../org/apache/cassandra/thrift/Compression.html" title="enum in org.apache.cassandra.thrift">Compression</a>&nbsp;compression, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;cLevel)</code> <div class="block">Executes a CQL3 (Cassandra Query Language) statement and returns a CqlResult containing the results.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../org/apache/cassandra/thrift/CqlResult.html" title="class in org.apache.cassandra.thrift">CqlResult</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#execute_prepared_cql_query(int,%20java.util.List)">execute_prepared_cql_query</a></strong>(int&nbsp;itemId, java.util.List&lt;java.nio.ByteBuffer&gt;&nbsp;bindVariables)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../org/apache/cassandra/thrift/CqlResult.html" title="class in org.apache.cassandra.thrift">CqlResult</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#execute_prepared_cql3_query(int,%20java.util.List,%20org.apache.cassandra.thrift.ConsistencyLevel)">execute_prepared_cql3_query</a></strong>(int&nbsp;itemId, java.util.List&lt;java.nio.ByteBuffer&gt;&nbsp;bindVariables, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;cLevel)</code> <div class="block">Executes a prepared CQL3 (Cassandra Query Language) statement by passing an id token, a list of variables to bind, and the consistency level, and returns a CqlResult containing the results.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#get_count(java.nio.ByteBuffer,%20org.apache.cassandra.thrift.ColumnParent,%20org.apache.cassandra.thrift.SlicePredicate,%20org.apache.cassandra.thrift.ConsistencyLevel)">get_count</a></strong>(java.nio.ByteBuffer&nbsp;key, <a href="../../../../org/apache/cassandra/thrift/ColumnParent.html" title="class in org.apache.cassandra.thrift">ColumnParent</a>&nbsp;column_parent, <a href="../../../../org/apache/cassandra/thrift/SlicePredicate.html" title="class in org.apache.cassandra.thrift">SlicePredicate</a>&nbsp;predicate, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;consistency_level)</code> <div class="block">returns the number of columns matching <code>predicate</code> for a particular <code>key</code>, <code>ColumnFamily</code> and optionally <code>SuperColumn</code>.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.util.List&lt;<a href="../../../../org/apache/cassandra/thrift/KeySlice.html" title="class in org.apache.cassandra.thrift">KeySlice</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#get_indexed_slices(org.apache.cassandra.thrift.ColumnParent,%20org.apache.cassandra.thrift.IndexClause,%20org.apache.cassandra.thrift.SlicePredicate,%20org.apache.cassandra.thrift.ConsistencyLevel)">get_indexed_slices</a></strong>(<a href="../../../../org/apache/cassandra/thrift/ColumnParent.html" title="class in org.apache.cassandra.thrift">ColumnParent</a>&nbsp;column_parent, <a href="../../../../org/apache/cassandra/thrift/IndexClause.html" title="class in org.apache.cassandra.thrift">IndexClause</a>&nbsp;index_clause, <a href="../../../../org/apache/cassandra/thrift/SlicePredicate.html" title="class in org.apache.cassandra.thrift">SlicePredicate</a>&nbsp;column_predicate, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;consistency_level)</code> <div class="block">Returns the subset of columns specified in SlicePredicate for the rows matching the IndexClause</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.util.List&lt;<a href="../../../../org/apache/cassandra/thrift/ColumnOrSuperColumn.html" title="class in org.apache.cassandra.thrift">ColumnOrSuperColumn</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#get_multi_slice(org.apache.cassandra.thrift.MultiSliceRequest)">get_multi_slice</a></strong>(<a href="../../../../org/apache/cassandra/thrift/MultiSliceRequest.html" title="class in org.apache.cassandra.thrift">MultiSliceRequest</a>&nbsp;request)</code> <div class="block">Select multiple slices of a key in a single RPC operation</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.util.List&lt;<a href="../../../../org/apache/cassandra/thrift/KeySlice.html" title="class in org.apache.cassandra.thrift">KeySlice</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#get_paged_slice(java.lang.String,%20org.apache.cassandra.thrift.KeyRange,%20java.nio.ByteBuffer,%20org.apache.cassandra.thrift.ConsistencyLevel)">get_paged_slice</a></strong>(java.lang.String&nbsp;column_family, <a href="../../../../org/apache/cassandra/thrift/KeyRange.html" title="class in org.apache.cassandra.thrift">KeyRange</a>&nbsp;range, java.nio.ByteBuffer&nbsp;start_column, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;consistency_level)</code> <div class="block">returns a range of columns, wrapping to the next rows if necessary to collect max_results.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.util.List&lt;<a href="../../../../org/apache/cassandra/thrift/KeySlice.html" title="class in org.apache.cassandra.thrift">KeySlice</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#get_range_slices(org.apache.cassandra.thrift.ColumnParent,%20org.apache.cassandra.thrift.SlicePredicate,%20org.apache.cassandra.thrift.KeyRange,%20org.apache.cassandra.thrift.ConsistencyLevel)">get_range_slices</a></strong>(<a href="../../../../org/apache/cassandra/thrift/ColumnParent.html" title="class in org.apache.cassandra.thrift">ColumnParent</a>&nbsp;column_parent, <a href="../../../../org/apache/cassandra/thrift/SlicePredicate.html" title="class in org.apache.cassandra.thrift">SlicePredicate</a>&nbsp;predicate, <a href="../../../../org/apache/cassandra/thrift/KeyRange.html" title="class in org.apache.cassandra.thrift">KeyRange</a>&nbsp;range, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;consistency_level)</code> <div class="block">returns a subset of columns for a contiguous range of keys.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.util.List&lt;<a href="../../../../org/apache/cassandra/thrift/ColumnOrSuperColumn.html" title="class in org.apache.cassandra.thrift">ColumnOrSuperColumn</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#get_slice(java.nio.ByteBuffer,%20org.apache.cassandra.thrift.ColumnParent,%20org.apache.cassandra.thrift.SlicePredicate,%20org.apache.cassandra.thrift.ConsistencyLevel)">get_slice</a></strong>(java.nio.ByteBuffer&nbsp;key, <a href="../../../../org/apache/cassandra/thrift/ColumnParent.html" title="class in org.apache.cassandra.thrift">ColumnParent</a>&nbsp;column_parent, <a href="../../../../org/apache/cassandra/thrift/SlicePredicate.html" title="class in org.apache.cassandra.thrift">SlicePredicate</a>&nbsp;predicate, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;consistency_level)</code> <div class="block">Get the group of columns contained by column_parent (either a ColumnFamily name or a ColumnFamily/SuperColumn name pair) specified by the given SlicePredicate.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../org/apache/cassandra/thrift/ColumnOrSuperColumn.html" title="class in org.apache.cassandra.thrift">ColumnOrSuperColumn</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#get(java.nio.ByteBuffer,%20org.apache.cassandra.thrift.ColumnPath,%20org.apache.cassandra.thrift.ConsistencyLevel)">get</a></strong>(java.nio.ByteBuffer&nbsp;key, <a href="../../../../org/apache/cassandra/thrift/ColumnPath.html" title="class in org.apache.cassandra.thrift">ColumnPath</a>&nbsp;column_path, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;consistency_level)</code> <div class="block">Get the Column or SuperColumn at the given column_path.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#insert(java.nio.ByteBuffer,%20org.apache.cassandra.thrift.ColumnParent,%20org.apache.cassandra.thrift.Column,%20org.apache.cassandra.thrift.ConsistencyLevel)">insert</a></strong>(java.nio.ByteBuffer&nbsp;key, <a href="../../../../org/apache/cassandra/thrift/ColumnParent.html" title="class in org.apache.cassandra.thrift">ColumnParent</a>&nbsp;column_parent, <a href="../../../../org/apache/cassandra/thrift/Column.html" title="class in org.apache.cassandra.thrift">Column</a>&nbsp;column, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;consistency_level)</code> <div class="block">Insert a Column at the given column_parent.column_family and optional column_parent.super_column.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#login(org.apache.cassandra.thrift.AuthenticationRequest)">login</a></strong>(<a href="../../../../org/apache/cassandra/thrift/AuthenticationRequest.html" title="class in org.apache.cassandra.thrift">AuthenticationRequest</a>&nbsp;auth_request)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.util.Map&lt;java.nio.ByteBuffer,java.lang.Integer&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#multiget_count(java.util.List,%20org.apache.cassandra.thrift.ColumnParent,%20org.apache.cassandra.thrift.SlicePredicate,%20org.apache.cassandra.thrift.ConsistencyLevel)">multiget_count</a></strong>(java.util.List&lt;java.nio.ByteBuffer&gt;&nbsp;keys, <a href="../../../../org/apache/cassandra/thrift/ColumnParent.html" title="class in org.apache.cassandra.thrift">ColumnParent</a>&nbsp;column_parent, <a href="../../../../org/apache/cassandra/thrift/SlicePredicate.html" title="class in org.apache.cassandra.thrift">SlicePredicate</a>&nbsp;predicate, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;consistency_level)</code> <div class="block">Perform a get_count in parallel on the given list<binary> keys.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.util.Map&lt;java.nio.ByteBuffer,java.util.List&lt;<a href="../../../../org/apache/cassandra/thrift/ColumnOrSuperColumn.html" title="class in org.apache.cassandra.thrift">ColumnOrSuperColumn</a>&gt;&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#multiget_slice(java.util.List,%20org.apache.cassandra.thrift.ColumnParent,%20org.apache.cassandra.thrift.SlicePredicate,%20org.apache.cassandra.thrift.ConsistencyLevel)">multiget_slice</a></strong>(java.util.List&lt;java.nio.ByteBuffer&gt;&nbsp;keys, <a href="../../../../org/apache/cassandra/thrift/ColumnParent.html" title="class in org.apache.cassandra.thrift">ColumnParent</a>&nbsp;column_parent, <a href="../../../../org/apache/cassandra/thrift/SlicePredicate.html" title="class in org.apache.cassandra.thrift">SlicePredicate</a>&nbsp;predicate, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;consistency_level)</code> <div class="block">Performs a get_slice for column_parent and predicate for the given keys in parallel.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../org/apache/cassandra/thrift/CqlPreparedResult.html" title="class in org.apache.cassandra.thrift">CqlPreparedResult</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#prepare_cql_query(java.nio.ByteBuffer,%20org.apache.cassandra.thrift.Compression)">prepare_cql_query</a></strong>(java.nio.ByteBuffer&nbsp;query, <a href="../../../../org/apache/cassandra/thrift/Compression.html" title="enum in org.apache.cassandra.thrift">Compression</a>&nbsp;compression)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../org/apache/cassandra/thrift/CqlPreparedResult.html" title="class in org.apache.cassandra.thrift">CqlPreparedResult</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#prepare_cql3_query(java.nio.ByteBuffer,%20org.apache.cassandra.thrift.Compression)">prepare_cql3_query</a></strong>(java.nio.ByteBuffer&nbsp;query, <a href="../../../../org/apache/cassandra/thrift/Compression.html" title="enum in org.apache.cassandra.thrift">Compression</a>&nbsp;compression)</code> <div class="block">Prepare a CQL3 (Cassandra Query Language) statement by compiling and returning - the type of CQL statement - an id token of the compiled CQL stored on the server side.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected java.util.Map&lt;<a href="../../../../org/apache/cassandra/db/DecoratedKey.html" title="class in org.apache.cassandra.db">DecoratedKey</a>,<a href="../../../../org/apache/cassandra/db/ColumnFamily.html" title="class in org.apache.cassandra.db">ColumnFamily</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#readColumnFamily(java.util.List,%20org.apache.cassandra.db.ConsistencyLevel)">readColumnFamily</a></strong>(java.util.List&lt;<a href="../../../../org/apache/cassandra/db/ReadCommand.html" title="class in org.apache.cassandra.db">ReadCommand</a>&gt;&nbsp;commands, <a href="../../../../org/apache/cassandra/db/ConsistencyLevel.html" title="enum in org.apache.cassandra.db">ConsistencyLevel</a>&nbsp;consistency_level)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#remove_counter(java.nio.ByteBuffer,%20org.apache.cassandra.thrift.ColumnPath,%20org.apache.cassandra.thrift.ConsistencyLevel)">remove_counter</a></strong>(java.nio.ByteBuffer&nbsp;key, <a href="../../../../org/apache/cassandra/thrift/ColumnPath.html" title="class in org.apache.cassandra.thrift">ColumnPath</a>&nbsp;path, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;consistency_level)</code> <div class="block">Remove a counter at the specified location.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#remove(java.nio.ByteBuffer,%20org.apache.cassandra.thrift.ColumnPath,%20long,%20org.apache.cassandra.thrift.ConsistencyLevel)">remove</a></strong>(java.nio.ByteBuffer&nbsp;key, <a href="../../../../org/apache/cassandra/thrift/ColumnPath.html" title="class in org.apache.cassandra.thrift">ColumnPath</a>&nbsp;column_path, long&nbsp;timestamp, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;consistency_level)</code> <div class="block">Remove data from the row specified by key at the granularity specified by column_path, and the given timestamp.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#set_cql_version(java.lang.String)">set_cql_version</a></strong>(java.lang.String&nbsp;version)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#set_keyspace(java.lang.String)">set_keyspace</a></strong>(java.lang.String&nbsp;keyspace)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../org/apache/cassandra/thrift/ThriftClientState.html" title="class in org.apache.cassandra.thrift">ThriftClientState</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#state()">state</a></strong>()</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.lang.String</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#system_add_column_family(org.apache.cassandra.thrift.CfDef)">system_add_column_family</a></strong>(<a href="../../../../org/apache/cassandra/thrift/CfDef.html" title="class in org.apache.cassandra.thrift">CfDef</a>&nbsp;cf_def)</code> <div class="block">adds a column family.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.lang.String</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#system_add_keyspace(org.apache.cassandra.thrift.KsDef)">system_add_keyspace</a></strong>(<a href="../../../../org/apache/cassandra/thrift/KsDef.html" title="class in org.apache.cassandra.thrift">KsDef</a>&nbsp;ks_def)</code> <div class="block">adds a keyspace and any column families that are part of it.</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/thrift/CassandraServer.html#system_drop_column_family(java.lang.String)">system_drop_column_family</a></strong>(java.lang.String&nbsp;column_family)</code> <div class="block">drops a column family.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.lang.String</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#system_drop_keyspace(java.lang.String)">system_drop_keyspace</a></strong>(java.lang.String&nbsp;keyspace)</code> <div class="block">drops a keyspace and any column families that are part of it.</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/thrift/CassandraServer.html#system_update_column_family(org.apache.cassandra.thrift.CfDef)">system_update_column_family</a></strong>(<a href="../../../../org/apache/cassandra/thrift/CfDef.html" title="class in org.apache.cassandra.thrift">CfDef</a>&nbsp;cf_def)</code> <div class="block">updates properties of a column family.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.lang.String</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#system_update_keyspace(org.apache.cassandra.thrift.KsDef)">system_update_keyspace</a></strong>(<a href="../../../../org/apache/cassandra/thrift/KsDef.html" title="class in org.apache.cassandra.thrift">KsDef</a>&nbsp;ks_def)</code> <div class="block">update an existing keyspace, but do not allow column family modifications.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.util.List&lt;<a href="../../../../org/apache/cassandra/thrift/ColumnOrSuperColumn.html" title="class in org.apache.cassandra.thrift">ColumnOrSuperColumn</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#thriftifyColumns(java.util.Collection,%20boolean,%20long)">thriftifyColumns</a></strong>(java.util.Collection&lt;<a href="../../../../org/apache/cassandra/db/Cell.html" title="interface in org.apache.cassandra.db">Cell</a>&gt;&nbsp;cells, boolean&nbsp;reverseOrder, long&nbsp;now)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.nio.ByteBuffer</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#trace_next_query()">trace_next_query</a></strong>()</code> <div class="block">Enables tracing for the next query in this connection and returns the UUID for that trace session The next query will be traced idependently of trace probability and the returned UUID can be used to query the trace keyspace</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/thrift/CassandraServer.html#truncate(java.lang.String)">truncate</a></strong>(java.lang.String&nbsp;cfname)</code> <div class="block">Truncate will mark and entire column family as deleted.</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.Object</h3> <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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="CassandraServer()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>CassandraServer</h4> <pre>public&nbsp;CassandraServer()</pre> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method_detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="state()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>state</h4> <pre>public&nbsp;<a href="../../../../org/apache/cassandra/thrift/ThriftClientState.html" title="class in org.apache.cassandra.thrift">ThriftClientState</a>&nbsp;state()</pre> </li> </ul> <a name="readColumnFamily(java.util.List, org.apache.cassandra.db.ConsistencyLevel)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>readColumnFamily</h4> <pre>protected&nbsp;java.util.Map&lt;<a href="../../../../org/apache/cassandra/db/DecoratedKey.html" title="class in org.apache.cassandra.db">DecoratedKey</a>,<a href="../../../../org/apache/cassandra/db/ColumnFamily.html" title="class in org.apache.cassandra.db">ColumnFamily</a>&gt;&nbsp;readColumnFamily(java.util.List&lt;<a href="../../../../org/apache/cassandra/db/ReadCommand.html" title="class in org.apache.cassandra.db">ReadCommand</a>&gt;&nbsp;commands, <a href="../../../../org/apache/cassandra/db/ConsistencyLevel.html" title="enum in org.apache.cassandra.db">ConsistencyLevel</a>&nbsp;consistency_level) throws <a href="../../../../org/apache/cassandra/exceptions/InvalidRequestException.html" title="class in org.apache.cassandra.exceptions">InvalidRequestException</a>, <a href="../../../../org/apache/cassandra/thrift/UnavailableException.html" title="class in org.apache.cassandra.thrift">UnavailableException</a>, <a href="../../../../org/apache/cassandra/thrift/TimedOutException.html" title="class in org.apache.cassandra.thrift">TimedOutException</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> <dd><code><a href="../../../../org/apache/cassandra/thrift/UnavailableException.html" title="class in org.apache.cassandra.thrift">UnavailableException</a></code></dd> <dd><code><a href="../../../../org/apache/cassandra/thrift/TimedOutException.html" title="class in org.apache.cassandra.thrift">TimedOutException</a></code></dd></dl> </li> </ul> <a name="thriftifyColumns(java.util.Collection, boolean, long)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>thriftifyColumns</h4> <pre>public&nbsp;java.util.List&lt;<a href="../../../../org/apache/cassandra/thrift/ColumnOrSuperColumn.html" title="class in org.apache.cassandra.thrift">ColumnOrSuperColumn</a>&gt;&nbsp;thriftifyColumns(java.util.Collection&lt;<a href="../../../../org/apache/cassandra/db/Cell.html" title="interface in org.apache.cassandra.db">Cell</a>&gt;&nbsp;cells, boolean&nbsp;reverseOrder, long&nbsp;now)</pre> </li> </ul> <a name="get_slice(java.nio.ByteBuffer, org.apache.cassandra.thrift.ColumnParent, org.apache.cassandra.thrift.SlicePredicate, org.apache.cassandra.thrift.ConsistencyLevel)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>get_slice</h4> <pre>public&nbsp;java.util.List&lt;<a href="../../../../org/apache/cassandra/thrift/ColumnOrSuperColumn.html" title="class in org.apache.cassandra.thrift">ColumnOrSuperColumn</a>&gt;&nbsp;get_slice(java.nio.ByteBuffer&nbsp;key, <a href="../../../../org/apache/cassandra/thrift/ColumnParent.html" title="class in org.apache.cassandra.thrift">ColumnParent</a>&nbsp;column_parent, <a href="../../../../org/apache/cassandra/thrift/SlicePredicate.html" title="class in org.apache.cassandra.thrift">SlicePredicate</a>&nbsp;predicate, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;consistency_level) throws <a href="../../../../org/apache/cassandra/thrift/InvalidRequestException.html" title="class in org.apache.cassandra.thrift">InvalidRequestException</a>, <a href="../../../../org/apache/cassandra/thrift/UnavailableException.html" title="class in org.apache.cassandra.thrift">UnavailableException</a>, <a href="../../../../org/apache/cassandra/thrift/TimedOutException.html" title="class in org.apache.cassandra.thrift">TimedOutException</a></pre> <div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/apache/cassandra/thrift/Cassandra.Iface.html#get_slice(java.nio.ByteBuffer,%20org.apache.cassandra.thrift.ColumnParent,%20org.apache.cassandra.thrift.SlicePredicate,%20org.apache.cassandra.thrift.ConsistencyLevel)">Cassandra.Iface</a></code></strong></div> <div class="block">Get the group of columns contained by column_parent (either a ColumnFamily name or a ColumnFamily/SuperColumn name pair) specified by the given SlicePredicate. If no matching values are found, an empty list is returned.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/apache/cassandra/thrift/Cassandra.Iface.html#get_slice(java.nio.ByteBuffer,%20org.apache.cassandra.thrift.ColumnParent,%20org.apache.cassandra.thrift.SlicePredicate,%20org.apache.cassandra.thrift.ConsistencyLevel)">get_slice</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/cassandra/thrift/Cassandra.Iface.html" title="interface in org.apache.cassandra.thrift">Cassandra.Iface</a></code></dd> <dt><span class="strong">Throws:</span></dt> <dd><code><a href="../../../../org/apache/cassandra/thrift/InvalidRequestException.html" title="class in org.apache.cassandra.thrift">InvalidRequestException</a></code></dd> <dd><code><a href="../../../../org/apache/cassandra/thrift/UnavailableException.html" title="class in org.apache.cassandra.thrift">UnavailableException</a></code></dd> <dd><code><a href="../../../../org/apache/cassandra/thrift/TimedOutException.html" title="class in org.apache.cassandra.thrift">TimedOutException</a></code></dd></dl> </li> </ul> <a name="multiget_slice(java.util.List, org.apache.cassandra.thrift.ColumnParent, org.apache.cassandra.thrift.SlicePredicate, org.apache.cassandra.thrift.ConsistencyLevel)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>multiget_slice</h4> <pre>public&nbsp;java.util.Map&lt;java.nio.ByteBuffer,java.util.List&lt;<a href="../../../../org/apache/cassandra/thrift/ColumnOrSuperColumn.html" title="class in org.apache.cassandra.thrift">ColumnOrSuperColumn</a>&gt;&gt;&nbsp;multiget_slice(java.util.List&lt;java.nio.ByteBuffer&gt;&nbsp;keys, <a href="../../../../org/apache/cassandra/thrift/ColumnParent.html" title="class in org.apache.cassandra.thrift">ColumnParent</a>&nbsp;column_parent, <a href="../../../../org/apache/cassandra/thrift/SlicePredicate.html" title="class in org.apache.cassandra.thrift">SlicePredicate</a>&nbsp;predicate, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;consistency_level) throws <a href="../../../../org/apache/cassandra/thrift/InvalidRequestException.html" title="class in org.apache.cassandra.thrift">InvalidRequestException</a>, <a href="../../../../org/apache/cassandra/thrift/UnavailableException.html" title="class in org.apache.cassandra.thrift">UnavailableException</a>, <a href="../../../../org/apache/cassandra/thrift/TimedOutException.html" title="class in org.apache.cassandra.thrift">TimedOutException</a></pre> <div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/apache/cassandra/thrift/Cassandra.Iface.html#multiget_slice(java.util.List,%20org.apache.cassandra.thrift.ColumnParent,%20org.apache.cassandra.thrift.SlicePredicate,%20org.apache.cassandra.thrift.ConsistencyLevel)">Cassandra.Iface</a></code></strong></div> <div class="block">Performs a get_slice for column_parent and predicate for the given keys in parallel.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/apache/cassandra/thrift/Cassandra.Iface.html#multiget_slice(java.util.List,%20org.apache.cassandra.thrift.ColumnParent,%20org.apache.cassandra.thrift.SlicePredicate,%20org.apache.cassandra.thrift.ConsistencyLevel)">multiget_slice</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/cassandra/thrift/Cassandra.Iface.html" title="interface in org.apache.cassandra.thrift">Cassandra.Iface</a></code></dd> <dt><span class="strong">Throws:</span></dt> <dd><code><a href="../../../../org/apache/cassandra/thrift/InvalidRequestException.html" title="class in org.apache.cassandra.thrift">InvalidRequestException</a></code></dd> <dd><code><a href="../../../../org/apache/cassandra/thrift/UnavailableException.html" title="class in org.apache.cassandra.thrift">UnavailableException</a></code></dd> <dd><code><a href="../../../../org/apache/cassandra/thrift/TimedOutException.html" title="class in org.apache.cassandra.thrift">TimedOutException</a></code></dd></dl> </li> </ul> <a name="get(java.nio.ByteBuffer, org.apache.cassandra.thrift.ColumnPath, org.apache.cassandra.thrift.ConsistencyLevel)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>get</h4> <pre>public&nbsp;<a href="../../../../org/apache/cassandra/thrift/ColumnOrSuperColumn.html" title="class in org.apache.cassandra.thrift">ColumnOrSuperColumn</a>&nbsp;get(java.nio.ByteBuffer&nbsp;key, <a href="../../../../org/apache/cassandra/thrift/ColumnPath.html" title="class in org.apache.cassandra.thrift">ColumnPath</a>&nbsp;column_path, <a href="../../../../org/apache/cassandra/thrift/ConsistencyLevel.html" title="enum in org.apache.cassandra.thrift">ConsistencyLevel</a>&nbsp;consistency_level) throws <a href="../../../../org/apache/cassandra/thrift/InvalidRequestException.html" title="class in org.apache.cassandra.thrift">InvalidRequestException</a>, <a href="../../../../org/apache/cassandra/thrift/NotFoundException.html" title="class in org.apache.cassandra.thrift">NotFoundException</a>, <a href="../..