限定符和类型 | 类和说明 |
---|---|
static class |
BlocksWithLocations.BlockWithLocations
A class to keep track of a block and its locations
|
构造器和说明 |
---|
BlocksWithLocations(BlocksWithLocations.BlockWithLocations[] blocks)
Constructor with one parameter
|
public BlocksWithLocations(BlocksWithLocations.BlockWithLocations[] blocks)
public BlocksWithLocations.BlockWithLocations[] getBlocks()
public void write(DataOutput out) throws IOException
write
在接口中 Writable
out
- DataOuput
to serialize this object into.IOException
public void readFields(DataInput in) throws IOException
readFields
在接口中 Writable
in
- DataInput
to deseriablize this object from.IOException
Copyright © 2009 The Apache Software Foundation