public enum SqlExpectedResultType extends Enum<SqlExpectedResultType>
Enum Constant and Description |
---|
ANY
The statement may produce either rows or an update count.
|
ROWS
The statement must produce rows.
|
UPDATE_COUNT
The statement must produce an update count.
|
Modifier and Type | Method and Description |
---|---|
static SqlExpectedResultType |
fromId(byte id) |
byte |
getId() |
static SqlExpectedResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlExpectedResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlExpectedResultType ANY
public static final SqlExpectedResultType ROWS
public static final SqlExpectedResultType UPDATE_COUNT
public static SqlExpectedResultType[] values()
for (SqlExpectedResultType c : SqlExpectedResultType.values()) System.out.println(c);
public static SqlExpectedResultType 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 byte getId()
public static SqlExpectedResultType fromId(byte id)
Copyright © 2023 Hazelcast, Inc.. All rights reserved.