public class AvroWriter extends Object implements Closeable
| Constructor and Description |
|---|
AvroWriter(File baseDir,
int index,
Map<String,Generator> generatorMap,
org.apache.pinot.spi.data.Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static org.apache.avro.Schema |
getAvroSchema(org.apache.pinot.spi.data.Schema schema) |
void |
writeNext() |
public AvroWriter(File baseDir, int index, Map<String,Generator> generatorMap, org.apache.pinot.spi.data.Schema schema) throws IOException
IOExceptionpublic static org.apache.avro.Schema getAvroSchema(org.apache.pinot.spi.data.Schema schema)
public void writeNext()
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2018–2020 Apache Software Foundation. All rights reserved.