Class ParquetProtoWriters
- java.lang.Object
-
- org.apache.flink.formats.parquet.protobuf.ParquetProtoWriters
-
public class ParquetProtoWriters extends Object
Convenience builder for creatingParquetWriterFactoryinstances for Protobuf classes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classParquetProtoWriters.ParquetProtoWriterBuilder<T extends com.google.protobuf.Message>The builder for ProtobufParquetWriter.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends com.google.protobuf.Message>
ParquetWriterFactory<T>forType(Class<T> type)Creates aParquetWriterFactoryfor the given type.
-
-
-
Method Detail
-
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.
-
-