public enum MetadataVersion extends Enum<MetadataVersion>
Modifier and Type | Field and Description |
---|---|
static MetadataVersion |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
static MetadataVersion |
fromFlatbufID(short id) |
short |
toFlatbufID() |
static MetadataVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetadataVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetadataVersion V1
public static final MetadataVersion V2
public static final MetadataVersion V3
public static final MetadataVersion V4
public static final MetadataVersion V5
public static final MetadataVersion DEFAULT
public static MetadataVersion[] values()
for (MetadataVersion c : MetadataVersion.values()) System.out.println(c);
public static MetadataVersion 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 short toFlatbufID()
public static MetadataVersion fromFlatbufID(short id)
Copyright © 2022 The Apache Software Foundation. All rights reserved.