You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Kazuomi Kashii (JIRA)" <ji...@apache.org> on 2012/06/03 18:50:22 UTC

[jira] [Created] (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.

Kazuomi Kashii created GORA-142:
-----------------------------------

             Summary: 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


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

        

[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.

Posted by "Kazuomi Kashii (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Updated] (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.

Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GORA-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney updated GORA-142:
--------------------------------------

    Affects Version/s: 0.2
        Fix Version/s: 0.3
    
> 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
>    Affects Versions: 0.2
>            Reporter: Kazuomi Kashii
>             Fix For: 0.3
>
>         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

        

[jira] [Updated] (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.

Posted by "Kazuomi Kashii (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GORA-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kazuomi Kashii updated GORA-142:
--------------------------------

    Attachment: GORA-142-v3.patch

GORA-142-v3.patch is updated from GORA-142-v2.patch as follows:
1) Fixes a bug of RECORD's ARRAY field at GORA-142-v2.patch;
2) Cleanup of some code.
                
> 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
>    Affects Versions: 0.2
>            Reporter: Kazuomi Kashii
>             Fix For: 0.3
>
>         Attachments: GORA-142-v2.patch, GORA-142-v3.patch, 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

        

[jira] [Resolved] (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.

Posted by "Kazuomi Kashii (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GORA-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kazuomi Kashii resolved GORA-142.
---------------------------------

    Resolution: Fixed

$ svn commit --message "Adds serializer packages based on Hector's ones with GORA-142 spec"
Sending        CHANGES.txt
Sending        gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraColumn.java
Sending        gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraResult.java
Sending        gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraSubColumn.java
Sending        gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraSuperColumn.java
Adding         gora-cassandra/src/main/java/org/apache/gora/cassandra/serializers
Adding         gora-cassandra/src/main/java/org/apache/gora/cassandra/serializers/GenericArraySerializer.java
Adding         gora-cassandra/src/main/java/org/apache/gora/cassandra/serializers/GoraSerializerTypeInferer.java
Adding         gora-cassandra/src/main/java/org/apache/gora/cassandra/serializers/SpecificFixedSerializer.java
Adding         gora-cassandra/src/main/java/org/apache/gora/cassandra/serializers/TypeUtils.java
Adding         gora-cassandra/src/main/java/org/apache/gora/cassandra/serializers/Utf8Serializer.java
Sending        gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
Sending        gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java
Adding         gora-cassandra/src/main/java/org/apache/gora/cassandra/store/HectorUtils.java
Transmitting file data .............
Committed revision 1361302.
$
                
> 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
>    Affects Versions: 0.2
>            Reporter: Kazuomi Kashii
>             Fix For: 0.3
>
>         Attachments: GORA-142-v2.patch, GORA-142-v3.patch, 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

        

[jira] [Updated] (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.

Posted by "Kazuomi Kashii (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GORA-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kazuomi Kashii updated GORA-142:
--------------------------------

    Attachment: GORA-142-v2.patch

GORA-142-v2.patch supports:
1) FIXED type as same level as primitive types;
2) ARRAY implementation with a single column,
which can store all primitive types and FIXED.
3) RECORD, MAP, ARRAY with Super CF implementation can store single column ARRAY in addition to all primitive types and FIXED.
                
> 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
>    Affects Versions: 0.2
>            Reporter: Kazuomi Kashii
>             Fix For: 0.3
>
>         Attachments: GORA-142-v2.patch, 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

        

[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.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GORA-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13413981#comment-13413981 ] 

Hudson commented on GORA-142:
-----------------------------

Integrated in gora-trunk #346 (See [https://builds.apache.org/job/gora-trunk/346/])
    Adds serializer packages based on Hector's ones with GORA-142 spec (Revision 1361302)

     Result = SUCCESS
kazk : 
Files : 
* /gora/trunk/CHANGES.txt
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraColumn.java
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraResult.java
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraSubColumn.java
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraSuperColumn.java
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/serializers
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/serializers/GenericArraySerializer.java
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/serializers/GoraSerializerTypeInferer.java
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/serializers/SpecificFixedSerializer.java
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/serializers/TypeUtils.java
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/serializers/Utf8Serializer.java
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/HectorUtils.java

                
> 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
>    Affects Versions: 0.2
>            Reporter: Kazuomi Kashii
>             Fix For: 0.3
>
>         Attachments: GORA-142-v2.patch, GORA-142-v3.patch, 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

        

[jira] [Updated] (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.

Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GORA-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney updated GORA-142:
--------------------------------------

    Fix Version/s:     (was: 0.3)
                   0.2.1
    
> 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
>    Affects Versions: 0.2
>            Reporter: Kazuomi Kashii
>             Fix For: 0.2.1
>
>         Attachments: GORA-142-v2.patch, GORA-142-v3.patch, 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

        

[jira] [Closed] (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.

Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GORA-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney closed 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.
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GORA-142
>                 URL: https://issues.apache.org/jira/browse/GORA-142
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: storage-cassandra
>    Affects Versions: 0.2
>            Reporter: Kazuomi Kashii
>             Fix For: 0.2.1
>
>         Attachments: GORA-142-v2.patch, GORA-142-v3.patch, 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

        

[jira] [Updated] (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.

Posted by "Kazuomi Kashii (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GORA-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kazuomi Kashii updated GORA-142:
--------------------------------

    Attachment: GORA-142.patch

GORA-140-v2.patch recommended.
                
> 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