public class HadoopOutputFile extends Object implements OutputFile
Modifier and Type | Method and Description |
---|---|
PositionOutputStream |
create(long blockSizeHint) |
PositionOutputStream |
createOrOverwrite(long blockSizeHint) |
long |
defaultBlockSize() |
static HadoopOutputFile |
fromPath(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf) |
static HadoopOutputFile |
fromPathUnchecked(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf) |
static Set<String> |
getBlockFileSystems() |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
String |
getPath() |
boolean |
supportsBlockSize() |
String |
toString() |
public static HadoopOutputFile fromPath(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
public static HadoopOutputFile fromPathUnchecked(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf)
public org.apache.hadoop.conf.Configuration getConfiguration()
public PositionOutputStream create(long blockSizeHint) throws IOException
create
in interface OutputFile
IOException
public PositionOutputStream createOrOverwrite(long blockSizeHint) throws IOException
createOrOverwrite
in interface OutputFile
IOException
public boolean supportsBlockSize()
supportsBlockSize
in interface OutputFile
public long defaultBlockSize()
defaultBlockSize
in interface OutputFile
public String getPath()
getPath
in interface OutputFile
Copyright © 2023 The Apache Software Foundation. All rights reserved.