public class VarIntWritable extends Object implements org.apache.hadoop.io.WritableComparable<VarIntWritable>, Cloneable
Constructor and Description |
---|
VarIntWritable() |
VarIntWritable(int value) |
Modifier and Type | Method and Description |
---|---|
VarIntWritable |
clone() |
int |
compareTo(VarIntWritable other) |
boolean |
equals(Object other) |
int |
get() |
int |
hashCode() |
void |
readFields(DataInput in) |
void |
set(int value) |
String |
toString() |
void |
write(DataOutput out) |
public VarIntWritable()
public VarIntWritable(int value)
public int get()
public void set(int value)
public VarIntWritable clone()
public int compareTo(VarIntWritable other)
compareTo
in interface Comparable<VarIntWritable>
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.