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