Class ParquetProtoWriters

java.lang.Object
org.apache.flink.formats.parquet.protobuf.ParquetProtoWriters

public class ParquetProtoWriters extends Object
Convenience builder for creating ParquetWriterFactory instances for Protobuf classes.
  • Method Details

    • forType

      public static <T extends com.google.protobuf.Message> ParquetWriterFactory<T> forType(Class<T> type)
      Creates a ParquetWriterFactory for the given type. The type should represent a Protobuf message.
      Parameters:
      type - The class of the type to write.