| Constructor and Description |
|---|
AutoProduceBytesSchema() |
AutoProduceBytesSchema(Schema<T> schema) |
| Modifier and Type | Method and Description |
|---|---|
Schema<byte[]> |
clone() |
byte[] |
decode(byte[] bytes,
byte[] schemaVersion) |
byte[] |
encode(byte[] message) |
SchemaInfo |
getSchemaInfo() |
boolean |
schemaInitialized() |
void |
setSchema(Schema<T> schema) |
void |
validate(byte[] message) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitAUTO_CONSUME, AUTO_PRODUCE_BYTES, AUTO_PRODUCE_BYTES, AUTO, AVRO, AVRO, configureSchemaInfo, decode, generic, getSchema, JSON, JSON, KeyValue, KeyValue, KeyValue, KeyValue, KV_BYTES, PROTOBUF, PROTOBUF, requireFetchingSchemaInfo, setSchemaInfoProvider, supportSchemaVersioningpublic boolean schemaInitialized()
public byte[] decode(byte[] bytes,
byte[] schemaVersion)
public SchemaInfo getSchemaInfo()
getSchemaInfo in interface Schema<byte[]>Copyright © 2017–2020 Apache Software Foundation. All rights reserved.