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 CompleteWorkpublic EndpointByteMap getByteMap()
getByteMap in interface CompleteWorkpublic CompleteFileWork.FileWorkImpl getAsFileWork()
Copyright © 2021 The Apache Software Foundation. All rights reserved.