public static enum ResultSet.Flag extends java.lang.Enum<ResultSet.Flag>
Enum Constant and Description |
---|
GLOBAL_TABLES_SPEC |
HAS_MORE_PAGES |
NO_METADATA |
Modifier and Type | Method and Description |
---|---|
static java.util.EnumSet<ResultSet.Flag> |
deserialize(int flags) |
static int |
serialize(java.util.EnumSet<ResultSet.Flag> flags) |
static ResultSet.Flag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResultSet.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultSet.Flag GLOBAL_TABLES_SPEC
public static final ResultSet.Flag HAS_MORE_PAGES
public static final ResultSet.Flag NO_METADATA
public static ResultSet.Flag[] values()
for (ResultSet.Flag c : ResultSet.Flag.values()) System.out.println(c);
public static ResultSet.Flag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.util.EnumSet<ResultSet.Flag> deserialize(int flags)
public static int serialize(java.util.EnumSet<ResultSet.Flag> flags)
Copyright © 2020 The Apache Software Foundation