Merge branch 'cassandra-2.0' into cassandra-2.1

This commit is contained in:
Dave Brosius 2014-05-17 17:03:05 -04:00
commit 4ad6db380a
1 changed files with 6 additions and 2 deletions

View File

@ -30,8 +30,12 @@ import org.apache.cassandra.db.marshal.AbstractType;
import org.apache.cassandra.exceptions.ConfigurationException;
/**
* Implements a secondary index for a column family using a second column family
* in which the row keys are indexed values, and column names are base row keys.
* Implements a secondary index for a column family using a second column family.
* The design uses inverted index http://en.wikipedia.org/wiki/Inverted_index.
* The row key is the indexed value. For example, if we're indexing a column named
* city, the index value of city is the row key.
* The column names are the keys of the records. To see a detailed example, please
* refer to wikipedia.
*/
public class KeysIndex extends AbstractSimplePerColumnSecondaryIndex
{