Examples of MemorySourceTap


Examples of com.twitter.maple.tap.MemorySourceTap

public class TestEveryStats extends BaseTestCase {

  @Test
  public void run() {
    Tap source = new MemorySourceTap(Arrays.asList(
        new Tuple(1),
        new Tuple(2),
        new Tuple(1)),
        new Fields("field"));
View Full Code Here

Examples of com.twitter.maple.tap.MemorySourceTap

    tc.add(new Tuple("testing if it fails"));
  }

  @Test
  public void testFlow() throws IOException {
    Tap input = new MemorySourceTap(
        Lists.newArrayList(
            new Tuple("line1", 1),
            new Tuple("line2", 2),
            new Tuple("line3", 3),
            new Tuple("line4", 4)),
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.