public class HiveFileSplit extends Object
| Constructor and Description |
|---|
HiveFileSplit(String path,
long start,
long length,
long fileSize,
long fileModifiedTime,
Optional<byte[]> extraFileInfo,
Map<String,String> customSplitInfo,
long affinitySchedulingFileSectionIndex) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getAffinitySchedulingFileSectionIndex() |
Map<String,String> |
getCustomSplitInfo() |
Optional<byte[]> |
getExtraFileInfo() |
long |
getFileModifiedTime() |
long |
getFileSize() |
long |
getLength() |
String |
getPath() |
long |
getStart() |
int |
hashCode() |
String |
toString() |
public HiveFileSplit(String path, long start, long length, long fileSize, long fileModifiedTime, Optional<byte[]> extraFileInfo, Map<String,String> customSplitInfo, long affinitySchedulingFileSectionIndex)
path - the absolute path to the file that contains the splitstart - the position in the containing file of the first byte of the splitlength - the number of bytes in the splitfileSize - the total length of the file that contains the splitfileModifiedTime - the most recent time when the file containing the split was modifiedNullPointerException - if any object parameter is nullIllegalArgumentException - if any numeric parameter is less than zeropublic String getPath()
public long getStart()
public long getLength()
public long getFileSize()
public long getFileModifiedTime()
public Optional<byte[]> getExtraFileInfo()
public long getAffinitySchedulingFileSectionIndex()
Copyright © 2012–2024. All rights reserved.