Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
0.2
-
None
Description
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.
Attachments
Issue Links
- is related to
-
GORA-203 Bug in setting column field attribute "qualifier" in CassandraMapping
- Closed