public class ProtobufSchema<T extends com.google.protobuf.GeneratedMessageV3> extends AvroBaseStructSchema<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
ProtobufSchema.ProtoBufParsingInfo |
| Modifier and Type | Field and Description |
|---|---|
static String |
PARSING_INFO_PROPERTY |
schemaLOG, reader, schemaInfo, schemaInfoProvider, writerBOOL, BYTEBUFFER, BYTES, DATE, DOUBLE, FLOAT, INSTANT, INT16, INT32, INT64, INT8, LOCAL_DATE, LOCAL_DATE_TIME, LOCAL_TIME, STRING, TIME, TIMESTAMP| Modifier and Type | Method and Description |
|---|---|
static <T extends com.google.protobuf.GeneratedMessageV3> |
of(Class<T> pojo) |
static <T extends com.google.protobuf.GeneratedMessageV3> |
of(Class pojo,
Map<String,String> properties) |
static <T> ProtobufSchema |
of(SchemaDefinition<T> schemaDefinition) |
static <T> ProtobufSchema |
ofGenericClass(Class<T> pojo,
Map<String,String> properties) |
getAvroSchemadecode, decode, decode, decode, encode, getReader, getSchemaInfo, setReader, setSchemaInfoProvider, setWritercloneequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitAUTO_CONSUME, AUTO_PRODUCE_BYTES, AUTO_PRODUCE_BYTES, AUTO, AVRO, AVRO, configureSchemaInfo, generic, getSchema, JSON, JSON, KeyValue, KeyValue, KeyValue, KeyValue, KV_BYTES, PROTOBUF_NATIVE, PROTOBUF_NATIVE, PROTOBUF, PROTOBUF, requireFetchingSchemaInfo, supportSchemaVersioning, validatepublic static final String PARSING_INFO_PROPERTY
public static <T extends com.google.protobuf.GeneratedMessageV3> ProtobufSchema<T> of(Class<T> pojo)
public static <T> ProtobufSchema ofGenericClass(Class<T> pojo, Map<String,String> properties)
public static <T> ProtobufSchema of(SchemaDefinition<T> schemaDefinition)
public static <T extends com.google.protobuf.GeneratedMessageV3> ProtobufSchema<T> of(Class pojo, Map<String,String> properties)
Copyright © 2017–2020 Apache Software Foundation. All rights reserved.