Class PbConstant
- java.lang.Object
-
- org.apache.flink.formats.protobuf.PbConstant
-
public class PbConstant extends Object
Keeps protobuf constants separately.
-
-
Field Summary
Fields Modifier and Type Field Description static int
CODEGEN_SPLIT_THRESHOLD
JIT optimizer threshold is 8K, unicode encode one char use 1byte, so use 4K as codegen_spilt_threshold,A conservative threshold is selected to prevent multiple element code segments in RowType from being combined to exceed 8K.static String
GENERATED_DECODE_METHOD
static String
GENERATED_ENCODE_METHOD
static String
PB_MAP_KEY_NAME
static String
PB_MAP_VALUE_NAME
static String
PB_METHOD_GET_DESCRIPTOR
static String
PB_METHOD_PARSE_FROM
static String
PB_OUTER_CLASS_SUFFIX
-
Constructor Summary
Constructors Constructor Description PbConstant()
-
-
-
Field Detail
-
PB_METHOD_GET_DESCRIPTOR
public static final String PB_METHOD_GET_DESCRIPTOR
- See Also:
- Constant Field Values
-
PB_METHOD_PARSE_FROM
public static final String PB_METHOD_PARSE_FROM
- See Also:
- Constant Field Values
-
GENERATED_DECODE_METHOD
public static final String GENERATED_DECODE_METHOD
- See Also:
- Constant Field Values
-
GENERATED_ENCODE_METHOD
public static final String GENERATED_ENCODE_METHOD
- See Also:
- Constant Field Values
-
PB_MAP_KEY_NAME
public static final String PB_MAP_KEY_NAME
- See Also:
- Constant Field Values
-
PB_MAP_VALUE_NAME
public static final String PB_MAP_VALUE_NAME
- See Also:
- Constant Field Values
-
PB_OUTER_CLASS_SUFFIX
public static final String PB_OUTER_CLASS_SUFFIX
- See Also:
- Constant Field Values
-
CODEGEN_SPLIT_THRESHOLD
public static final int CODEGEN_SPLIT_THRESHOLD
JIT optimizer threshold is 8K, unicode encode one char use 1byte, so use 4K as codegen_spilt_threshold,A conservative threshold is selected to prevent multiple element code segments in RowType from being combined to exceed 8K.- See Also:
- Constant Field Values
-
-