cassandra-server
Version:
A thin Javascript wrapper around Apache Cassandra to provide out of the box server support
724 lines (723 loc) • 33.5 kB
HTML
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_67) on Sun Sep 07 15:29:28 CEST 2014 -->
<title>Keyspace (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="Keyspace (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/Keyspace.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/db/IndexExpression.Operator.html" title="enum in org.apache.cassandra.db"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/cassandra/db/KeyspaceNotDefinedException.html" title="class in org.apache.cassandra.db"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/cassandra/db/Keyspace.html" target="_top">Frames</a></li>
<li><a href="Keyspace.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: </li>
<li>Nested | </li>
<li><a href="#field_summary">Field</a> | </li>
<li>Constr | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li>Constr | </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.db</div>
<h2 title="Class Keyspace" class="title">Class Keyspace</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.cassandra.db.Keyspace</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">Keyspace</span>
extends java.lang.Object</pre>
<div class="block">It represents a Keyspace.</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>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static com.google.common.base.Function<java.lang.String,<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#keyspaceTransformer">keyspaceTransformer</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/cassandra/config/KSMetaData.html" title="class in org.apache.cassandra.config">KSMetaData</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#metadata">metadata</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/cassandra/metrics/KeyspaceMetrics.html" title="class in org.apache.cassandra.metrics">KeyspaceMetrics</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#metric">metric</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#SYSTEM_KS">SYSTEM_KS</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/cassandra/utils/concurrent/OpOrder.html" title="class in org.apache.cassandra.utils.concurrent">OpOrder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#writeOrder">writeOrder</a></strong></code> </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"> </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>static java.lang.Iterable<<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#all()">all</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#apply(org.apache.cassandra.db.Mutation,%20boolean)">apply</a></strong>(<a href="../../../../org/apache/cassandra/db/Mutation.html" title="class in org.apache.cassandra.db">Mutation</a> mutation,
boolean writeCommitLog)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#apply(org.apache.cassandra.db.Mutation,%20boolean,%20boolean)">apply</a></strong>(<a href="../../../../org/apache/cassandra/db/Mutation.html" title="class in org.apache.cassandra.db">Mutation</a> mutation,
boolean writeCommitLog,
boolean updateIndexes)</code>
<div class="block">This method appends a row to the global CommitLog, then updates memtables and indexes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#clear(java.lang.String)">clear</a></strong>(java.lang.String keyspaceName)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#clear(java.lang.String,%20org.apache.cassandra.config.Schema)">clear</a></strong>(java.lang.String keyspaceName,
<a href="../../../../org/apache/cassandra/config/Schema.html" title="class in org.apache.cassandra.config">Schema</a> schema)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#clearSnapshot(java.lang.String,%20java.lang.String)">clearSnapshot</a></strong>(java.lang.String snapshotName,
java.lang.String keyspace)</code>
<div class="block">Clear all the snapshots for a given keyspace.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#createReplicationStrategy(org.apache.cassandra.config.KSMetaData)">createReplicationStrategy</a></strong>(<a href="../../../../org/apache/cassandra/config/KSMetaData.html" title="class in org.apache.cassandra.config">KSMetaData</a> ksm)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#dropCf(java.util.UUID)">dropCf</a></strong>(java.util.UUID cfId)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.List<java.util.concurrent.Future<?>></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#flush()">flush</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.List<<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#getAllSSTables()">getAllSSTables</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/cassandra/db/ColumnFamilyStore.html" title="class in org.apache.cassandra.db">ColumnFamilyStore</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#getColumnFamilyStore(java.lang.String)">getColumnFamilyStore</a></strong>(java.lang.String cfName)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/cassandra/db/ColumnFamilyStore.html" title="class in org.apache.cassandra.db">ColumnFamilyStore</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#getColumnFamilyStore(java.util.UUID)">getColumnFamilyStore</a></strong>(java.util.UUID id)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.Collection<<a href="../../../../org/apache/cassandra/db/ColumnFamilyStore.html" title="class in org.apache.cassandra.db">ColumnFamilyStore</a>></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#getColumnFamilyStores()">getColumnFamilyStores</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#getName()">getName</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/cassandra/locator/AbstractReplicationStrategy.html" title="class in org.apache.cassandra.locator">AbstractReplicationStrategy</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#getReplicationStrategy()">getReplicationStrategy</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/cassandra/db/Row.html" title="class in org.apache.cassandra.db">Row</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#getRow(org.apache.cassandra.db.filter.QueryFilter)">getRow</a></strong>(<a href="../../../../org/apache/cassandra/db/filter/QueryFilter.html" title="class in org.apache.cassandra.db.filter">QueryFilter</a> filter)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#getTimestampedSnapshotName(java.lang.String)">getTimestampedSnapshotName</a></strong>(java.lang.String clientSuppliedName)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#indexRow(org.apache.cassandra.db.DecoratedKey,%20org.apache.cassandra.db.ColumnFamilyStore,%20java.util.Set)">indexRow</a></strong>(<a href="../../../../org/apache/cassandra/db/DecoratedKey.html" title="class in org.apache.cassandra.db">DecoratedKey</a> key,
<a href="../../../../org/apache/cassandra/db/ColumnFamilyStore.html" title="class in org.apache.cassandra.db">ColumnFamilyStore</a> cfs,
java.util.Set<java.lang.String> idxNames)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#initCf(java.util.UUID,%20java.lang.String,%20boolean)">initCf</a></strong>(java.util.UUID cfId,
java.lang.String cfName,
boolean loadSSTables)</code>
<div class="block">adds a cf to internal structures, ends up creating disk files).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.Iterable<<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#nonSystem()">nonSystem</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#open(java.lang.String)">open</a></strong>(java.lang.String keyspaceName)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#openWithoutSSTables(java.lang.String)">openWithoutSSTables</a></strong>(java.lang.String keyspaceName)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#removeUnreadableSSTables(java.io.File)">removeUnreadableSSTables</a></strong>(java.io.File directory)</code>
<div class="block">Removes every SSTable in the directory from the appropriate DataTracker's view.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#setInitialized()">setInitialized</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#snapshot(java.lang.String,%20java.lang.String)">snapshot</a></strong>(java.lang.String snapshotName,
java.lang.String columnFamilyName)</code>
<div class="block">Take a snapshot of the specific column family, or the entire set of column families
if columnFamily is null with a given timestamp</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#snapshotExists(java.lang.String)">snapshotExists</a></strong>(java.lang.String snapshotName)</code>
<div class="block">Check whether snapshots already exists for a given name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.Iterable<<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#system()">system</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#toString()">toString</a></strong>()</code> </td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class 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">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="SYSTEM_KS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SYSTEM_KS</h4>
<pre>public static final java.lang.String SYSTEM_KS</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.cassandra.db.Keyspace.SYSTEM_KS">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="metric">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>metric</h4>
<pre>public final <a href="../../../../org/apache/cassandra/metrics/KeyspaceMetrics.html" title="class in org.apache.cassandra.metrics">KeyspaceMetrics</a> metric</pre>
</li>
</ul>
<a name="metadata">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>metadata</h4>
<pre>public final <a href="../../../../org/apache/cassandra/config/KSMetaData.html" title="class in org.apache.cassandra.config">KSMetaData</a> metadata</pre>
</li>
</ul>
<a name="writeOrder">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeOrder</h4>
<pre>public final <a href="../../../../org/apache/cassandra/utils/concurrent/OpOrder.html" title="class in org.apache.cassandra.utils.concurrent">OpOrder</a> writeOrder</pre>
</li>
</ul>
<a name="keyspaceTransformer">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>keyspaceTransformer</h4>
<pre>public static final com.google.common.base.Function<java.lang.String,<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>> keyspaceTransformer</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setInitialized()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInitialized</h4>
<pre>public static void setInitialized()</pre>
</li>
</ul>
<a name="open(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>open</h4>
<pre>public static <a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a> open(java.lang.String keyspaceName)</pre>
</li>
</ul>
<a name="openWithoutSSTables(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>openWithoutSSTables</h4>
<pre>public static <a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a> openWithoutSSTables(java.lang.String keyspaceName)</pre>
</li>
</ul>
<a name="clear(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clear</h4>
<pre>public static <a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a> clear(java.lang.String keyspaceName)</pre>
</li>
</ul>
<a name="clear(java.lang.String, org.apache.cassandra.config.Schema)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clear</h4>
<pre>public static <a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a> clear(java.lang.String keyspaceName,
<a href="../../../../org/apache/cassandra/config/Schema.html" title="class in org.apache.cassandra.config">Schema</a> schema)</pre>
</li>
</ul>
<a name="removeUnreadableSSTables(java.io.File)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeUnreadableSSTables</h4>
<pre>public static void removeUnreadableSSTables(java.io.File directory)</pre>
<div class="block">Removes every SSTable in the directory from the appropriate DataTracker's view.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>directory</code> - the unreadable directory, possibly with SSTables in it, but not necessarily.</dd></dl>
</li>
</ul>
<a name="getColumnFamilyStores()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumnFamilyStores</h4>
<pre>public java.util.Collection<<a href="../../../../org/apache/cassandra/db/ColumnFamilyStore.html" title="class in org.apache.cassandra.db">ColumnFamilyStore</a>> getColumnFamilyStores()</pre>
</li>
</ul>
<a name="getColumnFamilyStore(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumnFamilyStore</h4>
<pre>public <a href="../../../../org/apache/cassandra/db/ColumnFamilyStore.html" title="class in org.apache.cassandra.db">ColumnFamilyStore</a> getColumnFamilyStore(java.lang.String cfName)</pre>
</li>
</ul>
<a name="getColumnFamilyStore(java.util.UUID)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumnFamilyStore</h4>
<pre>public <a href="../../../../org/apache/cassandra/db/ColumnFamilyStore.html" title="class in org.apache.cassandra.db">ColumnFamilyStore</a> getColumnFamilyStore(java.util.UUID id)</pre>
</li>
</ul>
<a name="snapshot(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>snapshot</h4>
<pre>public void snapshot(java.lang.String snapshotName,
java.lang.String columnFamilyName)
throws java.io.IOException</pre>
<div class="block">Take a snapshot of the specific column family, or the entire set of column families
if columnFamily is null with a given timestamp</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>snapshotName</code> - the tag associated with the name of the snapshot. This value may not be null</dd><dd><code>columnFamilyName</code> - the column family to snapshot or all on null</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code> - if the column family doesn't exist</dd></dl>
</li>
</ul>
<a name="getTimestampedSnapshotName(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTimestampedSnapshotName</h4>
<pre>public static java.lang.String getTimestampedSnapshotName(java.lang.String clientSuppliedName)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clientSuppliedName</code> - may be null.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the name of the snapshot</dd></dl>
</li>
</ul>
<a name="snapshotExists(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>snapshotExists</h4>
<pre>public boolean snapshotExists(java.lang.String snapshotName)</pre>
<div class="block">Check whether snapshots already exists for a given name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>snapshotName</code> - the user supplied snapshot name</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the snapshot exists</dd></dl>
</li>
</ul>
<a name="clearSnapshot(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearSnapshot</h4>
<pre>public static void clearSnapshot(java.lang.String snapshotName,
java.lang.String keyspace)</pre>
<div class="block">Clear all the snapshots for a given keyspace.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>snapshotName</code> - the user supplied snapshot name. It empty or null,
all the snapshots will be cleaned</dd></dl>
</li>
</ul>
<a name="getAllSSTables()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllSSTables</h4>
<pre>public java.util.List<<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>> getAllSSTables()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>A list of open SSTableReaders</dd></dl>
</li>
</ul>
<a name="createReplicationStrategy(org.apache.cassandra.config.KSMetaData)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createReplicationStrategy</h4>
<pre>public void createReplicationStrategy(<a href="../../../../org/apache/cassandra/config/KSMetaData.html" title="class in org.apache.cassandra.config">KSMetaData</a> ksm)</pre>
</li>
</ul>
<a name="dropCf(java.util.UUID)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropCf</h4>
<pre>public void dropCf(java.util.UUID cfId)</pre>
</li>
</ul>
<a name="initCf(java.util.UUID, java.lang.String, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initCf</h4>
<pre>public void initCf(java.util.UUID cfId,
java.lang.String cfName,
boolean loadSSTables)</pre>
<div class="block">adds a cf to internal structures, ends up creating disk files).</div>
</li>
</ul>
<a name="getRow(org.apache.cassandra.db.filter.QueryFilter)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRow</h4>
<pre>public <a href="../../../../org/apache/cassandra/db/Row.html" title="class in org.apache.cassandra.db">Row</a> getRow(<a href="../../../../org/apache/cassandra/db/filter/QueryFilter.html" title="class in org.apache.cassandra.db.filter">QueryFilter</a> filter)</pre>
</li>
</ul>
<a name="apply(org.apache.cassandra.db.Mutation, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>apply</h4>
<pre>public void apply(<a href="../../../../org/apache/cassandra/db/Mutation.html" title="class in org.apache.cassandra.db">Mutation</a> mutation,
boolean writeCommitLog)</pre>
</li>
</ul>
<a name="apply(org.apache.cassandra.db.Mutation, boolean, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>apply</h4>
<pre>public void apply(<a href="../../../../org/apache/cassandra/db/Mutation.html" title="class in org.apache.cassandra.db">Mutation</a> mutation,
boolean writeCommitLog,
boolean updateIndexes)</pre>
<div class="block">This method appends a row to the global CommitLog, then updates memtables and indexes.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>mutation</code> - the row to write. Must not be modified after calling apply, since commitlog append
may happen concurrently, depending on the CL Executor type.</dd><dd><code>writeCommitLog</code> - false to disable commitlog append entirely</dd><dd><code>updateIndexes</code> - false to disable index updates (used by CollationController "defragmenting")</dd></dl>
</li>
</ul>
<a name="getReplicationStrategy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReplicationStrategy</h4>
<pre>public <a href="../../../../org/apache/cassandra/locator/AbstractReplicationStrategy.html" title="class in org.apache.cassandra.locator">AbstractReplicationStrategy</a> getReplicationStrategy()</pre>
</li>
</ul>
<a name="indexRow(org.apache.cassandra.db.DecoratedKey, org.apache.cassandra.db.ColumnFamilyStore, java.util.Set)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexRow</h4>
<pre>public static void indexRow(<a href="../../../../org/apache/cassandra/db/DecoratedKey.html" title="class in org.apache.cassandra.db">DecoratedKey</a> key,
<a href="../../../../org/apache/cassandra/db/ColumnFamilyStore.html" title="class in org.apache.cassandra.db">ColumnFamilyStore</a> cfs,
java.util.Set<java.lang.String> idxNames)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - row to index</dd><dd><code>cfs</code> - ColumnFamily to index row in</dd><dd><code>idxNames</code> - columns to index, in comparator order</dd></dl>
</li>
</ul>
<a name="flush()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>flush</h4>
<pre>public java.util.List<java.util.concurrent.Future<?>> flush()</pre>
</li>
</ul>
<a name="all()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>all</h4>
<pre>public static java.lang.Iterable<<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>> all()</pre>
</li>
</ul>
<a name="nonSystem()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nonSystem</h4>
<pre>public static java.lang.Iterable<<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>> nonSystem()</pre>
</li>
</ul>
<a name="system()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>system</h4>
<pre>public static java.lang.Iterable<<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>> system()</pre>
</li>
</ul>
<a name="toString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public java.lang.String toString()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>toString</code> in class <code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="getName()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getName</h4>
<pre>public java.lang.String getName()</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/Keyspace.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/db/IndexExpression.Operator.html" title="enum in org.apache.cassandra.db"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/cassandra/db/KeyspaceNotDefinedException.html" title="class in org.apache.cassandra.db"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/cassandra/db/Keyspace.html" target="_top">Frames</a></li>
<li><a href="Keyspace.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: </li>
<li>Nested | </li>
<li><a href="#field_summary">Field</a> | </li>
<li>Constr | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li>Constr | </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 © 2014 The Apache Software Foundation</small></p>
</body>
</html>