public class ProtobufNativeSchemaDataValidator extends Object implements SchemaDataValidator
| Modifier and Type | Method and Description |
|---|---|
static ProtobufNativeSchemaDataValidator |
of() |
void |
validate(org.apache.pulsar.common.protocol.schema.SchemaData schemaData)
Validate a schema data is in a valid form.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateSchemaDatapublic void validate(org.apache.pulsar.common.protocol.schema.SchemaData schemaData)
throws InvalidSchemaDataException
SchemaDataValidatorvalidate in interface SchemaDataValidatorschemaData - schema data to validateInvalidSchemaDataException - if the schema data is not in a valid form.public static ProtobufNativeSchemaDataValidator of()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.