|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tez.runtime.library.common.sort.impl.TezSpillRecord
public class TezSpillRecord
| Constructor Summary | |
|---|---|
TezSpillRecord(int numPartitions)
|
|
TezSpillRecord(org.apache.hadoop.fs.Path indexFileName,
org.apache.hadoop.conf.Configuration job)
|
|
TezSpillRecord(org.apache.hadoop.fs.Path indexFileName,
org.apache.hadoop.conf.Configuration job,
Checksum crc,
String expectedIndexOwner)
|
|
TezSpillRecord(org.apache.hadoop.fs.Path indexFileName,
org.apache.hadoop.conf.Configuration job,
String expectedIndexOwner)
|
|
| Method Summary | |
|---|---|
TezIndexRecord |
getIndex(int partition)
Get spill offsets for given partition. |
void |
putIndex(TezIndexRecord rec,
int partition)
Set spill offsets for given partition. |
int |
size()
Return number of IndexRecord entries in this spill. |
void |
writeToFile(org.apache.hadoop.fs.Path loc,
org.apache.hadoop.conf.Configuration job)
Write this spill record to the location provided. |
void |
writeToFile(org.apache.hadoop.fs.Path loc,
org.apache.hadoop.conf.Configuration job,
Checksum crc)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TezSpillRecord(int numPartitions)
public TezSpillRecord(org.apache.hadoop.fs.Path indexFileName,
org.apache.hadoop.conf.Configuration job)
throws IOException
IOException
public TezSpillRecord(org.apache.hadoop.fs.Path indexFileName,
org.apache.hadoop.conf.Configuration job,
String expectedIndexOwner)
throws IOException
IOException
public TezSpillRecord(org.apache.hadoop.fs.Path indexFileName,
org.apache.hadoop.conf.Configuration job,
Checksum crc,
String expectedIndexOwner)
throws IOException
IOException| Method Detail |
|---|
public int size()
public TezIndexRecord getIndex(int partition)
public void putIndex(TezIndexRecord rec,
int partition)
public void writeToFile(org.apache.hadoop.fs.Path loc,
org.apache.hadoop.conf.Configuration job)
throws IOException
IOException
public void writeToFile(org.apache.hadoop.fs.Path loc,
org.apache.hadoop.conf.Configuration job,
Checksum crc)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||