public enum SchemaDescriptorType extends Enum<SchemaDescriptorType>
SchemaDescriptorType defines types of Schema supported by the Schema registry| Enum Constant and Description |
|---|
AVRO |
COPYBOOK |
PROTOBUF_BINARY |
PROTOBUF_DESC |
| Modifier and Type | Method and Description |
|---|---|
static SchemaDescriptorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaDescriptorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaDescriptorType AVRO
public static final SchemaDescriptorType PROTOBUF_DESC
public static final SchemaDescriptorType PROTOBUF_BINARY
public static final SchemaDescriptorType COPYBOOK
public static SchemaDescriptorType[] values()
for (SchemaDescriptorType c : SchemaDescriptorType.values()) System.out.println(c);
public static SchemaDescriptorType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2023 CDAP Licensed under the Apache License, Version 2.0.