org.apache.mahout.clustering.iterator
Class ClusteringPolicyWritable
java.lang.Object
org.apache.mahout.clustering.iterator.ClusteringPolicyWritable
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
public class ClusteringPolicyWritable
- extends Object
- implements org.apache.hadoop.io.Writable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusteringPolicyWritable
public ClusteringPolicyWritable(ClusteringPolicy policy)
ClusteringPolicyWritable
public ClusteringPolicyWritable()
getValue
public ClusteringPolicy getValue()
setValue
public void setValue(ClusteringPolicy value)
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.