Created
February 24, 2011 02:54
-
-
Save nathanmarz/841668 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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