streams-plugin-pig generates resources from json schemas to assist with analysis of json data using Apache Pig.
Output will be placed in target/generated-resources/pig by default
Run within a module containing a src/main/jsonschema directory
mvn org.apache.streams.plugins:streams-plugin-pig:0.4-incubating:pig
Embed within your own java code
StreamsPigGenerationConfig config = new StreamsPigGenerationConfig(); config.setSourceDirectory("src/main/jsonschema"); config.setTargetDirectory("target/generated-resources"); StreamsPigGenerationConfig generator = new StreamsPigGenerationConfig(config); generator.run();