gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-121) Enhance CassandraMapping to support additional Column Definitions
Date Sat, 02 Feb 2013 02:07:14 GMT

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

Lewis John McGibbney commented on GORA-121:

Can anyone see or suggest any additional column attributes which Cassandra currently supports?
If not then we can close this issue as won't fix as it seems to be have been addressed. 
> Enhance CassandraMapping to support additional Column Definitions 
> ------------------------------------------------------------------
>                 Key: GORA-121
>                 URL: https://issues.apache.org/jira/browse/GORA-121
>             Project: Apache Gora
>          Issue Type: New Feature
>          Components: storage-cassandra
>    Affects Versions: 0.2
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>             Fix For: 0.4
> There are 2 parts to this issue
> 1) CassandraMapping#loadConfiguration currently loads definitions for keyspaces, column
families and columns however the support for the latter is limited.
> The following is a mapping example
> Say we have the keyspace mapping configuration:
>     <keyspace name="WebPage" cluster="Test Cluster" host="localhost">
>         <family name="p"/>
>         <family name="f"/>
>    	<family name="sc" type="super"/>
>     </keyspace>
> and the column mapping configuration:
>    <class name="org.apache.gora.examples.generated.WebPage" keyClass="java.lang.String"
>     <field name="url" family="p" path="c:u"/>
>     <field name="content" family="p" path="p:cnt:c"/>
>     <field name="parsedContent" family="p" path="p:parsedContent"/>
>     <field name="outlinks" family="p" path="p:outlinks"/>
>     <field name="metadata" family="p" path="c:mt"/>
>    </class>
> Currently we don't support keyClass attributes or field path attributes.
> 2) Additionally, we mention
> private static final String COLUMN_ATTRIBUTE = "qualifier";
> however this resource is neither loaded or requested at any stage during the process
of ascertaining Cassandra mappings. This should also be supported, if not then it should be

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message