public enum ProtocolExtendedTypeCodes extends Enum<ProtocolExtendedTypeCodes>
| Modifier and Type | Method and Description |
|---|---|
static ProtocolExtendedTypeCodes |
fromCode(int code) |
int |
getCode() |
static ProtocolExtendedTypeCodes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolExtendedTypeCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolExtendedTypeCodes NONE
public static final ProtocolExtendedTypeCodes BSON
public static final ProtocolExtendedTypeCodes VECTOR
public static ProtocolExtendedTypeCodes[] values()
for (ProtocolExtendedTypeCodes c : ProtocolExtendedTypeCodes.values()) System.out.println(c);
public static ProtocolExtendedTypeCodes 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 getCode()
public static ProtocolExtendedTypeCodes fromCode(int code)
Copyright © 2025 SingleStore. All rights reserved.