@InterfaceAudience.Private public class FileChunk extends Object implements Comparable<FileChunk>
| Constructor and Description |
|---|
FileChunk(org.apache.hadoop.fs.Path path,
long offset,
long length) |
FileChunk(org.apache.hadoop.fs.Path path,
long offset,
long length,
boolean isLocalFile,
InputAttemptIdentifier identifier) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(FileChunk that) |
boolean |
equals(Object o) |
InputAttemptIdentifier |
getInputAttemptIdentifier() |
long |
getLength() |
long |
getOffset() |
org.apache.hadoop.fs.Path |
getPath() |
int |
hashCode() |
boolean |
isLocalFile() |
public FileChunk(org.apache.hadoop.fs.Path path,
long offset,
long length,
boolean isLocalFile,
InputAttemptIdentifier identifier)
public FileChunk(org.apache.hadoop.fs.Path path,
long offset,
long length)
public int compareTo(FileChunk that)
compareTo in interface Comparable<FileChunk>public long getOffset()
public long getLength()
public org.apache.hadoop.fs.Path getPath()
public boolean isLocalFile()
public InputAttemptIdentifier getInputAttemptIdentifier()
Copyright © 2016 Apache Software Foundation. All rights reserved.