Package org.apache.pig.data

Examples of org.apache.pig.data.AmendableTuple


            // find all tuples in each input pertaining to the group of interest, and combine the
            // data into a single tuple
           
            Tuple output;
            ExampleTuple tOut = new ExampleTuple();
            if (outputType == LogicalOperator.AMENDABLE) output = new AmendableTuple(1 + inputs.length, smallestGroup);
            else output = new Tuple(1 + inputs.length);

            // set first field to the group tuple
            output.setField(0, smallestGroup);
            tOut.copyFrom(output);
View Full Code Here

TOP

Related Classes of org.apache.pig.data.AmendableTuple

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.