am simply trying to determine if a user already exists with a specific
> email address or with a specific user name. Item #4 is the most confusing,
> what is going on?
>
--
Juan Ezquerro LLanes
Telf: 618349107/964051479
m';
> Bad Request: line 1:40 mismatched input 'or' expecting EOF
>
> Could someone tell me how to use OR conditions in CQL? I am able to find
> examples of AND, but none for OR and it doesn't seem to work.
>
>
>
--
Juan Ezquerro LLanes
Telf: 618349107/964051479
Ok the '--' was the problem ... LOL
2012/6/26 Juan Ezquerro
> Hi,
>
> I create this column family:
>
>
> CREATE COLUMN FAMILY Clients
> WITH column_type='Super'
> AND key_validation_class = LongType -- master_id
> A
pache.cassandra.db.compaction.SizeTieredCompactionStrategy'
and caching = 'KEYS_ONLY'
and compression_options = {'sstable_compression' :
'org.apache.cassandra.io.compress.SnappyCompressor'}
Only happend with that column family and i don't know why. Comparator and
subcomparator look bad too.
Can help please?
--
Juan Ezquerro LLanes
Telf: 618349107/964051479
s case I believe that the supercolumn approach can be valid. This CF
only store a little amount of data for any user and no often changes, i
think a supercolumn and some file caching of results can be a nice solution
with no penalty in performance.
--
Juan Ezquerro LLanes
Telf: 618349107/964051479
type: KEYS}
];
The key are like:
1:12345
1:67890
6:12345
6:67890
11:12345
11:67890
I would like to get keys who start with 1, i try with for example:
$start = array(1);
$end = array(1);
$cf->get_range($start,$end);
I try a lot of combo but not work, can help please?
I expect:
1:12345
1:67
t.
Did you see something like that before? Suggestions for debug?
--
Juan Ezquerro LLanes
Telf: 618349107/964051479
nge?? something like get_range(array(user_uuid,) ,
array(user_uuid,)) ??
Please can help?
--
Juan Ezquerro LLanes
Telf: 618349107/964051479
type:
KEYS}
];
But i think that is not a nice solution because y always need to search in
all rows of very big tables to take all user's data...
Please.... can help?
Thanks.
--
Juan Ezquerro LLanes
Telf: 618349107/964051479
definition is wrong, which is the correct way?
--
Juan Ezquerro LLanes
Telf: 618349107/964051479
Hi,
Is it possible to perform a search in supercolumn metadata?
Supercolumn do not accept secondary index sothat is not possible?
--
Juan Ezquerro LLanes
11 matches
Mail list logo