Package org.apache.avro.hadoop.io
Class AvroSequenceFile.Writer
java.lang.Object
org.apache.hadoop.io.SequenceFile.Writer
org.apache.avro.hadoop.io.AvroSequenceFile.Writer
- All Implemented Interfaces:
- Closeable,- Flushable,- AutoCloseable,- StreamCapabilities,- Syncable
- Enclosing class:
- AvroSequenceFile
A writer for an uncompressed SequenceFile that supports Avro data.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classA helper class to encapsulate the options that can be used to construct a Writer.Nested classes/interfaces inherited from class org.apache.hadoop.io.SequenceFile.WriterSequenceFile.Writer.OptionNested classes/interfaces inherited from interface org.apache.hadoop.fs.StreamCapabilitiesStreamCapabilities.StreamCapability
- 
Field SummaryFields inherited from class org.apache.hadoop.io.SequenceFile.WritercompressedValSerializer, keySerializer, uncompressedValSerializerFields inherited from interface org.apache.hadoop.fs.StreamCapabilitiesABORTABLE_STREAM, DROPBEHIND, HFLUSH, HSYNC, IOSTATISTICS, IOSTATISTICS_CONTEXT, PREADBYTEBUFFER, READAHEAD, READBYTEBUFFER, UNBUFFER, VECTOREDIO
- 
Constructor SummaryConstructorsConstructorDescriptionWriter(AvroSequenceFile.Writer.Options options) Creates a newWriterto a SequenceFile that supports Avro data.
- 
Method SummaryMethods inherited from class org.apache.hadoop.io.SequenceFile.Writerappend, append, appendIfExists, appendRaw, blockSize, bufferSize, close, compression, compression, file, flush, getCompressionCodec, getKeyClass, getLength, getValueClass, hasCapability, hflush, hsync, keyClass, metadata, progressable, replication, stream, sync, syncFs, syncInterval, valueClass
- 
Constructor Details- 
WriterCreates a newWriterto a SequenceFile that supports Avro data.- Parameters:
- options- The writer options.
- Throws:
- IOException- If the writer cannot be initialized.
 
 
-