public class FileSinkOperator.FSPaths extends Object implements Cloneable
Constructor and Description |
---|
FileSinkOperator.FSPaths(org.apache.hadoop.fs.Path specPath) |
Modifier and Type | Method and Description |
---|---|
void |
abortWriters(org.apache.hadoop.fs.FileSystem fs,
boolean abort,
boolean delete) |
void |
closeWriters(boolean abort) |
org.apache.hadoop.fs.Path |
getFinalPath(String taskId,
org.apache.hadoop.fs.Path tmpPath,
String extension)
Update the final paths according to tmpPath.
|
FileSinkOperator.RecordWriter[] |
getOutWriters() |
Stat |
getStat() |
org.apache.hadoop.fs.Path |
getTaskOutPath(String taskId)
Update OutPath according to tmpPath.
|
void |
setOutWriters(FileSinkOperator.RecordWriter[] out) |
public FileSinkOperator.FSPaths(org.apache.hadoop.fs.Path specPath)
public org.apache.hadoop.fs.Path getTaskOutPath(String taskId)
public org.apache.hadoop.fs.Path getFinalPath(String taskId, org.apache.hadoop.fs.Path tmpPath, String extension)
public void setOutWriters(FileSinkOperator.RecordWriter[] out)
public FileSinkOperator.RecordWriter[] getOutWriters()
public void closeWriters(boolean abort) throws HiveException
HiveException
public void abortWriters(org.apache.hadoop.fs.FileSystem fs, boolean abort, boolean delete) throws HiveException
HiveException
public Stat getStat()
Copyright © 2017 The Apache Software Foundation. All rights reserved.