public class BlockOutputHandle extends Object implements BlockOutputApi
Constructor and Description |
---|
BlockOutputHandle() |
BlockOutputHandle(String jobIdentifier,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.util.Progressable hadoopProgressable) |
Modifier and Type | Method and Description |
---|---|
void |
closeAllWriters() |
<OW extends BlockOutputWriter,OD extends BlockOutputDesc<OW>> |
getOutputDesc(String confOption) |
<OW extends BlockOutputWriter> |
getWriter(String confOption) |
void |
initialize(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.util.Progressable progressable) |
void |
returnAllWriters() |
public BlockOutputHandle()
public BlockOutputHandle(String jobIdentifier, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.util.Progressable hadoopProgressable)
public void initialize(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.util.Progressable progressable)
public <OW extends BlockOutputWriter,OD extends BlockOutputDesc<OW>> OD getOutputDesc(String confOption)
getOutputDesc
in interface BlockOutputApi
public <OW extends BlockOutputWriter> OW getWriter(String confOption)
getWriter
in interface BlockOutputApi
public void returnAllWriters()
public void closeAllWriters()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.