org.apache.pig.data
Class DefaultTupleFactory

java.lang.Object
  extended by org.apache.pig.data.TupleFactory
      extended by org.apache.pig.data.BinSedesTupleFactory
          extended by org.apache.pig.data.DefaultTupleFactory
All Implemented Interfaces:
TupleMaker<Tuple>

Deprecated. Use TupleFactory

@Deprecated
public class DefaultTupleFactory
extends BinSedesTupleFactory


Constructor Summary
DefaultTupleFactory()
          Deprecated.  
 
Method Summary
 Class<? extends TupleRawComparator> tupleRawComparatorClass()
          Deprecated. Return the actual class implementing the raw comparator for tuples that the factory will be returning.
 
Methods inherited from class org.apache.pig.data.BinSedesTupleFactory
isFixedSize, newTuple, newTuple, newTuple, newTuple, newTupleNoCopy, tupleClass
 
Methods inherited from class org.apache.pig.data.TupleFactory
getInstance, resetSelf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTupleFactory

public DefaultTupleFactory()
Deprecated. 
Method Detail

tupleRawComparatorClass

public Class<? extends TupleRawComparator> tupleRawComparatorClass()
Deprecated. 
Description copied from class: TupleFactory
Return the actual class implementing the raw comparator for tuples that the factory will be returning. Ovverride this to allow Hadoop to speed up tuple sorting. The actual returned class should know the serialization details for the tuple. The default implementation (PigTupleDefaultRawComparator) will serialize the data before comparison

Overrides:
tupleRawComparatorClass in class BinSedesTupleFactory
Returns:
Class that implements tuple raw comparator.


Copyright © 2007-2012 The Apache Software Foundation