This repository has been archived by the owner on May 19, 2022. It is now read-only.
forked from kreynolds/cassandra-cql
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved roundtrip tests into one keyspace.
Removed the unused keyspaces from fauna.
- Loading branch information
psanford
committed
Sep 12, 2011
1 parent
5073774
commit 2d0ff43
Showing
3 changed files
with
12 additions
and
128 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,10 @@ | ||
create keyspace Twitter with | ||
placement_strategy = 'org.apache.cassandra.locator.LocalStrategy' AND | ||
strategy_options = [{replication_factor:1}]; | ||
use Twitter; | ||
create column family Users with comparator = 'UTF8Type'; | ||
create column family UserAudits with comparator = 'UTF8Type'; | ||
create column family UserCounters with comparator = 'UTF8Type' and | ||
default_validation_class = CounterColumnType; | ||
create column family UserCounterAggregates with column_type = 'Super' | ||
and comparator = 'UTF8Type' and | ||
subcomparator = 'UTF8Type' and | ||
default_validation_class = CounterColumnType; | ||
create column family UserRelationships with | ||
comparator = 'UTF8Type' and | ||
column_type = 'Super' and | ||
subcomparator = 'TimeUUIDType'; | ||
create column family Usernames with comparator = 'UTF8Type'; | ||
create column family Statuses with comparator = 'UTF8Type'; | ||
create column family StatusAudits with comparator = 'UTF8Type'; | ||
create column family StatusRelationships with | ||
comparator = 'UTF8Type' and | ||
column_type = 'Super' and | ||
subcomparator = 'TimeUUIDType'; | ||
create column family Indexes with | ||
comparator = 'UTF8Type' and | ||
column_type = 'Super'; | ||
create column family TimelinishThings with | ||
comparator = 'BytesType'; | ||
|
||
create keyspace Multiblog with | ||
placement_strategy = 'org.apache.cassandra.locator.LocalStrategy' AND | ||
strategy_options = [{replication_factor:1}]; | ||
use Multiblog; | ||
create column family Blogs with comparator = 'TimeUUIDType'; | ||
create column family Comments with comparator = 'TimeUUIDType'; | ||
|
||
|
||
create keyspace MultiblogLong with | ||
placement_strategy = 'org.apache.cassandra.locator.LocalStrategy' AND | ||
strategy_options = [{replication_factor:1}]; | ||
use MultiblogLong; | ||
create column family Blogs with comparator = 'LongType'; | ||
create column family Comments with comparator = 'LongType'; | ||
|
||
create keyspace TypeConversions with | ||
placement_strategy = 'org.apache.cassandra.locator.LocalStrategy' AND | ||
strategy_options = [{replication_factor:1}]; | ||
use TypeConversions; | ||
create column family UUIDColumnConversion with comparator = TimeUUIDType; | ||
create column family SuperUUID with comparator = TimeUUIDType and column_type = Super; | ||
create column family CompositeColumnConversion with comparator = 'CompositeType(IntegerType, UTF8Type)'; | ||
create column family IntegerConversion with comparator = 'IntegerType'; | ||
|
||
create column family LongConversion with comparator = 'LongType'; | ||
create column family CounterConversion with comparator = 'UTF8Type' and | ||
default_validation_class = CounterColumnType; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters