Package org.apache.pig.piggybank.evaluation.util

Examples of org.apache.pig.piggybank.evaluation.util.ToBag.exec()


        for (int i = 0; i < 100; ++i) {
            input.append(i);
        }

        Set<Integer> s = new HashSet<Integer>();
        DataBag db = tb.exec(input);
        for (Tuple t : db) {
            s.add((Integer) t.get(0));
        }

        // finally check the bag had everything we put in the tuple.
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.