public static enum QueryMessage.Flag extends java.lang.Enum<QueryMessage.Flag>
Enum Constant and Description |
---|
PAGE_SIZE |
PAGING_STATE |
SKIP_METADATA |
VALUES |
Modifier and Type | Method and Description |
---|---|
static java.util.EnumSet<QueryMessage.Flag> |
deserialize(int flags) |
static int |
serialize(java.util.EnumSet<QueryMessage.Flag> flags) |
static QueryMessage.Flag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QueryMessage.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryMessage.Flag PAGE_SIZE
public static final QueryMessage.Flag VALUES
public static final QueryMessage.Flag SKIP_METADATA
public static final QueryMessage.Flag PAGING_STATE
public static QueryMessage.Flag[] values()
for (QueryMessage.Flag c : QueryMessage.Flag.values()) System.out.println(c);
public static QueryMessage.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<QueryMessage.Flag> deserialize(int flags)
public static int serialize(java.util.EnumSet<QueryMessage.Flag> flags)
Copyright © 2013 The Apache Software Foundation