Package org.apache.flink.test.recordJobs.util

Examples of org.apache.flink.test.recordJobs.util.Tuple.concatenate()


    t1.addAttribute("b");
    t1.addAttribute("c");
    t2.addAttribute("z");
    t2.addAttribute("y");
    t2.addAttribute("x");
    t2.concatenate(t1);
    // check tuple t2
    Assert.assertTrue(t2.getNumberOfColumns() == 6);
    Assert.assertTrue(t2.getStringValueAt(0).equals("z"));
    Assert.assertTrue(t2.getStringValueAt(1).equals("y"));
    Assert.assertTrue(t2.getStringValueAt(2).equals("x"));
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.