|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ebay.erl.mobius.core.SortPersistable
public class SortPersistable
Specifies the output path and format of a sort job.
See MobiusJob.sort(Dataset)
for information
on creating a sort job.
This product is licensed under the Apache License, Version 2.0,
available at http://www.apache.org/licenses/LICENSE-2.0.
This product contains portions derived from Apache hadoop which is
licensed under the Apache License, Version 2.0, available at
http://hadoop.apache.org.
© 2007 – 2012 eBay Inc., Evan Chiu, Woody Zhou, Neel Sundaresan
Method Summary | |
---|---|
Dataset |
save(MobiusJob job,
org.apache.hadoop.fs.Path output)
Save the sort result to the given output . |
Dataset |
save(MobiusJob job,
org.apache.hadoop.fs.Path output,
java.lang.Class<? extends org.apache.hadoop.mapred.FileOutputFormat> outputFormat)
Save the sort result to the given output with
the specified outputFormat . |
SortPersistable |
setConf(java.lang.String name,
java.lang.String value)
set a configuration property to this job's configuration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public SortPersistable setConf(java.lang.String name, java.lang.String value)
public Dataset save(MobiusJob job, org.apache.hadoop.fs.Path output) throws java.io.IOException
output
.
The returned Dataset
represents the sorted result,
it can be used to do further analysis.
java.io.IOException
public Dataset save(MobiusJob job, org.apache.hadoop.fs.Path output, java.lang.Class<? extends org.apache.hadoop.mapred.FileOutputFormat> outputFormat) throws java.io.IOException
output
with
the specified outputFormat
.
The returned Dataset
represents the sorted result,
it can be used to do further analysis.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |