streams-plugin-cassandra generates resources from json schemas to assist with indexing of json data using Apache Cassandra.
Run within a module containing a src/main/jsonschema directory
mvn org.apache.streams.plugins:streams-plugin-cassandra:0.5.1:generate-resources
Embed within your own java code
StreamsCassandraGenerationConfig config = new StreamsCassandraGenerationConfig(); config.setSourceDirectory("src/main/jsonschema"); config.setTargetDirectory("target/generated-resources"); StreamsCassandraResourceGenerator generator = new StreamsCassandraResourceGenerator(config); generator.run();