UNPKG

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
<!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: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:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li> <li>Constr&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.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">&nbsp;</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&lt;java.lang.String,<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#keyspaceTransformer">keyspaceTransformer</a></strong></code>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&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>static java.lang.Iterable&lt;<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#all()">all</a></strong>()</code>&nbsp;</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>&nbsp;mutation, boolean&nbsp;writeCommitLog)</code>&nbsp;</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>&nbsp;mutation, boolean&nbsp;writeCommitLog, boolean&nbsp;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&nbsp;keyspaceName)</code>&nbsp;</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&nbsp;keyspaceName, <a href="../../../../org/apache/cassandra/config/Schema.html" title="class in org.apache.cassandra.config">Schema</a>&nbsp;schema)</code>&nbsp;</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&nbsp;snapshotName, java.lang.String&nbsp;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>&nbsp;ksm)</code>&nbsp;</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&nbsp;cfId)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.util.List&lt;java.util.concurrent.Future&lt;?&gt;&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#flush()">flush</a></strong>()</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.util.List&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#getAllSSTables()">getAllSSTables</a></strong>()</code>&nbsp;</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&nbsp;cfName)</code>&nbsp;</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&nbsp;id)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.util.Collection&lt;<a href="../../../../org/apache/cassandra/db/ColumnFamilyStore.html" title="class in org.apache.cassandra.db">ColumnFamilyStore</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#getColumnFamilyStores()">getColumnFamilyStores</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/db/Keyspace.html#getName()">getName</a></strong>()</code>&nbsp;</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>&nbsp;</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>&nbsp;filter)</code>&nbsp;</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&nbsp;clientSuppliedName)</code>&nbsp;</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>&nbsp;key, <a href="../../../../org/apache/cassandra/db/ColumnFamilyStore.html" title="class in org.apache.cassandra.db">ColumnFamilyStore</a>&nbsp;cfs, java.util.Set&lt;java.lang.String&gt;&nbsp;idxNames)</code>&nbsp;</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&nbsp;cfId, java.lang.String&nbsp;cfName, boolean&nbsp;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&lt;<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#nonSystem()">nonSystem</a></strong>()</code>&nbsp;</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&nbsp;keyspaceName)</code>&nbsp;</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&nbsp;keyspaceName)</code>&nbsp;</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&nbsp;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>&nbsp;</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&nbsp;snapshotName, java.lang.String&nbsp;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&nbsp;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&lt;<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/Keyspace.html#system()">system</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/db/Keyspace.html#toString()">toString</a></strong>()</code>&nbsp;</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, 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&nbsp;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&nbsp;<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&nbsp;<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&nbsp;<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&nbsp;com.google.common.base.Function&lt;java.lang.String,<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>&gt; 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&nbsp;void&nbsp;setInitialized()</pre> </li> </ul> <a name="open(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>open</h4> <pre>public static&nbsp;<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>&nbsp;open(java.lang.String&nbsp;keyspaceName)</pre> </li> </ul> <a name="openWithoutSSTables(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>openWithoutSSTables</h4> <pre>public static&nbsp;<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>&nbsp;openWithoutSSTables(java.lang.String&nbsp;keyspaceName)</pre> </li> </ul> <a name="clear(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>clear</h4> <pre>public static&nbsp;<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>&nbsp;clear(java.lang.String&nbsp;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&nbsp;<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>&nbsp;clear(java.lang.String&nbsp;keyspaceName, <a href="../../../../org/apache/cassandra/config/Schema.html" title="class in org.apache.cassandra.config">Schema</a>&nbsp;schema)</pre> </li> </ul> <a name="removeUnreadableSSTables(java.io.File)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>removeUnreadableSSTables</h4> <pre>public static&nbsp;void&nbsp;removeUnreadableSSTables(java.io.File&nbsp;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&nbsp;java.util.Collection&lt;<a href="../../../../org/apache/cassandra/db/ColumnFamilyStore.html" title="class in org.apache.cassandra.db">ColumnFamilyStore</a>&gt;&nbsp;getColumnFamilyStores()</pre> </li> </ul> <a name="getColumnFamilyStore(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getColumnFamilyStore</h4> <pre>public&nbsp;<a href="../../../../org/apache/cassandra/db/ColumnFamilyStore.html" title="class in org.apache.cassandra.db">ColumnFamilyStore</a>&nbsp;getColumnFamilyStore(java.lang.String&nbsp;cfName)</pre> </li> </ul> <a name="getColumnFamilyStore(java.util.UUID)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getColumnFamilyStore</h4> <pre>public&nbsp;<a href="../../../../org/apache/cassandra/db/ColumnFamilyStore.html" title="class in org.apache.cassandra.db">ColumnFamilyStore</a>&nbsp;getColumnFamilyStore(java.util.UUID&nbsp;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&nbsp;void&nbsp;snapshot(java.lang.String&nbsp;snapshotName, java.lang.String&nbsp;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&nbsp;java.lang.String&nbsp;getTimestampedSnapshotName(java.lang.String&nbsp;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&nbsp;boolean&nbsp;snapshotExists(java.lang.String&nbsp;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&nbsp;void&nbsp;clearSnapshot(java.lang.String&nbsp;snapshotName, java.lang.String&nbsp;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&nbsp;java.util.List&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;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&nbsp;void&nbsp;createReplicationStrategy(<a href="../../../../org/apache/cassandra/config/KSMetaData.html" title="class in org.apache.cassandra.config">KSMetaData</a>&nbsp;ksm)</pre> </li> </ul> <a name="dropCf(java.util.UUID)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>dropCf</h4> <pre>public&nbsp;void&nbsp;dropCf(java.util.UUID&nbsp;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&nbsp;void&nbsp;initCf(java.util.UUID&nbsp;cfId, java.lang.String&nbsp;cfName, boolean&nbsp;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&nbsp;<a href="../../../../org/apache/cassandra/db/Row.html" title="class in org.apache.cassandra.db">Row</a>&nbsp;getRow(<a href="../../../../org/apache/cassandra/db/filter/QueryFilter.html" title="class in org.apache.cassandra.db.filter">QueryFilter</a>&nbsp;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&nbsp;void&nbsp;apply(<a href="../../../../org/apache/cassandra/db/Mutation.html" title="class in org.apache.cassandra.db">Mutation</a>&nbsp;mutation, boolean&nbsp;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&nbsp;void&nbsp;apply(<a href="../../../../org/apache/cassandra/db/Mutation.html" title="class in org.apache.cassandra.db">Mutation</a>&nbsp;mutation, boolean&nbsp;writeCommitLog, boolean&nbsp;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&nbsp;<a href="../../../../org/apache/cassandra/locator/AbstractReplicationStrategy.html" title="class in org.apache.cassandra.locator">AbstractReplicationStrategy</a>&nbsp;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&nbsp;void&nbsp;indexRow(<a href="../../../../org/apache/cassandra/db/DecoratedKey.html" title="class in org.apache.cassandra.db">DecoratedKey</a>&nbsp;key, <a href="../../../../org/apache/cassandra/db/ColumnFamilyStore.html" title="class in org.apache.cassandra.db">ColumnFamilyStore</a>&nbsp;cfs, java.util.Set&lt;java.lang.String&gt;&nbsp;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&nbsp;java.util.List&lt;java.util.concurrent.Future&lt;?&gt;&gt;&nbsp;flush()</pre> </li> </ul> <a name="all()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>all</h4> <pre>public static&nbsp;java.lang.Iterable&lt;<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>&gt;&nbsp;all()</pre> </li> </ul> <a name="nonSystem()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>nonSystem</h4> <pre>public static&nbsp;java.lang.Iterable&lt;<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>&gt;&nbsp;nonSystem()</pre> </li> </ul> <a name="system()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>system</h4> <pre>public static&nbsp;java.lang.Iterable&lt;<a href="../../../../org/apache/cassandra/db/Keyspace.html" title="class in org.apache.cassandra.db">Keyspace</a>&gt;&nbsp;system()</pre> </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="getName()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>getName</h4> <pre>public&nbsp;java.lang.String&nbsp;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:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li> <li>Constr&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; 2014 The Apache Software Foundation</small></p> </body> </html>