public interface GenericObject
| Modifier and Type | Method and Description |
|---|---|
Object |
getNativeObject()
Return the internal native representation of the Object,
like a AVRO GenericRecord, a String or a byte[].
|
SchemaType |
getSchemaType()
Return the schema tyoe.
|
SchemaType getSchemaType()
UnsupportedOperationException - if this feature is not implementedwhen the topic has no schema information,
SchemaType.STRING,
SchemaType.AVRO,
SchemaType.PROTOBUF_NATIVE,
SchemaType.JSONObject getNativeObject()
UnsupportedOperationException - if the operation is not supportedCopyright © 2017–2021 Apache Software Foundation. All rights reserved.