public class SequenceFileWriter extends AbstractHDFSWriter
filePath, needsRotation, offset, rotationPolicy
Constructor and Description |
---|
SequenceFileWriter(FileRotationPolicy policy,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.io.SequenceFile.Writer writer,
SequenceFormat format) |
Modifier and Type | Method and Description |
---|---|
protected void |
doClose() |
protected void |
doSync() |
protected void |
doWrite(Tuple tuple) |
close, getFilePath, needsRotation, sync, write
public SequenceFileWriter(FileRotationPolicy policy, org.apache.hadoop.fs.Path path, org.apache.hadoop.io.SequenceFile.Writer writer, SequenceFormat format)
protected void doWrite(Tuple tuple) throws IOException
doWrite
in class AbstractHDFSWriter
IOException
protected void doSync() throws IOException
doSync
in class AbstractHDFSWriter
IOException
protected void doClose() throws IOException
doClose
in class AbstractHDFSWriter
IOException
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.