public class AvroRecordWriter extends Object implements RecordWriter
| Modifier and Type | Class and Description |
|---|---|
static class |
AvroRecordWriter.Factory |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(org.apache.avro.generic.GenericData.Record record) |
public void write(org.apache.avro.generic.GenericData.Record record)
throws IOException
write in interface Writer<org.apache.avro.generic.GenericData.Record>IOExceptionpublic void flush()
throws IOException
flush in interface FlushableIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2016–2020 Hotels.com (Data Platform Team). All rights reserved.