Skip to content

Instantly share code, notes, and snippets.

@nathanmarz
Created February 24, 2011 02:54
Show Gist options
  • Save nathanmarz/841668 to your computer and use it in GitHub Desktop.
Save nathanmarz/841668 to your computer and use it in GitHub Desktop.
Tap source = new Hfs(new SequenceFile(new Fields("key", "value")), "/tmp/key-value-pairs");
DomainSpec spec = new DomainSpec(new JavaBerkDB(), 32);
ElephantDBTap sink = new ElephantDBTap("/data/output/my-edb-domain", spec);
Pipe p = new Pipe("pipe");
p = new ElephantTailAssembly(p, sink);
new FlowConnector().connect(source, sink, p).complete();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment