public static class AvroSequenceFile.Writer extends SequenceFile.Writer
| Modifier and Type | Class and Description |
|---|---|
static class |
AvroSequenceFile.Writer.Options
A helper class to encapsulate the options that can be used to construct a
Writer.
|
SequenceFile.Writer.OptionStreamCapabilities.StreamCapabilitycompressedValSerializer, keySerializer, uncompressedValSerializerABORTABLE_STREAM, DROPBEHIND, HFLUSH, HSYNC, IOSTATISTICS, IOSTATISTICS_CONTEXT, PREADBYTEBUFFER, READAHEAD, READBYTEBUFFER, UNBUFFER, VECTOREDIO| Constructor and Description |
|---|
Writer(AvroSequenceFile.Writer.Options options)
Creates a new
Writer to a SequenceFile that supports Avro data. |
append, 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, valueClasspublic Writer(AvroSequenceFile.Writer.Options options) throws IOException
Writer to a SequenceFile that supports Avro data.options - The writer options.IOException - If the writer cannot be initialized.Copyright © 2009–2023 The Apache Software Foundation. All rights reserved.