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 void
close()
Close and flush the writer to targetFileSystem
.Path
getPath()
GetPath
associated with the Writer.void
write(StreamElement elem)
WriteStreamElement
into 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:Writer
WriteStreamElement
into this blob store.
-
close
public void close() throws java.io.IOException
Description copied from interface:Writer
Close and flush the writer to targetFileSystem
. Note that the associatedPath
might be visible on the target FileSystem only after closing associated writer.
-
-