public final class SchemaRegistryClient extends Object
Modifier and Type | Method and Description |
---|---|
SchemaProperties |
getSchema(String schemaId)
Gets the schema properties of the schema associated with the unique schemaId.
|
String |
getSchemaId(String schemaGroup,
String schemaName,
String schemaString,
SerializationType serializationType)
Gets the schema identifier associated with the given schema.
|
com.azure.core.http.rest.Response<String> |
getSchemaIdWithResponse(String schemaGroup,
String schemaName,
String schemaString,
SerializationType serializationType,
com.azure.core.util.Context context)
Gets the schema identifier associated with the given schema.
|
com.azure.core.http.rest.Response<SchemaProperties> |
getSchemaWithResponse(String schemaId,
com.azure.core.util.Context context)
Gets the schema properties of the schema associated with the unique schemaId.
|
SchemaProperties |
registerSchema(String schemaGroup,
String schemaName,
String schemaString,
SerializationType serializationType)
Registers a new schema in the specified schema group with the given schema name.
|
com.azure.core.http.rest.Response<SchemaProperties> |
registerSchemaWithResponse(String schemaGroup,
String schemaName,
String schemaString,
SerializationType serializationType,
com.azure.core.util.Context context)
Registers a new schema in the specified schema group with the given schema name.
|
public SchemaProperties registerSchema(String schemaGroup, String schemaName, String schemaString, SerializationType serializationType)
schemaGroup
- The schema group.schemaName
- The schema name.schemaString
- The string representation of the schema.serializationType
- The serialization type of this schema.public com.azure.core.http.rest.Response<SchemaProperties> registerSchemaWithResponse(String schemaGroup, String schemaName, String schemaString, SerializationType serializationType, com.azure.core.util.Context context)
schemaGroup
- The schema group.schemaName
- The schema name.schemaString
- The string representation of the schema.serializationType
- The serialization type of this schema.context
- The context to pass to the Http pipeline.public SchemaProperties getSchema(String schemaId)
schemaId
- The unique identifier of the schema.SchemaProperties
associated with the given schemaId
.public com.azure.core.http.rest.Response<SchemaProperties> getSchemaWithResponse(String schemaId, com.azure.core.util.Context context)
schemaId
- The unique identifier of the schema.context
- The context to pass to the Http pipeline.SchemaProperties
associated with the given schemaId
along with the HTTP
response.public String getSchemaId(String schemaGroup, String schemaName, String schemaString, SerializationType serializationType)
schemaGroup
- The schema group.schemaName
- The schema name.schemaString
- The string representation of the schema.serializationType
- The serialization type of this schema.public com.azure.core.http.rest.Response<String> getSchemaIdWithResponse(String schemaGroup, String schemaName, String schemaString, SerializationType serializationType, com.azure.core.util.Context context)
schemaGroup
- The schema group.schemaName
- The schema name.schemaString
- The string representation of the schema.serializationType
- The serialization type of this schema.context
- The context to pass to the Http pipeline.Copyright © 2020 Microsoft Corporation. All rights reserved.