org.apache.pig.data
Class DefaultTupleFactory
java.lang.Object
org.apache.pig.data.TupleFactory
org.apache.pig.data.BinSedesTupleFactory
org.apache.pig.data.DefaultTupleFactory
Deprecated. Use TupleFactory
@Deprecated
public class DefaultTupleFactory
- extends BinSedesTupleFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTupleFactory
public DefaultTupleFactory()
- Deprecated.
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 © 2012 The Apache Software Foundation