public class ParsedOutputFileName extends Object
All the components are here: tmp_(taskPrefix)00001_02_copy_1.zlib.gz
| Modifier and Type | Method and Description |
|---|---|
String |
getAttemptId() |
String |
getCopyIndex() |
String |
getPrefixedTaskId() |
String |
getSuffix() |
String |
getTaskId() |
String |
getTaskIdPrefix() |
boolean |
isCopyFile() |
String |
makeFilenameWithCopyIndex(int idx)
Create a copy file using the same file name as this and the given index.
|
boolean |
matches() |
static ParsedOutputFileName |
parse(String fileName) |
String |
toString() |
public static ParsedOutputFileName parse(String fileName)
public boolean matches()
public String getTaskIdPrefix()
public String getTaskId()
public String getPrefixedTaskId()
public String getAttemptId()
public boolean isCopyFile()
public String getCopyIndex()
public String getSuffix()
public String makeFilenameWithCopyIndex(int idx) throws HiveException
idx - The index required.HiveExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.