public abstract class AbstractSequenceFileWriter extends OutputStoreObjectSupport
AbstractSequenceFileWriter is a base implementation handling
writes with a SequenceFile.| Constructor and Description |
|---|
AbstractSequenceFileWriter(Configuration configuration,
Path basePath,
CodecInfo codec)
Instantiates a new abstract sequence file writer.
|
| Modifier and Type | Method and Description |
|---|---|
protected SequenceFileWriterHolder<SequenceFile.Writer> |
getOutput()
Gets the output.
|
protected long |
getPosition(SequenceFile.Writer writer) |
findInitFiles, getOutputContext, getResolvedPath, initOutputContext, isAppendable, isFileWriteable, isOverwrite, isSyncable, onInit, renameFile, setAppendable, setFileNamingStrategy, setInWritingPrefix, setInWritingSuffix, setOverwrite, setRolloverStrategy, setSyncable, setWritePositiondoStart, doStop, getCodec, getConfiguration, getPath, handleIdleTimeout, isCompressed, resetIdleTimeout, setCloseTimeout, setIdleTimeoutafterPropertiesSet, getBeanFactory, getPhase, getStoreEventPublisher, getTaskExecutor, getTaskScheduler, isAutoStartup, isRunning, setAutoStartup, setBeanFactory, setPhase, setStoreEventPublisher, setTaskExecutor, setTaskScheduler, start, stop, stoppublic AbstractSequenceFileWriter(Configuration configuration, Path basePath, CodecInfo codec)
configuration - the hadoop configurationbasePath - the hdfs pathcodec - the compression codec infoprotected SequenceFileWriterHolder<SequenceFile.Writer> getOutput() throws IOException
IOException - Signals that an I/O exception has occurred.protected long getPosition(SequenceFile.Writer writer) throws IOException
IOException