Class ParquetProtoWriters
java.lang.Object
org.apache.flink.formats.parquet.protobuf.ParquetProtoWriters
Convenience builder for creating
ParquetWriterFactory instances for Protobuf classes.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classParquetProtoWriters.ParquetProtoWriterBuilder<T extends com.google.protobuf.Message>The builder for ProtobufParquetWriter. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends com.google.protobuf.Message>
ParquetWriterFactory<T>Creates aParquetWriterFactoryfor the given type.
-
Method Details
-
forType
public static <T extends com.google.protobuf.Message> ParquetWriterFactory<T> forType(Class<T> type) Creates aParquetWriterFactoryfor the given type. The type should represent a Protobuf message.- Parameters:
type- The class of the type to write.
-