Class ProximaParquetWriter
- java.lang.Object
-
- cz.o2.proxima.direct.io.bulkfs.parquet.ProximaParquetWriter
-
-
Constructor Summary
Constructors Constructor Description ProximaParquetWriter(Path path, org.apache.parquet.schema.MessageType schema, java.lang.String attributeNamesPrefix, org.apache.parquet.hadoop.metadata.CompressionCodecName compressionCodecName, org.apache.hadoop.conf.Configuration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close and flush the writer to targetFileSystem.PathgetPath()GetPathassociated with the Writer.voidwrite(StreamElement elem)WriteStreamElementinto this blob store.
-
-
-
Constructor Detail
-
ProximaParquetWriter
public ProximaParquetWriter(Path path, org.apache.parquet.schema.MessageType schema, java.lang.String attributeNamesPrefix, org.apache.parquet.hadoop.metadata.CompressionCodecName compressionCodecName, org.apache.hadoop.conf.Configuration config) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
write
public void write(StreamElement elem) throws java.io.IOException
Description copied from interface:WriterWriteStreamElementinto this blob store.
-
close
public void close() throws java.io.IOExceptionDescription copied from interface:WriterClose and flush the writer to targetFileSystem. Note that the associatedPathmight be visible on the target FileSystem only after closing associated writer.
-
-