|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avro.mapred.AvroWrapper<T>
public class AvroWrapper<T>
The wrapper of data for jobs configured with AvroJob
.
Constructor Summary | |
---|---|
AvroWrapper()
Wrap null. |
|
AvroWrapper(T datum)
Wrap a datum. |
Method Summary | |
---|---|
T |
datum()
Return the wrapped datum. |
void |
datum(T datum)
Set the wrapped datum. |
boolean |
equals(Object obj)
|
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AvroWrapper()
AvroWrapper
wrapping no datum.
public AvroWrapper(T datum)
Method Detail |
---|
public T datum()
public void datum(T datum)
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |