public class ProtobufNativeSchema<T extends com.google.protobuf.GeneratedMessageV3> extends AbstractStructSchema<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
ProtobufNativeSchema.ProtoBufParsingInfo |
| Modifier and Type | Field and Description |
|---|---|
static String |
PARSING_INFO_PROPERTY |
LOG, 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 |
|---|---|
com.google.protobuf.Descriptors.Descriptor |
getProtobufNativeSchema() |
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> ProtobufNativeSchema |
of(SchemaDefinition<T> schemaDefinition) |
static <T> ProtobufNativeSchema |
ofGenericClass(Class<T> pojo,
Map<String,String> properties) |
decode, 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 com.google.protobuf.Descriptors.Descriptor getProtobufNativeSchema()
public static <T extends com.google.protobuf.GeneratedMessageV3> ProtobufNativeSchema<T> of(Class<T> pojo)
public static <T> ProtobufNativeSchema ofGenericClass(Class<T> pojo, Map<String,String> properties)
public static <T> ProtobufNativeSchema of(SchemaDefinition<T> schemaDefinition)
public static <T extends com.google.protobuf.GeneratedMessageV3> ProtobufNativeSchema<T> of(Class pojo, Map<String,String> properties)
Copyright © 2017–2020 Apache Software Foundation. All rights reserved.