Class MultipleLongWritable
- java.lang.Object
-
- com.alibaba.graphscope.example.giraph.writable.MultipleLongWritable
-
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
public class MultipleLongWritable extends Object implements org.apache.hadoop.io.Writable
-
-
Constructor Summary
Constructors Constructor Description MultipleLongWritable()
MultipleLongWritable(long value)
MultipleLongWritable(org.apache.hadoop.io.LongWritable data, int times)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
get()
void
readFields(DataInput input)
void
set(long value)
String
toString()
void
write(DataOutput output)
-
-
-
Method Detail
-
get
public long get()
-
set
public void set(long value)
-
readFields
public void readFields(DataInput input) throws IOException
- Specified by:
readFields
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
write
public void write(DataOutput output) throws IOException
- Specified by:
write
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
-