DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Store Cassandra

Support schema creation "USING" options via metadata

Created: 31/Mar/14 05:05 PM   Updated: 10/Jun/14 04:36 PM   Resolved: 29/Apr/14 02:45 PM
Component/s: Schema
Affects Version/s: None
Fix Version/s: 4.0.0.m4

 Description  « Hide
The various schema CQL allows specification of various options with the USING keyword. We should support specification of these via metadata in

    <extension vendor-name="datanucleus" key="cassandra.create.some_option" value="the_value"/>

and translate that to
USING some_option=the_value

The same idea can also apply to INSERT/UPDATE/DELETE/SELECT

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 29/Apr/14 11:12 AM
CREATE TABLE and CREATE INDEX now have support via the extensions

1. ClassMetaData extension "cassandra.createTable.options" specifies any OPTIONS for a CREATE TABLE statement (comma-separated value if wanting multiple options)
2. IndexMetaData extension "cassandra.createIndex.using" specifies any USING clause for a CREATE INDEX statement

Andy Jefferson added a comment - 29/Apr/14 02:45 PM
GitHub master now adds support for this.

In addition to the above, also added the following extension keys (to ClassMetaData)
with the value being comma-separated options.