public final class ObjectWritable<T> extends Object implements Serializable
Constructor and Description |
---|
ObjectWritable() |
ObjectWritable(T t) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ObjectWritable objectWritable) |
static <A> ObjectWritable<A> |
empty() |
boolean |
equals(Object other) |
T |
get() |
static ObjectWritable<MapReduce.NullObject> |
getNullObjectWritable() |
int |
hashCode() |
boolean |
isEmpty() |
void |
readFields(DataInput input) |
void |
set(T t) |
String |
toString() |
void |
write(DataOutput output) |
public ObjectWritable()
public ObjectWritable(T t)
public T get()
public void set(T t)
public void readFields(DataInput input) throws IOException
IOException
public void write(DataOutput output) throws IOException
IOException
public int compareTo(ObjectWritable objectWritable)
public boolean isEmpty()
public static <A> ObjectWritable<A> empty()
public static ObjectWritable<MapReduce.NullObject> getNullObjectWritable()
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.