public class AvroFileWriter.AvroFile extends Object implements Closeable
| Constructor and Description |
|---|
AvroFileWriter.AvroFile(Location location) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(LogWriteEvent event) |
void |
close() |
void |
flush() |
long |
getLastModifiedTs() |
Location |
getLocation() |
long |
getPos() |
void |
sync() |
public AvroFileWriter.AvroFile(Location location)
public Location getLocation()
public void append(LogWriteEvent event) throws IOException
IOExceptionpublic long getPos()
throws IOException
IOExceptionpublic long getLastModifiedTs()
public void flush()
throws IOException
IOExceptionpublic void sync()
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.