You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2013/02/06 00:13:14 UTC
[jira] [Resolved] (GORA-121) Enhance CassandraMapping to support
additional Column Definitions
[ https://issues.apache.org/jira/browse/GORA-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lewis John McGibbney resolved GORA-121.
---------------------------------------
Resolution: Won't Fix
This has either been fixed elsewhere or is now not relevant.
> 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" keyspace="WebPage">
> <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 removed.
--
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