public class HadoopFileBlock extends HadoopInputSplit
| Modifier and Type | Field and Description |
|---|---|
protected URI |
file |
protected long |
len |
protected long |
start |
hosts| Constructor and Description |
|---|
HadoopFileBlock()
Creates new file block.
|
HadoopFileBlock(String[] hosts,
URI file,
long start,
long len)
Creates new file block.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
This method must be implemented for purpose of internal implementation.
|
URI |
file() |
void |
file(URI file) |
int |
hashCode()
This method must be implemented for purpose of internal implementation.
|
void |
hosts(String[] hosts) |
long |
length() |
void |
length(long len) |
void |
readExternal(ObjectInput in) |
long |
start() |
void |
start(long start) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
hosts@GridToStringInclude protected URI file
@GridToStringInclude protected long start
@GridToStringInclude protected long len
public void writeExternal(ObjectOutput out) throws IOException
IOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic long length()
public void length(long len)
len - New length.public long start()
public void start(long start)
start - New start.public URI file()
public void file(URI file)
file - New file.public void hosts(String[] hosts)
hosts - New hosts.public boolean equals(Object o)
equals in class HadoopInputSplito - Another object.true If objects are equal.public int hashCode()
hashCode in class HadoopInputSplit
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017