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