gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kazuomi Kashii (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-142) Creates org.apache.gora.cassandra.serializers package in order to clean the code of store and query packages and to support additional types in future.
Date Tue, 05 Jun 2012 08:16:23 GMT

    [ https://issues.apache.org/jira/browse/GORA-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289234#comment-13289234
] 

Kazuomi Kashii commented on GORA-142:
-------------------------------------

I implemented a serializer for (List)GenericArray with fixed length elements, and
it enabled ARRAY implementation with a single column discussed at GORA-138.
Also, it makes RECORD, MAP, and ARRAY with Super CF possible to have ARRAY fields, values,
and elements in a column.
I will attach the patch once I clean up the code.

For the array with variable length elements such as STRING or BYTES,
we need to define how to serialize the array.

                
> Creates org.apache.gora.cassandra.serializers package in order to clean the code of store
and query packages and to support additional types in future.
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GORA-142
>                 URL: https://issues.apache.org/jira/browse/GORA-142
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: storage-cassandra
>            Reporter: Kazuomi Kashii
>         Attachments: GORA-142.patch
>
>
> It has been discussed at GORA-81, and a kind of fix has been committed as a part of GORA-138
patch.
> Since it is one of the main functionalities of gora-cassandra to handle Serializers,
it seems a good idea to separate those code from store and query packages.
> I will be attaching my patch shortly.
> 1) Utf8Serializer makes simple to handle Type.STRING;
> 2) GoraSerializerTypeInferer is a single point go get Serializer, and it is extensible
to support additional types in future;
> 3) Type.BOOLEAN is supported.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message