incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben McCann <...@benmccann.com>
Subject Re: Document storage
Date Thu, 29 Mar 2012 15:23:11 GMT
Creating materialized paths may well be a possible solution.  If that were
the solution the community were to agree upon then I would like it to be a
standardized and well-documented best practice.  I asked how to store a
list of values on the user
list<http://www.mail-archive.com/user@cassandra.apache.org/msg21274.html>
and
no one suggested ["fieldName", <TimeUUID>]: "fieldValue".  It would be a
huge pain right now to create materialized paths like this for each of my
objects, so client library support would definitely be needed.  And the
client libraries should agree.  If Astyanax and lazyboy both add support
for materialized path and I write an object to Cassandra with Astyanax,
then I should be able to read it back with lazyboy.  The benefit of using
JSON/SMILE is that it's very clear that there's exactly one way to
serialize and deserialize the data and it's very easy.  It's not clear to
me that this is true using materialized paths.


On Thu, Mar 29, 2012 at 8:21 AM, Tyler Patterson <tpatterson@datastax.com>wrote:

> >
> >
> > Would there be interest in adding a JsonType?
>
>
> What about checking that data inserted into a JsonType is valid JSON? How
> would you do it, and would the overhead be something we are concerned
> about, especially if the JSON string is large?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message