public static enum Schema.Type extends Enum<Schema.Type>
| Enum Constant and Description |
|---|
Avro |
Bool |
Date |
Double |
Float |
Instant |
Int16 |
Int32 |
Int64 |
Int8 |
Json |
KeyValue |
LocalDate |
LocalDateTime |
LocalTime |
None |
Protobuf |
ProtobufNative |
String |
Time |
Timestamp |
| Modifier and Type | Field and Description |
|---|---|
static int |
Avro_VALUE |
static int |
Bool_VALUE |
static int |
Date_VALUE |
static int |
Double_VALUE |
static int |
Float_VALUE |
static int |
Instant_VALUE |
static int |
Int16_VALUE |
static int |
Int32_VALUE |
static int |
Int64_VALUE |
static int |
Int8_VALUE |
static int |
Json_VALUE |
static int |
KeyValue_VALUE |
static int |
LocalDate_VALUE |
static int |
LocalDateTime_VALUE |
static int |
LocalTime_VALUE |
static int |
None_VALUE |
static int |
Protobuf_VALUE |
static int |
ProtobufNative_VALUE |
static int |
String_VALUE |
static int |
Time_VALUE |
static int |
Timestamp_VALUE |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static Schema.Type |
valueOf(int n) |
static Schema.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Schema.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Schema.Type None
public static final Schema.Type String
public static final Schema.Type Json
public static final Schema.Type Protobuf
public static final Schema.Type Avro
public static final Schema.Type Bool
public static final Schema.Type Int8
public static final Schema.Type Int16
public static final Schema.Type Int32
public static final Schema.Type Int64
public static final Schema.Type Float
public static final Schema.Type Double
public static final Schema.Type Date
public static final Schema.Type Time
public static final Schema.Type Timestamp
public static final Schema.Type KeyValue
public static final Schema.Type Instant
public static final Schema.Type LocalDate
public static final Schema.Type LocalTime
public static final Schema.Type LocalDateTime
public static final Schema.Type ProtobufNative
public static final int None_VALUE
public static final int String_VALUE
public static final int Json_VALUE
public static final int Protobuf_VALUE
public static final int Avro_VALUE
public static final int Bool_VALUE
public static final int Int8_VALUE
public static final int Int16_VALUE
public static final int Int32_VALUE
public static final int Int64_VALUE
public static final int Float_VALUE
public static final int Double_VALUE
public static final int Date_VALUE
public static final int Time_VALUE
public static final int Timestamp_VALUE
public static final int KeyValue_VALUE
public static final int Instant_VALUE
public static final int LocalDate_VALUE
public static final int LocalTime_VALUE
public static final int LocalDateTime_VALUE
public static final int ProtobufNative_VALUE
public static Schema.Type[] values()
for (Schema.Type c : Schema.Type.values()) System.out.println(c);
public static Schema.Type 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 nullpublic int getValue()
public static Schema.Type valueOf(int n)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.