public enum SchemaType extends Enum<SchemaType>
| Enum Constant and Description |
|---|
AUTO
Deprecated.
|
AUTO_CONSUME
Auto Consume Type.
|
AUTO_PUBLISH
Auto Publish Type.
|
AVRO
Serialize and deserialize via avro
|
BYTES
A bytes array.
|
DOUBLE
A double number
|
FLOAT
A float number.
|
INT16
A 16-byte integer.
|
INT32
A 32-byte integer.
|
INT64
A 64-byte integer.
|
INT8
A 8-byte integer.
|
JSON
JSON object encoding and validation
|
NONE
No schema defined
|
PROTOBUF
Protobuf message encoding and decoding
|
STRING
Simple String encoding with UTF-8
|
| Modifier and Type | Method and Description |
|---|---|
static SchemaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaType NONE
public static final SchemaType STRING
public static final SchemaType INT8
public static final SchemaType INT16
public static final SchemaType INT32
public static final SchemaType INT64
public static final SchemaType FLOAT
public static final SchemaType DOUBLE
public static final SchemaType BYTES
public static final SchemaType JSON
public static final SchemaType PROTOBUF
public static final SchemaType AVRO
@Deprecated public static final SchemaType AUTO
public static final SchemaType AUTO_CONSUME
public static final SchemaType AUTO_PUBLISH
public static SchemaType[] values()
for (SchemaType c : SchemaType.values()) System.out.println(c);
public static SchemaType 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 © 2017–2018 Apache Software Foundation. All rights reserved.