构造器和说明 |
---|
LongAvgValue() |
限定符和类型 | 方法和说明 |
---|---|
LongWritable |
getAvg()
获取平均值
|
LongWritable |
getCount()
获取计数
|
LongWritable |
getSum()
获取总和
|
void |
readFields(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
public void write(DataOutput out) throws IOException
write
在接口中 Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
在接口中 Writable
IOException
public LongWritable getSum()
public LongWritable getCount()
public LongWritable getAvg()
Copyright © 2015 Alibaba Cloud Computing. All rights reserved.