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