summaryrefslogtreecommitdiff
path: root/src/com/p4square/grow/backend/db/CassandraKey.java
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2013-11-09 15:24:56 -0800
committerJesse Morgan <jesse@jesterpm.net>2013-11-09 15:24:56 -0800
commitd94643c217b6b93eb6c539c60b00fe0cf68272b7 (patch)
treeff27dd65b1580c5f498091684d32403577165426 /src/com/p4square/grow/backend/db/CassandraKey.java
parent5d7828e929a57042e3a0e6f6f2beafc60c748368 (diff)
Refactored TrainingResource to use the Provider interface.
Playlists are now generated from a default playlist and regularly merged with the default playlist to get updates. Also adding the Question tests that got left out of a previous commit.
Diffstat (limited to 'src/com/p4square/grow/backend/db/CassandraKey.java')
-rw-r--r--src/com/p4square/grow/backend/db/CassandraKey.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/com/p4square/grow/backend/db/CassandraKey.java b/src/com/p4square/grow/backend/db/CassandraKey.java
index 8e23087..853fe96 100644
--- a/src/com/p4square/grow/backend/db/CassandraKey.java
+++ b/src/com/p4square/grow/backend/db/CassandraKey.java
@@ -10,14 +10,20 @@ package com.p4square.grow.backend.db;
* @author Jesse Morgan <jesse@jesterpm.net>
*/
public class CassandraKey {
+ private final String mColumnFamily;
private final String mId;
private final String mColumn;
- public CassandraKey(String id, String column) {
+ public CassandraKey(String columnFamily, String id, String column) {
+ mColumnFamily = columnFamily;
mId = id;
mColumn = column;
}
+ public String getColumnFamily() {
+ return mColumnFamily;
+ }
+
public String getId() {
return mId;
}