WriterContext
insteadpublic class WriterContext
extends java.lang.Object
implements java.io.Externalizable
Externalizable
so it can be
serialized using standard java mechanisms. Master should serialize it and
make it available to slaves to prepare for writes.Constructor and Description |
---|
WriterContext()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Configuration |
getConf()
Deprecated.
|
void |
readExternal(java.io.ObjectInput in)
Deprecated.
|
void |
setConf(Configuration config)
Deprecated.
|
void |
writeExternal(java.io.ObjectOutput out)
Deprecated.
|
public Configuration getConf()
public void setConf(Configuration config)
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
Copyright © 2012 The Apache Software Foundation