public class CompleteFileWork extends Object implements FileWork, CompleteWork
Modifier and Type | Class and Description |
---|---|
static class |
CompleteFileWork.FileWorkImpl |
Constructor and Description |
---|
CompleteFileWork(EndpointByteMap byteMap,
long start,
long length,
org.apache.hadoop.fs.Path path) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CompleteWork o) |
CompleteFileWork.FileWorkImpl |
getAsFileWork() |
EndpointByteMap |
getByteMap() |
long |
getLength() |
org.apache.hadoop.fs.Path |
getPath() |
long |
getStart() |
long |
getTotalBytes() |
String |
toString() |
public CompleteFileWork(EndpointByteMap byteMap, long start, long length, org.apache.hadoop.fs.Path path)
public int compareTo(CompleteWork o)
compareTo
in interface Comparable<CompleteWork>
public long getTotalBytes()
getTotalBytes
in interface CompleteWork
public EndpointByteMap getByteMap()
getByteMap
in interface CompleteWork
public CompleteFileWork.FileWorkImpl getAsFileWork()
Copyright © 1970 The Apache Software Foundation. All rights reserved.