public final class SchemaProperties extends Object
SchemaRegistryClient
/SchemaRegistryAsyncClient
layer.Constructor and Description |
---|
SchemaProperties(String schemaId,
SerializationType serializationType,
String schemaName,
byte[] schemaByteArray)
Initializes SchemaRegistryObject instance.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getSchema()
Schema bytes returned from Schema Registry.
|
String |
getSchemaId()
Returns the unique identifier for this schema.
|
String |
getSchemaName()
The name of the schema.
|
SerializationType |
getSerializationType()
The serialization type of this schema.
|
public SchemaProperties(String schemaId, SerializationType serializationType, String schemaName, byte[] schemaByteArray)
schemaId
- the schema idserializationType
- type of schema, e.g. avro, jsonschemaName
- name of the schema.schemaByteArray
- byte payload representing schema, returned from Azure Schema Registrypublic String getSchemaId()
public SerializationType getSerializationType()
public String getSchemaName()
public byte[] getSchema()
Copyright © 2021 Microsoft Corporation. All rights reserved.