org.apache.tez.runtime.library.common.sort.impl
Class PipelinedSorter
java.lang.Object
org.apache.tez.runtime.library.common.sort.impl.ExternalSorter
org.apache.tez.runtime.library.common.sort.impl.PipelinedSorter
public class PipelinedSorter
- extends ExternalSorter
| Fields inherited from class org.apache.tez.runtime.library.common.sort.impl.ExternalSorter |
additionalSpillBytesRead, additionalSpillBytesWritten, availableMemoryMb, codec, combiner, comparator, conf, fileOutputByteCounter, ifileBufferSize, ifileReadAhead, ifileReadAheadLength, keyClass, keySerializer, mapOutputByteCounter, mapOutputFile, mapOutputRecordCounter, nullProgressable, numAdditionalSpills, outputBytesWithOverheadCounter, outputContext, partitioner, partitions, rfs, serializationFactory, sorter, spilledRecordsCounter, valClass, valSerializer |
|
Constructor Summary |
PipelinedSorter(org.apache.tez.runtime.api.TezOutputContext outputContext,
org.apache.hadoop.conf.Configuration conf,
int numOutputs,
long initialMemoryAvailable)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAP_OUTPUT_INDEX_RECORD_LENGTH
public static final int MAP_OUTPUT_INDEX_RECORD_LENGTH
- The size of each record in the index file for the map-outputs.
- See Also:
- Constant Field Values
PipelinedSorter
public PipelinedSorter(org.apache.tez.runtime.api.TezOutputContext outputContext,
org.apache.hadoop.conf.Configuration conf,
int numOutputs,
long initialMemoryAvailable)
throws IOException
- Throws:
IOException
sort
public void sort()
throws IOException
- Throws:
IOException
write
public void write(Object key,
Object value)
throws IOException
- Specified by:
write in class ExternalSorter
- Throws:
IOException
spill
public void spill()
throws IOException
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush in class ExternalSorter
- Throws:
IOException
close
public void close()
- Specified by:
close in class ExternalSorter
Copyright © 2014 Apache Software Foundation. All rights reserved.