Package com.odiago.flumebase.exec.local

Examples of com.odiago.flumebase.exec.local.MemoryOutputElement


    FlowId id = response.getFlowId();
    assertNotNull(response.getMessage(), id);
    joinFlow(id);

    // Examine the response records.
    MemoryOutputElement output = getOutput("testJoin");
    assertNotNull(output);

    return output.getRecords();
  }
View Full Code Here


    }

    joinFlow(id);

    // Examine the response records.
    MemoryOutputElement output = getOutput("testGroupBy");
    assertNotNull(output);

    return output.getRecords();
  }
View Full Code Here

    joinFlow(id);

    long stopTimestamp = System.currentTimeMillis();

    // Examine the response records.
    MemoryOutputElement output = getOutput("testThroughput");
    assertNotNull(output);

    List<GenericData.Record> outRecords = output.getRecords();
    assertNotNull(outRecords);
    assertEquals("Improper number of records!", expectedRecordCount, outRecords.size());

    long initTime = startTimestamp - initTimestamp;
    long runTime = stopTimestamp - startTimestamp;
View Full Code Here

    assertNotNull(response.getMessage(), id);
    joinFlow(id);
    LOG.debug("Flow runtime complete");

    // Examine the response records.
    MemoryOutputElement output = getOutput("testSelect");
    assertNotNull(output);

    List<GenericData.Record> outRecords = output.getRecords();
    GenericData.Record firstRecord = outRecords.get(0);
    for (Pair<String, Object> check : checkFields) {
      String checkName = check.getLeft();
      Object checkVal = check.getRight();
      assertEquals(checkVal, firstRecord.get(checkName));
View Full Code Here

TOP

Related Classes of com.odiago.flumebase.exec.local.MemoryOutputElement

Copyright © 2018 www.massapicom. 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.