org.apache.mahout.df.mapred.partial
Class Step0Job.Step0Output
java.lang.Object
org.apache.mahout.df.mapred.partial.Step0Job.Step0Output
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable<Step0Job.Step0Output>, org.apache.hadoop.io.Writable
- Enclosing class:
- Step0Job
public static class Step0Job.Step0Output
- extends java.lang.Object
- implements org.apache.hadoop.io.Writable, java.lang.Comparable<Step0Job.Step0Output>, java.lang.Cloneable
Output of the step0's mappers
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Step0Job.Step0Output
protected Step0Job.Step0Output(long firstId,
int size)
getFirstId
protected long getFirstId()
getSize
protected int getSize()
readFields
public void readFields(java.io.DataInput in)
throws java.io.IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
java.io.IOException
write
public void write(java.io.DataOutput out)
throws java.io.IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
java.io.IOException
clone
protected Step0Job.Step0Output clone()
- Overrides:
clone
in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
compareTo
public int compareTo(Step0Job.Step0Output obj)
- Specified by:
compareTo
in interface java.lang.Comparable<Step0Job.Step0Output>
extractFirstIds
public static int[] extractFirstIds(Step0Job.Step0Output[] partitions)
extractSizes
public static int[] extractSizes(Step0Job.Step0Output[] partitions)
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.