public class MetricWritable extends Object implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
MetricWritable() |
MetricWritable(Metric metric) |
| Modifier and Type | Method and Description |
|---|---|
Metric |
get() |
void |
readFields(DataInput dataInput) |
void |
set(Metric metric) |
void |
write(DataOutput dataOutput) |
public MetricWritable()
public MetricWritable(Metric metric)
public void write(DataOutput dataOutput) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput dataInput) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic Metric get()
public void set(Metric metric)
Copyright © 2014 Calrissian. All Rights Reserved.