|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.nutch.mapReduce.MapOutputLocation
The location of a map output file, as passed to a reduce task via the
InterTrackerProtocol
.
Constructor Summary | |
MapOutputLocation()
RPC constructor |
|
MapOutputLocation(String mapTaskId,
String host,
int port)
Construct a location. |
Method Summary | |
String |
getHost()
The host the task completed on. |
String |
getMapTaskId()
The map task id. |
int |
getPort()
The port listening for MapOutputProtocol connections. |
void |
readFields(DataInput in)
Reads the fields of this object from in . |
void |
write(DataOutput out)
Writes the fields of this object to out . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MapOutputLocation()
public MapOutputLocation(String mapTaskId, String host, int port)
Method Detail |
public String getMapTaskId()
public String getHost()
public int getPort()
MapOutputProtocol
connections.
public void write(DataOutput out) throws IOException
Writable
out
.
write
in interface Writable
IOException
public void readFields(DataInput in) throws IOException
Writable
in
. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
readFields
in interface Writable
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |