org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators
Class POMergeJoin.TuplesToSchemaTupleList

java.lang.Object
  extended by org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POMergeJoin.TuplesToSchemaTupleList
Enclosing class:
POMergeJoin

protected static class POMergeJoin.TuplesToSchemaTupleList
extends Object

This is a class that extends ArrayList, making it easy to provide on the fly conversion from Tuple to SchemaTuple. This is necessary because we are not getting SchemaTuples from the source, though in the future that is what we would like to do.


Constructor Summary
protected POMergeJoin.TuplesToSchemaTupleList(int ct, TupleMaker<?> tf)
           
 
Method Summary
 boolean add(Tuple t)
           
static SchemaTuple<?> convert(Tuple t, SchemaTupleFactory tf)
           
 Tuple get(int i)
           
 List<Tuple> getList()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POMergeJoin.TuplesToSchemaTupleList

protected POMergeJoin.TuplesToSchemaTupleList(int ct,
                                              TupleMaker<?> tf)
Method Detail

convert

public static SchemaTuple<?> convert(Tuple t,
                                     SchemaTupleFactory tf)

add

public boolean add(Tuple t)

get

public Tuple get(int i)

size

public int size()

getList

public List<Tuple> getList()


Copyright © 2007-2012 The Apache Software Foundation