| Package | Description |
|---|---|
| org.apache.flink.formats.protobuf | |
| org.apache.flink.formats.protobuf.deserialize | |
| org.apache.flink.formats.protobuf.serialize |
| Modifier and Type | Method and Description |
|---|---|
static String |
PbCodegenUtils.generateArrElementCodeWithDefaultValue(String arrDataVar,
String iVar,
String pbVar,
String dataVar,
com.google.protobuf.Descriptors.FieldDescriptor elementFd,
org.apache.flink.table.types.logical.LogicalType elementType) |
static String |
PbCodegenUtils.getDefaultPbValue(com.google.protobuf.Descriptors.FieldDescriptor fieldDescriptor) |
static String |
PbCodegenUtils.getTypeStrFromProto(com.google.protobuf.Descriptors.FieldDescriptor fd,
boolean isRepeated) |
| Modifier and Type | Method and Description |
|---|---|
String |
PbCodegenDeserializer.codegen(String returnVarName,
String messageGetStr) |
String |
PbCodegenMapDeserializer.codegen(String returnVarName,
String messageGetStr) |
String |
PbCodegenArrayDeserializer.codegen(String returnVarName,
String messageGetStr) |
String |
PbCodegenRowDeserializer.codegen(String returnVarName,
String messageGetStr) |
static PbCodegenDeserializer |
PbCodegenDeserializeFactory.getPbCodegenDes(com.google.protobuf.Descriptors.FieldDescriptor fd,
org.apache.flink.table.types.logical.LogicalType type,
boolean readDefaultValues) |
| Constructor and Description |
|---|
ProtoToRowConverter(String messageClassName,
org.apache.flink.table.types.logical.RowType rowType,
boolean readDefaultValues) |
| Modifier and Type | Method and Description |
|---|---|
String |
PbCodegenMapSerializer.codegen(String returnVarName,
String rowFieldGetStr) |
String |
PbCodegenSerializer.codegen(String returnVarName,
String rowFieldGetStr) |
String |
PbCodegenRowSerializer.codegen(String returnVarName,
String rowFieldGetStr) |
String |
PbCodegenArraySerializer.codegen(String returnVarName,
String rowFieldGetter) |
static PbCodegenSerializer |
PbCodegenSerializeFactory.getPbCodegenSer(com.google.protobuf.Descriptors.FieldDescriptor fd,
org.apache.flink.table.types.logical.LogicalType type) |
| Constructor and Description |
|---|
RowToProtoConverter(String messageClassName,
org.apache.flink.table.types.logical.RowType rowType) |
Copyright © 2019–2021 The Apache Software Foundation. All rights reserved.